@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap");

:root {
  --gold: #28a745;
  --dark-bg: #0b0e14;
  --card-bg: #161b22;
  --white: #ffffff;
  --gray-text: #a0a0a0;
  --green-success: #2ecc71;
  --red-danger: #e74c3c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--dark-bg);
  color: var(--white);
  line-height: 1.6;
}

/* ===== NAVBAR ANIMATIONS ===== */
/* NAVBAR */
nav {
  background: var(--card-bg);
  padding: 1.2rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 28px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 3px;
}

.logo span {
  color: var(--gold);
}
/* Container untuk mengatur posisi sejajar */
.logo-container {
  display: flex;
  align-items: center;
}

.main-logo {
  height: 60px; /* Sesuaikan ukuran */
  width: 60px; /* Harus sama dengan height agar bulat sempurna */
  object-fit: cover; /* Menjaga gambar tidak gepeng saat dipaksa jadi kotak/bulat */
  border-radius: 50%; /* Ini yang membuat jadi bulat */
  margin-right: 15px;
  border: 2px solid #ffffff; /* Border logo diubah jadi putih */
  animation: float 3s ease-in-out infinite;
}

/* Gaya untuk Teks JBTBCASTING */
.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 1px;
  font-family:
    "Arial Black", sans-serif; /* Agar terlihat tegas seperti di gambar */
}

.gold-text {
  color: var(--gold); /* Warna hijau untuk CASTING */
}

/* Responsive: Kecilkan sedikit di HP */
@media (max-width: 600px) {
  .logo-text {
    font-size: 18px;
  }
  .main-logo {
    height: 40px;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.admin-link {
  color: var(--gold) !important;
  transition: 0.3s;
}

.talent-auth-link {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  min-width: 104px;
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  color: #ffffff !important;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.talent-auth-link:hover {
  background: #ffffff;
  color: var(--dark-bg) !important;
}

.talent-auth-link:active {
  color: var(--gold) !important;
}

.logout-link {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  min-width: 104px;
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  color: var(--red-danger) !important;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.logout-link:hover {
  background: var(--red-danger);
  color: #ffffff !important;
}

.logout-link:active {
  color: var(--gold) !important;
}

.language-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 68px;
  height: 34px;
  padding: 3px;
  border: 1px solid rgba(212, 175, 55, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.language-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 29px;
  height: 26px;
  border-radius: 999px;
  background: var(--gold);
  transition: transform 0.2s ease;
  z-index: 0;
}

.language-toggle.is-en::before {
  transform: translateX(32px);
}

.language-toggle span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  width: 29px;
  color: rgba(255, 255, 255, 0.72);
}

.language-toggle:not(.is-en) .lang-id,
.language-toggle.is-en .lang-en {
  color: #111;
}

.auth-language-row {
  display: flex;
  justify-content: flex-end;
  margin: -10px 0 18px;
}

/* HERO SECTION */
header {
  height: 80vh;
  position: relative;
  background: url("https://images.unsplash.com/photo-1478720568477-152d9b164e26?auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero-tag {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease-out 0.2s both;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 800;
  animation: fadeInDown 0.8s ease-out 0.4s both;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--gray-text);
  margin-bottom: 40px;
  max-width: 650px;
}

.btn-main {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 18px 45px;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.btn-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(40, 167, 69, 0.4);
  animation: none;
}

..btn-main:active {
  transform: translateY(-2px);
}

/* Layout Flexbox Utama untuk Hero */
.hero-container-flex {
  display: flex;
  align-items: center;
  justify-content: center; /* Membuat konten di tengah */
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px;
  gap: 50px; /* Jarak antara teks dan foto */
}

/* Sisi Kiri: Area Teks */
#home .hero-content {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

#home .hero-content h1 {
  font-size: 2.2rem; /* Diperkecil dari 2.8rem agar muat dalam 2 baris */
  line-height: 1.3;
  margin-bottom: 20px;
  white-space: nowrap; /* Mengunci teks per baris agar tidak patah ke bawah lagi */
}

/* Sisi Kanan: Wadah Slider Foto (Ukuran 3 Foto: Tengah Besar, Kiri Kanan Kecil) */
.hero-slider-container {
  position: relative;
  width: 500px; /* Diperlebar untuk menampung 3 foto */
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible; /* Biarkan foto samping terlihat sedikit keluar jika perlu */
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Efek Transisi Slide */
.hero-slider .slide {
  position: absolute;
  width: 240px;
  height: 320px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.5) translateX(0);
  z-index: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Slide Tengah (Besar) */
.hero-slider .slide.active {
  opacity: 1;
  transform: scale(1.2);
  z-index: 10;
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
  border: 2px solid var(--gold);
}

/* Slide Kiri (Kecil) */
.hero-slider .slide.prev {
  opacity: 0.6;
  transform: translateX(-160px) scale(0.85);
  z-index: 5;
}

/* Slide Kanan (Kecil) */
.hero-slider .slide.next {
  opacity: 0.6;
  transform: translateX(160px) scale(0.85);
  z-index: 5;
}

/* Memaksa semua foto ukurannya sama rata tanpa merusak rasio */
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Tombol Navigasi Manual (Panah Kiri & Kanan) */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 1px solid var(--gold);
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 20;
}

.slider-btn:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: -20px;
}
.next-btn {
  right: -20px;
}

/* Responsive: Responsif saat dibuka di Handphone */
@media (max-width: 768px) {
  .hero-container-flex {
    flex-direction: column;
    padding: 80px 20px 40px 20px;
    gap: 50px;
    text-align: center;
  }
  #home .hero-content {
    text-align: center;
    max-width: 100%;
  }
  #home .hero-content h1 {
    font-size: 2rem;
    white-space: normal;
  }
  .hero-slider-container {
    width: 100%;
    max-width: 350px;
    height: 350px;
  }
  .hero-slider .slide {
    width: 180px;
    height: 240px;
  }
  .hero-slider .slide.prev {
    transform: translateX(-100px) scale(0.8);
  }
  .hero-slider .slide.next {
    transform: translateX(100px) scale(0.8);
  }
  .prev-btn {
    left: 0;
  }
  .next-btn {
    right: 0;
  }
}

/* ABOUT / HISTORY */
#about {
  padding: 100px 8%;
  background: #0f1218;
}

/* Layout Utama 3 Kolom untuk Section About */
.about-three-columns {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0;
}

/* ================== KOLOM 1: FOTO OWNER ================== */
.about-column-owner {
  flex: 1;
  max-width: 280px; /* Batasi lebar area foto owner */
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.1); /* Bingkai tipis warna emas */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.owner-image-wrapper {
  width: 100%;
  height: 320px; /* Menentukan tinggi area foto */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.owner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Memastikan foto tidak lonjong/gepeng */
  object-position: center top; /* Fokus potongan gambar pada area wajah */
}

.owner-name-tag h4 {
  font-size: 1.3rem;
  color: #ffffff;
  margin: 5px 0 2px 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.owner-name-tag p {
  font-size: 0.85rem;
  color: #d4af37; /* Warna khas emas JBTB */
  margin: 0;
}

/* ================== KOLOM 2: TEKS SEJARAH ================== */
.about-column-text {
  flex: 2; /* Kolom tengah mendapat ruang lebih lebar */
  text-align: left;
}

.about-column-text .sub-title {
  color: #d4af37;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 5px;
}

.about-column-text h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.gold-line-left {
  width: 60px;
  height: 3px;
  background: #d4af37;
  margin-bottom: 20px;
}

.about-column-text p {
  color: #cccccc;
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.about-features-list {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.9rem;
}

.feature-item i {
  color: #d4af37;
}

/* ================== KOLOM 3: KOTAK STATISTIK MINI ================== */
.about-column-stats {
  flex: 1;
  max-width: 240px; /* Batasi lebar area statistik kanan */
  display: flex;
  flex-direction: column;
  gap: 15px; /* Jarak antar kotak */
}

/* Desain kotak yang diperkecil */
.mini-stat-box {
  background: #111111;
  border: 1px solid #222222;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.mini-stat-box:hover {
  transform: translateY(-3px);
}

.mini-stat-box h3 {
  font-size: 1.6rem; /* Diperkecil dari ukuran lama */
  color: #ffffff;
  margin: 0 0 4px 0;
}

.mini-stat-box p {
  font-size: 0.75rem; /* Teks deskripsi lebih compact */
  color: #aaaaaa;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Varian kotak warna emas */
.mini-stat-box.gold-version {
  background: #d4af37;
  border-color: #d4af37;
}

.mini-stat-box.gold-version h3,
.mini-stat-box.gold-version p {
  color: #000000;
  font-weight: bold;
}

/* ================== RESPONSIVE LAYOUT (UNTUK HP) ================== */
@media (max-width: 992px) {
  .about-three-columns {
    flex-direction: column; /* Berubah susun ke bawah jika layar kekecilan */
    align-items: center;
  }

  .about-column-owner,
  .about-column-text,
  .about-column-stats {
    max-width: 100%;
    width: 100%;
  }

  .about-column-owner {
    max-width: 320px; /* Di HP foto owner berada di paling atas tengah */
    margin-bottom: 20px;
  }

  .about-column-stats {
    flex-direction: row; /* Di HP kotak statistik berjejer ke samping */
    justify-content: space-between;
  }

  .mini-stat-box {
    flex: 1;
    padding: 12px 5px;
  }
}

@media (max-width: 480px) {
  .about-column-stats {
    flex-direction: column; /* Di HP layar sangat kecil kembali menyusun ke bawah */
  }
}

/* JOBS SECTION */
#jobs {
  padding: 100px 8%;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out;
}

.section-heading-center h2 {
  font-size: 2.5rem;
}

.gold-line {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 15px auto;
  animation: slideUpRotate 0.8s ease-out;
}

.job-grid-system {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.job-card-item {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 25px;
  position: relative;
  border-top: 5px solid var(--gold);
  transition: 0.3s;
  animation: scaleIn 0.6s ease-out;
}

.job-card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(40, 167, 69, 0.15);
}

.job-badge-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(40, 167, 69, 0.1);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid var(--gold);
}

.job-fee-info {
  color: var(--green-success);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 20px 0;
}

.job-requirement-list {
  list-style: none;
  color: var(--gray-text);
  margin-bottom: 30px;
}

.job-requirement-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.btn-card-apply {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s;
}

.btn-card-apply:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.btn-card-apply:active {
  transform: scale(0.98);
}

/* ADMIN DASHBOARD */
.admin-navbar {
  background: var(--card-bg);
  padding: 1rem 8%;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.btn-logout-admin {
  background: var(--red-danger);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.btn-mass-action {
  border: none;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-mass-accept {
  background: #2ecc71;
}

.btn-mass-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-mass-reject {
  background: #f39c12;
}

.btn-mass-reject:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.btn-mass-delete {
  background: var(--red-danger);
}

.btn-mass-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.admin-main-wrapper {
  padding: 50px 8%;
}

.admin-content-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 25px;
  margin-bottom: 40px;
  border: 1px solid #333;
  animation: slideInLeft 0.8s ease-out;
}

.card-title-header h3 {
  color: var(--gold);
  margin-bottom: 30px;
  font-size: 1.4rem;
}

/* ADMIN FORM */
.vertical-admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-item label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.form-group-item input,
.form-group-item textarea {
  background: var(--dark-bg);
  border: 1px solid #333;
  padding: 15px;
  color: #fff;
  border-radius: 10px;
  transition: 0.3s;
}

.form-group-item input:focus,
.form-group-item textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(40, 167, 69, 0.2);
  transform: scale(1.02);
}

.btn-submit-loker-green {
  background: var(--green-success);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
  transition: 0.3s;
}

.btn-submit-loker-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.btn-submit-loker-green:active {
  transform: translateY(0);
}

/* ADMIN - LOWONGAN AKTIF (Sesuai Screenshot Kotak Hitam) */
.admin-job-grid-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.admin-loker-card {
  background: #0b0e14;
  padding: 20px 30px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--gold);
  transition: 0.3s;
  animation: slideInLeft 0.6s ease-out;
}

.admin-loker-card:hover {
  background: #1a1f28;
  transform: translateX(10px);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.1);
}

.loker-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.loker-text strong {
  font-size: 1.1rem;
  color: #ffffff;
}

.loker-rate-text {
  font-size: 0.9rem;
  color: #a0a0a0;
}

.btn-loker-delete {
  background: #e74c3c;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-loker-delete:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn-loker-delete:active {
  transform: scale(0.95);
}

/* TABLE ADMIN (Daftar Pelamar) */
.admin-table-overflow {
  overflow-x: auto;
  margin-top: 20px;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-data-table th {
  text-align: left;
  padding: 15px;
  border-bottom: 2px solid #333;
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.admin-data-table td {
  padding: 15px;
  border-bottom: 1px solid #222;
  font-size: 0.85rem;
}

.admin-data-table tbody tr {
  transition: 0.3s;
}

.admin-data-table tbody tr:hover {
  background: rgba(40, 167, 69, 0.1);
  transform: scale(1.01);
}

.action-cell {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.action-cell button {
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-action-check {
  background: #2ecc71;
}
.btn-action-reject {
  background: #f39c12;
}
.btn-action-delete {
  background: #e74c3c;
}

.admin-filter-select {
  background: var(--dark-bg);
  border: 1px solid #333;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  outline: none;
}

.admin-filter-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.2);
}

.btn-back-home {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-back-home:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.contact-cell {
  display: flex;
  gap: 15px;
  font-size: 1.3rem;
}

.contact-cell a {
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-cell .link-email {
  color: #3498db;
}

.contact-cell .link-wa {
  color: #2ecc71;
}

.contact-cell a[title="Lihat Foto"] {
  color: #f1c40f;
}

.contact-cell a[title="Lihat Porto"] {
  color: #e67e22;
}

.contact-cell a:hover {
  transform: scale(1.3);
  filter: brightness(1.2);
}

.stat-Rejected {
  background: #e74c3c;
  color: #fff;
}

/* CONTACT US SECTION (Center) */
#contact {
  padding: 80px 8%;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

.contact-card-main h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  animation: fadeInDown 0.8s ease-out;
}

.contact-card-main p {
  color: var(--gray-text);
  margin-bottom: 40px;
}

.contact-links-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-links-grid a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s;
  animation: scaleIn 0.6s ease-out;
  display: flex;
  align-items: center;
}

.contact-links-grid a i {
  color: var(--gold);
  margin-right: 10px;
  font-size: 1.3rem;
  animation: bounce 2s ease-in-out infinite;
}

.contact-links-grid a:hover {
  color: var(--gold);
  transform: scale(1.1);
}

/* NOTIFICATION BELL */
.nav-notif-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-notif-bell {
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.1);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 15px rgba(40, 167, 69, 0.1);
}

.nav-notif-bell:hover {
  background: rgba(40, 167, 69, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.2);
}

/* Ringing Animation for unread notifs */
@keyframes bell-ring {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  30% {
    transform: rotate(10deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(5deg);
  }
  60% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0);
  }
}

.nav-notif-bell.has-unread i {
  animation: bell-ring 2s ease infinite;
  color: #ffffff;
}

.nav-notif-bell.has-unread {
  background: var(--gold);
  border-color: #ffffff;
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--red-danger);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 800;
  display: none;
  min-width: 18px;
  text-align: center;
  border: 2px solid #0b0e14;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.notif-dropdown {
  position: absolute;
  top: 130%;
  right: -10px;
  width: 320px;
  background: #1c222d;
  border: 1px solid #333;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  z-index: 1001;
  max-height: 450px;
  overflow: visible; /* To allow pointer visibility */
  animation: fadeInScale 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dropdown Pointer Triangle */
.notif-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 22px;
  width: 15px;
  height: 15px;
  background: #1c222d;
  border-left: 1px solid #333;
  border-top: 1px solid #333;
  transform: rotate(45deg);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notif-header {
  padding: 16px 20px;
  border-bottom: 1px solid #333;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-header span {
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.notif-list-wrapper {
  overflow-y: auto;
  max-height: 380px;
}

.notif-item {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  transition: 0.2s;
  display: flex;
  gap: 12px;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.notif-icon-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-item.unread {
  background: rgba(40, 167, 69, 0.03);
  border-left: 3px solid var(--gold);
}

.notif-content-text {
  flex: 1;
}

.notif-item .job-title {
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
  color: #fff;
}

.notif-item .notif-msg {
  color: var(--gray-text);
  font-size: 0.8rem;
  display: block;
  line-height: 1.4;
}

.notif-item .notif-status {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-Pending {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
}
.stat-Accepted {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}
.stat-Rejected {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.notif-empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--gray-text);
}

.notif-empty i {
  font-size: 2rem;
  display: block;
  margin-bottom: 15px;
  opacity: 0.3;
}

/* FOOTER (Center) */
footer {
  width: 100%;
  padding: 40px 0;
  background: var(--dark-bg);
  text-align: center;
  border-top: 1px solid #222;
}

footer p {
  color: #444;
  font-size: 0.85rem;
  margin: 0;
}

/* Professional Dashboard Layout */
.admin-body {
  background: #0d1117;
  overflow: hidden;
  height: 100vh;
}

.dashboard-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Sidebar Styling */
.sidebar-nav {
  width: 240px;
  background: #161b22;
  border-right: 1px solid #30363d;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: 0.3s;
}

.sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-sidebar-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.sidebar-header h2 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.sidebar-menu {
  flex: 1;
  padding: 12px 0;
  list-style: none;
}

.menu-item {
  padding: 1px 12px;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gray-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.2s;
}

.menu-link i {
  width: 18px;
  font-size: 1rem;
  text-align: center;
}

.menu-link:hover,
.menu-link.active {
  background: rgba(40, 167, 69, 0.1);
  color: var(--gold);
}

.sidebar-footer {
  padding: 15px;
  border-top: 1px solid #30363d;
}

/* Main Dashboard Content */
.main-dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.top-bar {
  height: 56px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.page-info h1 {
  font-size: 1.1rem;
  font-weight: 700;
}

.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  border: 1px solid #30363d;
}

.admin-profile span {
  font-size: 0.8rem;
  font-weight: 600;
}

.content-viewport {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: #0d1117;
}

/* Professional Card Styling */
.prof-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prof-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #30363d;
}

.prof-card-header h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f0f6fc;
}

.prof-card-header h3 i {
  color: var(--gold);
}

/* Updated Table Styling */
.admin-data-table thead {
  background: #0d1117;
}

.admin-data-table th {
  color: #8b949e;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #30363d;
  padding: 16px;
}

.admin-data-table td {
  padding: 16px;
  border-bottom: 1px solid #21262d;
  color: #c9d1d9;
}

/* DESKTOP SPECIFIC (min-width: 1025px) */
@media (min-width: 1025px) {
  .sidebar-nav {
    position: sticky;
    top: 0;
  }

  .prof-card {
    transition:
      transform 0.2s,
      box-shadow 0.2s;
  }

  .prof-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  /* Custom Scrollbar for Desktop */
  .content-viewport::-webkit-scrollbar {
    width: 8px;
  }
  .content-viewport::-webkit-scrollbar-track {
    background: #0d1117;
  }
  .content-viewport::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 10px;
  }
  .content-viewport::-webkit-scrollbar-thumb:hover {
    background: #484f58;
  }
}

/* MOBILE & TABLET SPECIFIC (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Transform Table to Cards on Mobile */
  .admin-data-table,
  .admin-data-table thead,
  .admin-data-table tbody,
  .admin-data-table th,
  .admin-data-table td,
  .admin-data-table tr {
    display: block;
  }

  .admin-data-table thead {
    display: none; /* Hide headers on mobile cards */
  }

  .admin-data-table tbody tr {
    background: #1c222d;
    margin-bottom: 20px;
    border-radius: 15px;
    border: 1px solid #30363d;
    padding: 15px;
    position: relative;
  }

  .admin-data-table td {
    border: none;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
  }

  .admin-data-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.7rem;
    text-align: left;
    margin-right: 15px;
  }

  /* Override for checkbox and status to look better on cards */
  .admin-data-table td:first-child {
    border-bottom: 1px solid #30363d;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .admin-data-table td:last-child {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #30363d;
    justify-content: center;
  }

  .action-cell {
    width: 100%;
    justify-content: space-around;
  }

  .page-info h1 {
    font-size: 1.1rem;
  }
}

/* MODAL Refinement */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  display: none;
  backdrop-filter: blur(4px);
}

.mobile-toggle-btn,
.mobile-close-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .sidebar-nav {
    position: fixed;
    left: -260px;
    top: 0;
    height: 100vh;
    z-index: 1100;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .sidebar-nav.active {
    left: 0;
  }

  .sidebar-nav.active + .main-dashboard .sidebar-overlay {
    display: block;
  }

  .admin-grid-layout {
    grid-template-columns: 1fr !important;
  }

  /* Job management layout on mobile */
  #tab-jobs .admin-grid-layout {
    grid-template-columns: 1fr !important;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .mobile-close-btn {
    display: block;
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: var(--gold);
    color: #000;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: none;
    font-size: 1.2rem;
  }

  .admin-profile {
    display: none;
  }

  .content-viewport {
    padding: 60px 15px 15px 15px; /* Extra top padding for floating button */
  }

  .prof-card {
    padding: 15px;
  }

  .prof-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .header-actions {
    width: 100%;
  }

  .admin-filter-select {
    width: 100%;
  }
}

.modal-fixed-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content-box {
  background: #1c222d;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #333;
}

.modal-content-box h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #fff;
}

.job-description {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--gray-text);
  font-size: 0.95rem;
  border-left: 4px solid var(--gold);
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Input Nama, Link Foto, dan Porto tetap Full Width */
.full-width {
  grid-column: span 2;
}

.input-field {
  margin-bottom: 10px;
}

.input-field input {
  background: #0b0e14;
  border: 1px solid #222;
  padding: 12px;
  color: #fff;
  border-radius: 8px;
  width: 100%;
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-send-application {
  flex: 2;
  background: #2ecc71; /* Hijau */
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cancel-modal {
  flex: 1;
  background: #444; /* Abu-abu */
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* Menyembunyikan link admin dari pandangan umum */
.admin-link {
  display: none !important;
}

/* RESPONSIVE: Tablet dan HP */
@media (max-width: 900px) {
  nav {
    padding: 1rem 4%;
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }

  #nav-login-item,
  #nav-logout-item {
    display: flex;
    justify-content: center;
    width: 104px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    max-width: 100%;
  }

  .btn-main,
  .btn-card-apply {
    width: 100%;
  }

  #about,
  #jobs,
  #contact,
  .admin-main-wrapper {
    padding: 70px 4%;
  }

  .about-flex-container,
  .contact-links-grid,
  .admin-loker-card {
    gap: 20px;
  }

  .job-card-item {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0.65rem 2.2%;
    justify-content: space-between;
    gap: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-text {
    font-size: 14px;
  }

  .main-logo {
    height: 32px;
    width: 32px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    background: var(--card-bg);
    margin-top: 12px;
    padding: 12px 0;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    padding: 10px 12px;
    min-height: 40px;
    width: 100%;
  }

  #nav-login-item,
  #nav-logout-item,
  #nav-lang-item {
    width: 100%;
  }

  #nav-login-item,
  #nav-logout-item {
    justify-content: stretch;
  }

  #nav-login-item .talent-auth-link,
  #nav-logout-item .logout-link {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
  }

  #nav-lang-item {
    display: flex;
    justify-content: center;
    padding: 4px 0 0;
  }

  #nav-lang-item .language-toggle {
    width: 92px;
    height: 38px;
  }

  #nav-lang-item .language-toggle::before {
    width: 41px;
    height: 30px;
  }

  #nav-lang-item .language-toggle.is-en::before {
    transform: translateX(44px);
  }

  #nav-lang-item .language-toggle span {
    width: 41px;
  }

  .auth-language-row {
    justify-content: center;
    margin: -4px 0 14px;
  }

  header {
    height: auto;
    min-height: 58vh;
    padding: 1rem 3%;
  }

  .hero-tag {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .btn-main {
    padding: 12px 18px;
    font-size: 0.95rem;
    width: fit-content;
  }

  #about,
  #jobs,
  #contact,
  .admin-main-wrapper {
    padding: 45px 3%;
  }

  .contact-card-main h2 {
    font-size: 1.7rem;
  }

  .contact-links-grid {
    flex-direction: column;
    gap: 12px;
  }

  .contact-links-grid a {
    font-size: 0.95rem;
  }

  .about-flex-container,
  .contact-links-grid {
    flex-direction: column;
  }

  .about-text-content h2 {
    font-size: 1.9rem;
  }

  .about-features-list,
  .feature-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-grid-system {
    grid-template-columns: 1fr;
  }

  .job-card-item {
    padding: 20px;
  }

  .btn-card-apply {
    padding: 13px;
    font-size: 0.9rem;
  }

  .modal-content-box {
    max-width: 95%;
    padding: 16px;
  }

  .modal-form-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn-send-application,
  .btn-cancel-modal {
    width: 100%;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.65rem 2.5%;
  }

  .logo-text {
    font-size: 14px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 9px 12px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  #contact {
    padding: 40px 2.5%;
  }

  .contact-card-main p {
    font-size: 0.95rem;
  }

  .btn-main,
  .btn-card-apply {
    width: 100%;
  }
}

/* PAGINATION */
.admin-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #30363d;
}

.btn-page {
  background: #161b22;
  border: 1px solid #30363d;
  color: var(--gray-text);
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.3s;
}

.btn-page:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(40, 167, 69, 0.05);
}

.btn-page.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-info-text {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin: 0 10px;
}
