/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  color-scheme: light;
  
  /* Color Palette */
  --teal-brand: #008B94;
  --teal-hover: #007780;
  --teal-active: #005F66;
  --teal-light: #EBF7F8;
  --teal-light-border: #D1EDED;
  
  --navy-headers: #0F294A;
  --navy-dark: #071A2E;
  
  --text-main: #2D3748;
  --text-muted: #637381;
  --text-light: #919EAB;
  
  --border-color: #E7EAF3;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  
  /* Status Colors */
  --color-success: #22C55E;
  --color-success-light: #DCFCE7;
  --color-warning: #EAB308;
  --color-warning-light: #FEF9C3;
  --color-info: #3B82F6;
  --color-info-light: #DBEAFE;
  --color-danger: #EF4444;
  --color-danger-light: #FEE2E2;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 41, 74, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 41, 74, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 41, 74, 0.1);
  --shadow-premium: 0 12px 36px rgba(15, 41, 74, 0.08);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-circle: 50%;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.5;
  height: 100%;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy-headers);
  font-weight: 700;
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
#app-content {
  flex: 1 0 auto;
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

.section {
  padding: 80px clamp(24px, 8vw, 120px);
}

.border-top {
  border-top: 1px solid var(--border-color);
}

.text-center {
  text-align: center;
}

/* Helper Class */
.hidden {
  display: none !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.button-primary {
  background-color: var(--teal-brand);
  color: var(--bg-white);
}

.button-primary:hover {
  background-color: var(--teal-hover);
  transform: translateY(-1px);
}

.button-primary:active {
  background-color: var(--teal-active);
  transform: translateY(0);
}

.button-secondary {
  background-color: var(--bg-white);
  color: var(--teal-brand);
  border-color: var(--teal-brand);
}

.button-secondary:hover {
  background-color: var(--teal-light);
  transform: translateY(-1px);
}

.button-secondary:active {
  transform: translateY(0);
}

.button-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.button-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.full-width {
  width: 100%;
}

.icon-only-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HEADER / TOPBAR
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 8vw, 120px);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

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

.brand-img {
  height: 32px;
  width: auto;
  display: block;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--teal-brand);
  color: var(--bg-white);
  border-radius: var(--radius-md);
}

.brand-mark.bg-white {
  background-color: var(--bg-white);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-headers);
  letter-spacing: -0.5px;
}

.brand-name.text-white {
  color: var(--bg-white);
}

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

.nav a {
  font-weight: 500;
  color: var(--text-main);
  font-size: 15px;
}

.nav a:hover, .nav a.active {
  color: var(--teal-brand);
}

/* Nav Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px 0;
  margin-top: 8px;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--teal-brand);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-link {
  font-weight: 600;
  color: var(--navy-headers);
  font-size: 15px;
}

.login-link:hover {
  color: var(--teal-brand);
}

.profile-badge-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.profile-badge-btn:hover {
  border-color: var(--teal-brand);
  background-color: var(--teal-light);
}

.badge-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--teal-brand);
  color: var(--bg-white);
  border-radius: var(--radius-circle);
  font-weight: 700;
  font-size: 12px;
}

.badge-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-headers);
}

/* ==========================================================================
   HERO SECTION & ILLUSTRATIONS
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 60px clamp(24px, 8vw, 120px) 80px;
  background: radial-gradient(circle at 90% 20%, rgba(0, 139, 148, 0.05), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(15, 41, 74, 0.02), transparent 40%);
  border-bottom: 1px solid var(--border-color);
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--navy-headers);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-copy p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--teal-light);
  color: var(--teal-brand);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid var(--teal-light-border);
}

.eyebrow-badge i {
  width: 14px;
  height: 14px;
}

.pilot-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 139, 148, 0.24);
  border-radius: 999px;
  background: rgba(0, 139, 148, 0.08);
  color: var(--teal-brand);
  font-size: 14px;
  font-weight: 700;
}

.pilot-offer i {
  width: 16px;
  height: 16px;
}

/* Hero Search Form */
.hero-search {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr auto;
  align-items: center;
  padding: 8px 8px 8px 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  margin-bottom: 24px;
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input-group.border-left {
  border-left: 1px solid var(--border-color);
  padding-left: 20px;
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-light);
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.input-wrapper label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.input-wrapper input {
  border: 0;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
  background: transparent;
  width: 95%;
}

.input-wrapper input::placeholder {
  color: var(--text-light);
}

.search-btn {
  height: 48px;
  padding: 0 24px;
}

/* Mock Search for recruiter */
.mock-search input {
  pointer-events: none;
}

/* Popular Searches */
.popular-searches {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.popular-searches .label {
  color: var(--text-muted);
  font-weight: 500;
}

.popular-searches .pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-pill {
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-pill:hover {
  border-color: var(--teal-brand);
  color: var(--teal-brand);
  background-color: var(--teal-light);
}

/* Matching Widget Illustration */
.hero-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.match-interactive-widget {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.match-interactive-widget.single-show {
  justify-content: center;
  gap: 30px;
}

.match-card {
  position: absolute;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  width: 190px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  z-index: 2;
}

.match-card:hover {
  box-shadow: var(--shadow-lg);
}

.match-card.border-only {
  position: relative;
  box-shadow: none;
  width: 180px;
}

.user-card {
  left: 0;
  top: 10px;
}

.company-card {
  right: 0;
  top: 10px;
}

.avatar-container {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
}

.widget-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-circle);
  border: 2px solid var(--teal-light);
}

.avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-circle);
  background-color: var(--bg-light);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
}

.verified-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-circle);
  background-color: var(--color-success);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  border: 2px solid var(--bg-white);
}

.card-info h3 {
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 700;
}

.card-info .location {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.card-info .location i {
  width: 12px;
  height: 12px;
}

.card-info .tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.card-info .tag {
  background-color: var(--bg-light);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.card-info .role-desc {
  font-size: 11px;
  color: var(--text-main);
  border-top: 1px solid var(--border-color);
  padding-top: 6px;
}

.card-info .role-desc-lbl {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.company-logo-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.bg-blue { background-color: var(--navy-headers); }
.bg-teal { background-color: var(--teal-brand); }
.bg-yellow { background-color: #EAB308; }
.bg-orange { background-color: #F97316; }
.bg-pink { background-color: #EC4899; }
.bg-purple { background-color: #A855F7; }

/* Connection Center & Dotted Path */
.connection-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.dotted-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
}

.dotted-svg {
  width: 100%;
  height: 100%;
}

.match-score-badge {
  background-color: var(--bg-white);
  border: 8px solid var(--teal-light);
  border-radius: var(--radius-circle);
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.match-score-badge .score-num {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--teal-brand);
  line-height: 1;
}

.match-score-badge .score-txt {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.score-circle-success {
  background-color: var(--color-success-light);
  color: var(--color-success);
  width: 54px;
  height: 54px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 3;
}

.match-widget-cta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-white);
  border: 1px solid var(--teal-brand);
  color: var(--teal-brand);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition-fast);
}

.match-widget-cta:hover {
  background-color: var(--teal-light);
  transform: translateX(-50%) translateY(-1px);
}

.match-badges-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-item i {
  color: var(--teal-brand);
  width: 16px;
  height: 16px;
}

/* Animations */
.animate-float-left {
  animation: floatLeft 6s ease-in-out infinite alternate;
}

.animate-float-right {
  animation: floatRight 6s ease-in-out infinite alternate;
}

@keyframes floatLeft {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes floatRight {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

/* ==========================================================================
   FEATURED JOBS (GRID LAYOUT)
   ========================================================================== */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 15px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-brand);
  font-weight: 700;
  font-size: 15px;
}

.link-arrow i {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.link-arrow:hover i {
  transform: translateX(4px);
}

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

.job-item-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.job-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-brand);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

.bg-dark-blue { background-color: var(--navy-headers); }
.bg-light-teal { background-color: var(--teal-brand); }

.save-job-btn {
  background: transparent;
  border: 0;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition-fast);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
}

.save-job-btn:hover {
  background-color: var(--bg-light);
  color: var(--teal-brand);
}

.save-job-btn.saved {
  color: var(--color-warning);
  fill: var(--color-warning);
}

.company-match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.company-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.match-badge {
  background-color: var(--teal-light);
  color: var(--teal-brand);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.job-item-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.location-details {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.salary-box {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-headers);
  margin-bottom: 16px;
  margin-top: auto;
}

.card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.tag-pill {
  background-color: var(--bg-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  margin-right: 6px;
}

/* ==========================================================================
   VALUE BAND (BENEFITS)
   ========================================================================== */
.value-band {
  background-color: var(--bg-light);
  padding: 80px clamp(24px, 8vw, 120px);
  border-bottom: 1px solid var(--border-color);
}

.value-band-intro {
  max-width: 680px;
  margin-bottom: 60px;
}

.value-band-intro h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.value-band-intro p {
  font-size: 16px;
  color: var(--text-muted);
}

.value-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.value-feature-card {
  display: flex;
  flex-direction: column;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background-color: var(--teal-light);
  color: var(--teal-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-circle i {
  width: 24px;
  height: 24px;
}

.value-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.value-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.value-band-employer {
  padding: 80px clamp(24px, 8vw, 120px);
  background-color: var(--bg-white);
}

.value-band-employer .section-title {
  font-size: 32px;
  margin-bottom: 48px;
}

/* ==========================================================================
   COMPANIES LOGO SECTION
   ========================================================================== */
.companies-section {
  padding: 60px clamp(24px, 8vw, 120px);
}

.companies-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.company-logo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-width: 160px;
  background-color: var(--bg-white);
  transition: var(--transition-fast);
}

.company-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--teal-brand);
}

.company-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
}

.company-logo i {
  width: 18px;
  height: 18px;
}

.company-logo-card .info {
  display: flex;
  flex-direction: column;
}

.company-logo-card strong {
  font-size: 14px;
  color: var(--navy-headers);
  font-weight: 700;
}

.company-logo-card span {
  font-size: 11px;
  color: var(--text-light);
}

/* ==========================================================================
   AUTH PAGE & FORMS
   ========================================================================== */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background-color: var(--bg-light);
  min-height: calc(100vh - 72px);
}

.auth-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.brand-mark.sm {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
}

.auth-card h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 24px;
}

.tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--bg-light);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.tab-btn {
  background: transparent;
  border: 0;
  padding: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active {
  background-color: var(--bg-white);
  color: var(--teal-brand);
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  background-color: var(--bg-white);
  transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal-brand);
  box-shadow: 0 0 0 3px rgba(0, 139, 148, 0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal-brand);
}

.form-group-row-align {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.flex-grow {
  flex-grow: 1;
}

.input-helper {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.social-login {
  margin-top: 24px;
  text-align: center;
}

.divider-text {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.divider-text::before, .divider-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  margin: 0 10px;
}

.social-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-social:hover {
  background-color: var(--bg-light);
  border-color: var(--text-light);
}

.auth-footer-text {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 24px;
}

.link-teal {
  color: var(--teal-brand);
  font-weight: 600;
}

.link-teal:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

/* ==========================================================================
   WIZARDS (Employer / Candidate Wizards)
   ========================================================================== */
.wizard-container {
  max-width: 680px;
  margin: 40px auto 60px;
  padding: 0 24px;
}

.wizard-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-indicator {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-indicator.active {
  color: var(--teal-brand);
  font-weight: 700;
}

.step-indicator.completed {
  color: var(--navy-headers);
}

.step-indicator.completed i {
  color: var(--color-success);
}

.wizard-steps-header i {
  width: 14px;
  height: 14px;
  color: var(--text-light);
}

.wizard-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.wizard-card h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.wizard-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}

/* Logo Upload Drag and Drop */
.logo-upload-group {
  width: 100%;
}

.logo-drag-drop {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background-color: var(--bg-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.logo-drag-drop:hover, .logo-drag-drop.dragover {
  border-color: var(--teal-brand);
  background-color: var(--teal-light);
}

.upload-icon {
  width: 36px;
  height: 36px;
  color: var(--teal-brand);
  margin-bottom: 8px;
}

.upload-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.upload-subtitle {
  font-size: 11px;
  color: var(--text-light);
}

.hidden-input {
  display: none !important;
}

#logo-preview-container, #cv-preview-container {
  position: absolute;
  inset: 0;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

#logo-preview-img {
  max-height: 80px;
  object-fit: contain;
}

.btn-remove-logo, .btn-remove-cv {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
  background-color: var(--color-danger-light);
  border: 0;
  color: var(--color-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.wizard-actions.space-between {
  justify-content: space-between;
}

/* Vacancy Preview Card style */
.vacancy-preview-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  background-color: var(--bg-white);
  margin-bottom: 30px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.company-logo-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--navy-headers);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  overflow: hidden;
}

.company-logo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-header h3 {
  font-size: 22px;
  margin-bottom: 2px;
}

.preview-header .comp-details {
  font-size: 14px;
  color: var(--text-muted);
}

.preview-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background-color: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.preview-meta-grid div {
  display: flex;
  flex-direction: column;
}

.preview-meta-grid .lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.preview-meta-grid strong {
  font-size: 14px;
  color: var(--navy-headers);
}

.preview-content-section {
  margin-bottom: 24px;
}

.preview-content-section h4 {
  font-size: 16px;
  margin-bottom: 8px;
  border-left: 3px solid var(--teal-brand);
  padding-left: 10px;
}

.preview-content-section p {
  font-size: 14px;
  color: var(--text-muted);
  white-space: pre-wrap;
}

.preview-bullets {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-bullets li::before {
  content: "•";
  color: var(--teal-brand);
  font-weight: bold;
  display: inline-block;
  width: 1em;
}

.preview-benefits-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.benefit-tag {
  background-color: var(--teal-light);
  color: var(--teal-brand);
  border: 1px solid var(--teal-light-border);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.benefit-tag i {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   SUCCESS SCREEN
   ========================================================================== */
.success-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: calc(100vh - 72px);
  background-color: var(--bg-light);
}

.success-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-md);
}

.success-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-circle);
  background-color: var(--color-success-light);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.success-card h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.success-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   DASHBOARDS LAYOUT (RECLUTADOR & CANDIDATO)
   ========================================================================== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 72px);
  background-color: var(--bg-light);
}

/* Sidebar styling */
.dashboard-sidebar {
  background-color: var(--navy-dark);
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

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

.sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--teal-brand);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-user-info strong {
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sidebar-user-info .user-role {
  font-size: 11px;
  color: var(--text-light);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-white);
}

.sidebar-nav a i {
  width: 18px;
  height: 18px;
}

.badge-alert {
  background-color: var(--color-danger);
  color: var(--bg-white);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 50px;
  margin-left: auto;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-logout {
  background: transparent;
  border: 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition-fast);
}

.btn-logout:hover {
  color: var(--color-danger);
}

/* Dashboard Main Content */
.dashboard-main-content {
  padding: 40px clamp(24px, 5vw, 60px);
  overflow-y: auto;
  height: calc(100vh - 72px);
}

.dashboard-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-header-bar h1 {
  font-size: 32px;
  margin-bottom: 4px;
}

.dashboard-header-bar p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Metrics Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.metric-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-info .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metric-info .value {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-headers);
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon.bg-light-teal {
  background-color: var(--teal-light);
  color: var(--teal-brand);
}

.metric-icon.bg-light-blue {
  background-color: var(--color-info-light);
  color: var(--color-info);
}

.metric-icon.bg-light-purple {
  background-color: #F3E8FF;
  color: #A855F7;
}

/* Dashboard splits */
.dashboard-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.dashboard-panel-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.dashboard-panel-card.full-width {
  grid-column: 1 / span 2;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.panel-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.select-sm {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 13px;
  outline: none;
}

/* Recruiter Jobs Table List */
.vacancies-list-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-vacancy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
}

.dash-vacancy-row .vac-info {
  display: flex;
  flex-direction: column;
}

.dash-vacancy-row .vac-info strong {
  font-size: 14px;
  color: var(--navy-headers);
}

.dash-vacancy-row .vac-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.dash-vacancy-row .cand-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.dash-vacancy-row .cand-count strong {
  font-size: 14px;
  color: var(--teal-brand);
}

.dash-vacancy-row .cand-count span {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Compact Funnel inside dashboard */
.funnel-container-compact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.funnel-compact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
}

.funnel-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.status-new { background-color: var(--bg-light); color: var(--text-muted); border: 1px solid var(--border-color); }
.status-contacted { background-color: var(--color-info-light); color: var(--color-info); }
.status-interview { background-color: var(--color-warning-light); color: #B45309; }
.status-closed { background-color: var(--color-success-light); color: var(--color-success); }

.funnel-pill-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.lead-pill-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lead-pill-item:hover, .lead-pill-item.active {
  border-color: var(--teal-brand);
  background-color: var(--teal-light);
  color: var(--teal-brand);
}

/* Candidate Actions sub-panel in Recruiter Dashboard */
.candidate-actions-panel {
  background-color: var(--bg-light);
  border: 1px solid var(--teal-brand);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
}

.selected-lead-info h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.selected-lead-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.cv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.cv-badge i {
  width: 14px;
  height: 14px;
  color: var(--color-danger);
}

.action-buttons-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.action-buttons-row button {
  flex: 1;
}

.text-teal {
  color: var(--teal-brand);
}

/* Candidate profile panel */
.candidate-profile-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-completion-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background-color: var(--color-warning-light);
  color: #B45309;
  font-size: 12px;
  font-weight: 700;
}

.profile-completion-pill.complete {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.profile-safe-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--teal-light-border);
  border-radius: var(--radius-md);
  background-color: var(--teal-light);
  color: var(--text-muted);
  font-size: 13px;
}

.profile-safe-note i {
  width: 18px;
  height: 18px;
  color: var(--teal-brand);
  flex-shrink: 0;
}

/* Candidate Applications Table List */
.candidate-postulations-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cand-postulation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  transition: var(--transition-fast);
}

.cand-postulation-row:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-color);
}

.cand-postulation-row .job-meta {
  display: flex;
  flex-direction: column;
}

.cand-postulation-row .job-meta strong {
  font-size: 16px;
  color: var(--navy-headers);
}

.cand-postulation-row .job-meta span {
  font-size: 13px;
  color: var(--text-muted);
}

.badge-status {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: capitalize;
}

.badge-status.new { background-color: var(--bg-light); color: var(--text-muted); border: 1px solid var(--border-color); }
.badge-status.contacted { background-color: var(--color-info-light); color: var(--color-info); }
.badge-status.interview { background-color: var(--color-warning-light); color: #B45309; }
.badge-status.closed { background-color: var(--color-success-light); color: var(--color-success); }
.badge-status.rejected { background-color: var(--color-danger-light); color: var(--color-danger); }

/* ==========================================================================
   VIEW 2.2 & 2.3: SEARCH RESULTS SPLIT VIEW
   ========================================================================== */
.search-results-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 72px);
  background-color: var(--bg-light);
}

.filter-bar {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 12px clamp(24px, 8vw, 120px);
  flex-shrink: 0;
}

.filter-form {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
}

.filter-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.filter-input-wrapper.border-left {
  border-left: 1px solid var(--border-color);
  padding-left: 16px;
}

.filter-input-wrapper i {
  color: var(--text-light);
  width: 18px;
  height: 18px;
}

.filter-input-wrapper input {
  border: 0;
  outline: none;
  font-size: 14px;
  width: 100%;
}

.results-layout-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  flex-grow: 1;
  overflow: hidden;
}

/* Left Pane (Jobs List) */
.results-list-pane {
  border-right: 1px solid var(--border-color);
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.results-count-bar {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.vertical-job-list {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.list-job-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.list-job-card:hover {
  border-color: var(--teal-brand);
  background-color: var(--bg-light);
}

.list-job-card.active {
  border-color: var(--teal-brand);
  background-color: var(--teal-light);
}

.list-job-card .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.list-job-card .comp-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.list-job-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy-headers);
}

.list-job-card .loc-sal {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.list-job-card .badge-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.badge-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-tag.modality {
  background-color: var(--bg-light);
  color: var(--text-muted);
}

.badge-tag.match {
  background-color: var(--teal-brand);
  color: var(--bg-white);
}

.badge-tag.new {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

/* Right Pane (Detail Pane) */
.results-detail-pane {
  background-color: var(--bg-light);
  overflow-y: auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.detail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  text-align: center;
  max-width: 320px;
  color: var(--text-light);
}

.detail-empty-state i {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.detail-empty-state h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.detail-full-content {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.detail-header-card {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.detail-header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.detail-company-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--navy-headers);
  color: var(--bg-white);
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.detail-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-job-meta h2 {
  font-size: 24px;
  margin-bottom: 2px;
}

.detail-job-meta p {
  font-size: 14px;
  color: var(--text-muted);
}

.detail-pills-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--bg-light);
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-pill i {
  width: 14px;
  height: 14px;
}

.detail-cta-row {
  display: flex;
  gap: 16px;
}

.detail-body-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-section h3 {
  font-size: 16px;
  margin-bottom: 8px;
  border-left: 3px solid var(--teal-brand);
  padding-left: 10px;
}

.detail-section p {
  font-size: 14px;
  color: var(--text-muted);
  white-space: pre-wrap;
}

.detail-bullets-list {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-bullets-list li::before {
  content: "•";
  color: var(--teal-brand);
  font-weight: bold;
  display: inline-block;
  width: 1em;
}

.detail-benefits-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.response-assurance-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--teal-light);
  border: 1px solid var(--teal-light-border);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

.response-assurance-banner i {
  color: var(--teal-brand);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.response-assurance-banner strong {
  font-size: 14px;
  color: var(--teal-brand);
  display: block;
  margin-bottom: 2px;
}

.response-assurance-banner p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   MODAL WIZARD / OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 26, 46, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0;
  color: var(--text-light);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
}

.modal-close-btn:hover {
  background-color: var(--bg-light);
  color: var(--text-main);
}

.modal-step-pane {
  display: none;
}

.modal-step-pane.active {
  display: block;
}

.modal-step-pane h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.modal-step-pane .desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Prompt Step */
.wizard-prompt-graphic {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-circle);
  background-color: var(--teal-light);
  color: var(--teal-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.wizard-prompt-graphic .question-icon {
  width: 32px;
  height: 32px;
}

.modal-actions-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-actions-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.modal-actions-row.margin-top {
  margin-top: 24px;
}

/* CV upload dropzone */
.cv-upload-wrapper {
  margin-bottom: 20px;
}

.cv-drop-zone {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background-color: var(--bg-light);
  cursor: pointer;
}

.cv-drop-zone:hover {
  border-color: var(--teal-brand);
  background-color: var(--teal-light);
}

.file-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--teal-light);
  border: 1px solid var(--teal-light-border);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--teal-brand);
  font-weight: 600;
}

.file-info-badge i {
  color: var(--color-danger);
}

/* Review application styling */
.review-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lbl-small {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 6px;
}

.review-job-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
}

.review-job-card h3 {
  font-size: 16px;
  margin-bottom: 2px;
}

.review-job-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.review-job-card .rev-job-details {
  font-size: 12px;
  color: var(--text-light);
}

.review-profile-summary {
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
}

.candidate-summary-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.summary-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background-color: var(--teal-brand);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.candidate-summary-badge strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.candidate-summary-badge span {
  font-size: 12px;
  color: var(--text-muted);
}

.cv-file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  background-color: var(--bg-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.cv-file-row i {
  color: var(--color-danger);
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--navy-dark);
  color: var(--text-light);
  padding: 80px clamp(24px, 8vw, 120px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr) 2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo-footer {
  margin-bottom: 8px;
}

.brand-description {
  font-size: 14px;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--bg-white);
  transition: var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--teal-brand);
  transform: translateY(-2px);
}

.social-icons a i {
  width: 18px;
  height: 18px;
}

.footer-nav-column h4, .footer-newsletter-column h4 {
  color: var(--bg-white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-nav-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-column a {
  font-size: 14px;
  color: var(--text-light);
}

.footer-nav-column a:hover {
  color: var(--bg-white);
}

.footer-newsletter-column p {
  font-size: 13px;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--bg-white);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--teal-brand);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--bg-white);
}

/* ==========================================================================
   PROTOTYPE CONTROLLER WIDGET
   ========================================================================== */
.prototype-controller {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
}

.proto-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background-color: var(--navy-headers);
  color: var(--bg-white);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.proto-toggle-btn:hover {
  transform: scale(1.05);
  background-color: var(--teal-brand);
}

.proto-content {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proto-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
}

.proto-header strong {
  font-size: 14px;
  color: var(--navy-headers);
}

.proto-header span {
  font-size: 11px;
  color: var(--text-light);
}

.proto-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.proto-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.proto-link-btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
}

.proto-link-btn:hover {
  background-color: var(--teal-light);
  border-color: var(--teal-brand);
  color: var(--teal-brand);
}

.proto-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  margin-top: 6px;
}

/* ==========================================================================
   TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  width: 100%;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--teal-brand);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.toast-success { border-left-color: var(--color-success); }
.toast.toast-error { border-left-color: var(--color-danger); }
.toast.toast-info { border-left-color: var(--color-info); }
.toast.toast-warning { border-left-color: var(--color-warning); }

.toast-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-circle);
}

.toast-success .toast-icon { background-color: var(--color-success-light); color: var(--color-success); }
.toast-error .toast-icon { background-color: var(--color-danger-light); color: var(--color-danger); }
.toast-info .toast-icon { background-color: var(--color-info-light); color: var(--color-info); }
.toast-warning .toast-icon { background-color: var(--color-warning-light); color: var(--color-warning); }

.toast-message {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.4;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ==========================================================================
   STEPS PIPELINE STEPPER (RECRUITER INTERACTIVE FUNNEL)
   ========================================================================== */
.stepper-pipeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 20px 0;
  padding: 0 10px;
}

.stepper-pipeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  transform: translateY(-50%);
  z-index: 1;
}

.stepper-line-progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  background-color: var(--teal-brand);
  transform: translateY(-50%);
  z-index: 2;
  transition: width var(--transition-normal);
  width: 0%;
}

.stepper-step-node {
  position: relative;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-circle);
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stepper-step-node:hover {
  border-color: var(--teal-brand);
  color: var(--teal-brand);
}

.stepper-step-node.completed {
  border-color: var(--teal-brand);
  background-color: var(--teal-brand);
  color: var(--bg-white);
}

.stepper-step-node.active {
  border-color: var(--teal-brand);
  background-color: var(--teal-light);
  color: var(--teal-brand);
}

.stepper-step-label {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.stepper-step-node.active .stepper-step-label {
  color: var(--teal-brand);
}

.stepper-step-node.completed .stepper-step-label {
  color: var(--navy-headers);
}

/* ==========================================================================
   DYNAMIC TRANSITIONS AND MISCELLANEOUS UX POLISH
   ========================================================================== */
@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-section.active {
  display: block;
  animation: viewFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* SVG Match orbital flow animation */
@keyframes matchDashFlow {
  to {
    stroke-dashoffset: -20;
  }
}

.match-path-top, .match-path-bottom {
  animation: matchDashFlow 1.5s linear infinite;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ==========================================================================
   UX/UI IMPROVEMENTS v2 — NEW STYLES
   ========================================================================== */

/* --- 1. Topbar Scroll Effect --- */
.topbar.scrolled {
  box-shadow: 0 4px 24px rgba(15, 41, 74, 0.10);
  background-color: rgba(255, 255, 255, 0.98);
}

/* --- 2. Enhanced Focus Rings (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--teal-brand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --- 3. Skeleton Loaders --- */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.skeleton-line {
  height: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.short { width: 55%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.long { width: 90%; }
.skeleton-line.full { width: 100%; }
.skeleton-line.title { height: 18px; width: 70%; }
.skeleton-line.badge { height: 10px; width: 40%; border-radius: 50px; }

/* --- 4. Job Card Hover Reveal CTA --- */
.job-item-card {
  overflow: hidden;
}

.job-card-hover-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 139, 148, 0.95) 0%, rgba(0, 139, 148, 0) 100%);
  color: var(--bg-white);
  padding: 32px 20px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.job-card-hover-cta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-item-card:hover .job-card-hover-cta {
  opacity: 1;
  transform: translateY(0);
}

/* --- 5. Match Score Ring in Detail Pane --- */
.match-score-ring-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--teal-light) 0%, #f0feff 100%);
  border: 1px solid var(--teal-light-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.match-ring-svg {
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.match-ring-track {
  fill: none;
  stroke: var(--teal-light-border);
  stroke-width: 5;
}

.match-ring-fill {
  fill: none;
  stroke: var(--teal-brand);
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.match-ring-text-group {
  display: flex;
  flex-direction: column;
}

.match-ring-percent {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--teal-brand);
  line-height: 1;
}

.match-ring-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
}

.match-ring-detail {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* --- 6. Quick Filter Chips in Results --- */
.quick-filter-chips {
  padding: 10px 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-white);
  align-items: center;
}

.quick-filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-right: 4px;
}

.quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.quick-chip:hover {
  border-color: var(--teal-brand);
  color: var(--teal-brand);
  background-color: var(--teal-light);
}

.quick-chip.active {
  background-color: var(--teal-brand);
  border-color: var(--teal-brand);
  color: var(--bg-white);
}

.quick-chip i {
  width: 12px;
  height: 12px;
}

/* --- 7. Button Ripple Effect --- */
.button-primary,
.button-secondary {
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- 8. Improved Empty State (Candidate Dashboard) --- */
.empty-state-illustrated {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.empty-state-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--teal-light) 0%, #e0f7f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--teal-brand);
}

.empty-state-icon-wrap i {
  width: 40px;
  height: 40px;
}

.empty-state-illustrated h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--navy-headers);
}

.empty-state-illustrated p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* --- 9. Animated Counter (Dashboard Metrics) --- */
.metric-info .value.counting {
  transition: none;
}

/* --- 10. Highlight effect for Active Nav in Sidebar --- */
.sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(0,139,148,0.15) 0%, rgba(0,139,148,0.04) 100%);
  color: var(--bg-white);
  border-left: 3px solid var(--teal-brand);
  padding-left: 9px;
}

/* --- Improved View Transition (smoother) --- */
.view-section.active {
  display: block;
  animation: viewFadeSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes viewFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- List Job Card subtle entrance --- */
.list-job-card {
  animation: cardFadeIn 0.3s ease forwards;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Stagger animation for job cards */
.list-job-card:nth-child(1) { animation-delay: 0ms; }
.list-job-card:nth-child(2) { animation-delay: 40ms; }
.list-job-card:nth-child(3) { animation-delay: 80ms; }
.list-job-card:nth-child(4) { animation-delay: 120ms; }
.list-job-card:nth-child(5) { animation-delay: 160ms; }

/* --- Job Item Card in Home Grid stagger --- */
.jobs-grid .job-item-card {
  animation: cardFadeIn 0.4s ease forwards;
}
.jobs-grid .job-item-card:nth-child(1) { animation-delay: 50ms; }
.jobs-grid .job-item-card:nth-child(2) { animation-delay: 100ms; }
.jobs-grid .job-item-card:nth-child(3) { animation-delay: 150ms; }
.jobs-grid .job-item-card:nth-child(4) { animation-delay: 200ms; }

/* --- Metric card entrance --- */
.metric-card {
  animation: cardFadeIn 0.4s ease forwards;
}
.metrics-grid .metric-card:nth-child(1) { animation-delay: 60ms; }
.metrics-grid .metric-card:nth-child(2) { animation-delay: 120ms; }
.metrics-grid .metric-card:nth-child(3) { animation-delay: 180ms; }

/* --- Postulation row stagger --- */
.cand-postulation-row {
  animation: cardFadeIn 0.35s ease forwards;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr) 2fr;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
  }
  
  .hero-illustration {
    order: -1;
  }

  .nav {
    display: none; /* Hide main links on tablet */
  }

  .results-layout-split {
    grid-template-columns: 1fr; /* Stack results */
  }

  .results-list-pane {
    border-right: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .dashboard-layout {
    grid-template-columns: 1fr; /* Stack dashboard */
  }

  .dashboard-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: auto;
  }
  
  .dashboard-main-content {
    height: auto;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard-split-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel-card.full-width {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 24px;
  }
  
  .hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-search {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .search-input-group.border-left {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
  }

  .search-btn {
    width: 100%;
    margin-top: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .form-group-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions-row {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .wizard-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .topbar-actions .login-link, 
  .topbar-actions #btn-publish-header {
    display: none; /* Hide buttons on very small screens */
  }
  
  .match-interactive-widget {
    height: 380px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .match-card {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 240px;
  }

  .connection-center {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    height: 40px;
    margin: 10px 0;
  }

  .dotted-orbit {
    display: none;
  }

  .match-score-badge {
    width: 60px;
    height: 60px;
    border-width: 4px;
  }

  .match-score-badge .score-num {
    font-size: 16px;
  }

  .match-score-badge .score-txt {
    display: none;
  }
  
  .success-actions {
    flex-direction: column;
  }
}

/* ==========================================================================
   NUEVAS VISTAS (SALARIOS, BLOG, ABOUT, CONTACTO)
   ========================================================================== */
.container-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 12px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* SALARIOS VIEW */
.salary-filters-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.salary-filters-row .search-input-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 400px;
}

.salary-filters-row .search-input-group input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--text-color);
}

.salary-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.salary-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.salary-chip:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.salary-chip.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

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

.salary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.salary-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.salary-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.salary-card .salary-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.salary-card .salary-range {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.salary-card .salary-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.salary-card .salary-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.salary-card .skill-tag {
  background: var(--bg-body);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-light);
}

/* BLOG VIEW */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-image-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.blog-card-image-placeholder.blue {
  background: linear-gradient(135deg, #2b6cb0, #1a365d);
}

.blog-card-image-placeholder.orange {
  background: linear-gradient(135deg, #dd6b20, #7b341e);
}

.blog-card-image-placeholder i {
  width: 48px;
  height: 48px;
  opacity: 0.8;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--heading-color);
}

.blog-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ABOUT VIEW */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.about-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.about-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-icon i {
  color: var(--primary-color);
  width: 24px;
  height: 24px;
}

.about-icon.bg-teal-light {
  background: rgba(0, 139, 148, 0.1);
}

.about-icon.bg-blue-light {
  background: rgba(43, 108, 176, 0.1);
}

.about-info-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.about-info-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.about-values-section {
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.about-values-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--heading-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 20px;
}

.value-item i {
  width: 36px;
  height: 36px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.value-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.value-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
}

/* CONTACT VIEW */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.contact-info p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item i {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item div {
  display: flex;
  flex-direction: column;
}

.info-item strong {
  font-size: 14px;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.info-item span {
  font-size: 15px;
  color: var(--text-light);
}

.contact-form-card {
  padding: 30px;
}

/* PRICING PLANS */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 139, 148, 0.1);
}

.badge-featured {
  position: absolute;
  top: -15px;
  background: var(--primary-color);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--heading-color);
}

.pricing-card .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  font-family: 'Outfit', sans-serif;
}

.pricing-card .price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  text-align: left;
  width: 100%;
}

.pricing-card ul li {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card ul li i {
  color: var(--primary-color);
  width: 16px;
  height: 16px;
}

/* FAQ ACCORDION */
.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
  outline: none;
}

.faq-question:hover {
  background: rgba(0, 139, 148, 0.02);
}

.faq-question i {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
  transition: transform 0.2s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-answer.active {
  border-top-color: var(--border-color);
}

/* LEGAL TABS */
.legal-tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  outline: none;
  transition: color 0.2s ease;
}

.legal-tab-btn:hover {
  color: var(--primary-color);
}

.legal-tab-btn.active {
  color: var(--primary-color);
}

.legal-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

