/* ==========================================================================
   UA INTERNATIONAL - Modern Design System & Theme
   Palette: Crimson Red (#d71920), Midnight Navy (#0a0f1d / #0f172a), Crisp White (#ffffff)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playwrite+AU+QLD:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Brand Colors */
  --primary: #d71920;
  --primary-hover: #b81218;
  --primary-light: #fff1f2;
  --primary-glow: rgba(215, 25, 32, 0.25);
  --primary-border: rgba(215, 25, 32, 0.2);

  /* Neutrals & Dark Theme */
  --bg-dark: #0a0f1d;
  --bg-dark-card: #131b2e;
  --bg-dark-subtle: #1a243b;
  --dark-text: #0f172a;
  --dark-muted: #64748b;
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Surface Colors */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Status Colors */
  --status-new: #3b82f6;
  --status-new-bg: #eff6ff;
  --status-review: #f59e0b;
  --status-review-bg: #fffbeb;
  --status-shortlisted: #8b5cf6;
  --status-shortlisted-bg: #f5f3ff;
  --status-interview: #06b6d4;
  --status-interview-bg: #ecfeff;
  --status-selected: #10b981;
  --status-selected-bg: #ecfdf5;
  --status-rejected: #ef4444;
  --status-rejected-bg: #fef2f2;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.09);
  --shadow-glow: 0 8px 24px var(--primary-glow);

  /* Typography */
  --font-heading: 'Poppins', 'Roboto', sans-serif;
  --font-body: 'Poppins', 'Roboto', sans-serif;
  --font-cursive: 'Playwrite AU QLD', cursive;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-text);
}

.playwrite-au-qld {
  font-family: "Playwrite AU QLD", cursive;
  font-optical-sizing: auto;
  font-style: normal;
}


a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.container-wide {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid var(--primary-border);
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-light);
  color: var(--dark-text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-white {
  background: #ffffff;
  color: var(--dark-text);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: #090e1a;
  color: #94a3b8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-item strong {
  color: #f1f5f9;
}

.top-item a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-item a:hover {
  color: #ef4444;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 160px;
  display: none;
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  z-index: 200;
}

.lang-menu.active {
  display: block;
}

.lang-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: #cbd5e1;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  color: var(--text-main);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--dark-text);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #090e1a 0%, #152238 60%, #1e293b 100%);
  color: #ffffff;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(215, 25, 32, 0.25) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -150px;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(215, 25, 32, 0.15);
  border: 1px solid rgba(215, 25, 32, 0.3);
  color: #ff6b70;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-title span {
  background: linear-gradient(90deg, #ff4d4d, #ff8080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}

.hero-stat-item h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-stat-item h3 span {
  color: #ef4444;
}

.hero-stat-item p {
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Hero Right: Interactive Quick Card */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-card h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.hero-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition);
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(215, 25, 32, 0.4);
  transform: translateX(4px);
}

.feature-pill i {
  color: #ef4444;
  font-size: 1.4rem;
}

.feature-pill div h4 {
  color: #f1f5f9;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.feature-pill div span {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.05);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link i {
  color: #ffffff !important;
}

.service-link:hover {
  color: #ffffff !important;
  gap: 10px;
}

/* ==========================================================================
   DESTINATIONS / COUNTRIES
   ========================================================================== */
.destinations-section {
  padding: 100px 0;
  background: var(--bg-body);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.destination-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.destination-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.destination-flag {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.destination-info h4 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.destination-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RECRUITMENT WORKFLOW (STEPS)
   ========================================================================== */
.workflow-section {
  padding: 100px 0;
  background: #ffffff;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px var(--primary-glow);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #a90f15 100%);
  color: #fff;
  padding: 80px 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

.cta-banner .btn-white {
  font-size: 1.1rem;
}

/* ==========================================================================
   POPUP RECRUITMENT MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 29, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 1.8rem;
  color: var(--dark-text);
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Form Controls */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #090e1a;
  color: #94a3b8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #ef4444;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESUME UPLOAD STYLES
   ========================================================================== */
.upload-page-wrapper {
  padding: 60px 0 100px;
}

.upload-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 40px 20px;
  text-align: center;
  background: var(--bg-body);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 28px;
}

.dropzone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dropzone-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.dropzone h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.dropzone p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.file-preview {
  display: none;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: space-between;
}

.file-preview.active {
  display: flex;
}

/* ==========================================================================
   ADMIN PORTAL STYLES
   ========================================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f1f5f9;
}

.admin-sidebar {
  width: 270px;
  background: #090e1a;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-header img {
  height: 40px;
}

.sidebar-menu {
  list-style: none;
  padding: 20px 12px;
  flex-grow: 1;
}

.sidebar-item {
  margin-bottom: 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--primary);
  color: #ffffff;
}

.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-content {
  padding: 32px;
  flex-grow: 1;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.kpi-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.kpi-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.kpi-info h4 {
  font-size: 1.8rem;
  margin-bottom: 2px;
}

.kpi-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Candidate Data Table */
.table-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-toolbar {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-light);
}

.status-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-tab {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: var(--bg-body);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.status-tab:hover,
.status-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: #f8fafc;
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-light);
}

.custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
  vertical-align: middle;
}

.custom-table tr:hover td {
  background: #fafbfc;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.badge-new { background: var(--status-new-bg); color: var(--status-new); }
.badge-review { background: var(--status-review-bg); color: var(--status-review); }
.badge-shortlisted { background: var(--status-shortlisted-bg); color: var(--status-shortlisted); }
.badge-interview { background: var(--status-interview-bg); color: var(--status-interview); }
.badge-selected { background: var(--status-selected-bg); color: var(--status-selected); }
.badge-rejected { background: var(--status-rejected-bg); color: var(--status-rejected); }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .workflow-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-contacts { display: none; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}
