/* ================================================================
   XPROTALENT v2 — Design System
   Font: Syne (display) + DM Sans (body)
   Theme: Dark prestige — deep slate, electric blue, emerald accent
   ================================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg: #07080f;
  --bg2: #0b0d18;
  --card: #0e1120;
  --card2: #111425;
  --card-hover: #141728;
  --text: #e6eaf8;
  --text-dim: #b0bcd8;
  --muted: #7585a8;
  --border: rgba(255, 255, 255, .07);
  --border-md: rgba(255, 255, 255, .11);
  --border-hi: rgba(255, 255, 255, .18);
  --blue: #4f8eff;
  --blue-dim: rgba(79, 142, 255, .15);
  --blue-glow: rgba(79, 142, 255, .3);
  --green: #22d07a;
  --green-dim: rgba(34, 208, 122, .12);
  --green-glow: rgba(34, 208, 122, .28);
  --amber: #f5a623;
  --danger: #f04f4f;
  --shadow: 0 12px 48px rgba(0, 0, 0, .55);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, .35);
  --r: 20px;
  --r-sm: 12px;
  --r-xs: 8px;
}

/* ── Fonts ─────────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.brand-name,
.section-title,
.hero-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 800;
}

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

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.hidden {
  display: none !important;
}

.mt-16 {
  margin-top: 16px;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================
   TOPBAR
   ================================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 15, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.logo-img {
  width: 200px;
  height: 70px;
  object-fit: contain;
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--border-md), 0 3px 10px rgba(0, 0, 0, .4);
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: .5px;
  background: linear-gradient(130deg, #fff 40%, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tag {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .2px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 6px 11px;
  border-radius: 9px;
  font-size: .87rem;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

.nav-user {
  font-size: .82rem;
  color: var(--muted);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 768px) {
  .topbar-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .topbar-nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(11, 13, 24, .97);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 16px;
    gap: 4px;
    z-index: 99;
  }

  .topbar-nav.open .nav-link,
  .topbar-nav.open .btn {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  appearance: none;
  border: 1px solid var(--border-md);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .08s;
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

.btn:hover {
  border-color: var(--border-hi);
  background: rgba(255, 255, 255, .08);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, #3b7cff, #2256e8);
  border-color: rgba(79, 142, 255, .5);
  box-shadow: 0 2px 16px var(--blue-glow);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.1);
  border-color: rgba(79, 142, 255, .7);
}

.btn-accent {
  background: linear-gradient(135deg, #1db86a, #13a05b);
  border-color: rgba(34, 208, 122, .4);
  box-shadow: 0 2px 16px var(--green-glow);
  color: #fff;
}

.btn-accent:hover {
  filter: brightness(1.1);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, .05);
  border-color: var(--border-hi);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  border-color: var(--border);
}

.btn-sm {
  padding: 7px 13px;
  font-size: .83rem;
  border-radius: var(--r-xs);
}

.btn-full {
  width: 100%;
}

/* Hero buttons */
.btn-hero-primary,
.btn-hero-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 28px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  min-width: 200px;
  gap: 3px;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #3b7cff, #2256e8);
  border-color: rgba(79, 142, 255, .5);
  box-shadow: 0 4px 28px var(--blue-glow);
  color: #fff;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--blue-glow);
}

.btn-hero-secondary {
  background: linear-gradient(135deg, #1db86a, #13a05b);
  border-color: rgba(34, 208, 122, .4);
  box-shadow: 0 4px 28px var(--green-glow);
  color: #fff;
}

.btn-hero-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px var(--green-glow);
}

.btn-icon {
  font-size: 1.3rem;
}

.btn-sub {
  font-size: .75rem;
  font-weight: 500;
  opacity: .8;
  font-family: 'DM Sans', sans-serif;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  padding: 88px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 142, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 142, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 142, 255, .18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: orbDrift 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(34, 208, 122, .14) 0%, transparent 70%);
  top: -50px;
  right: -80px;
  animation: orbDrift 16s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 142, 255, .10) 0%, transparent 70%);
  bottom: -80px;
  left: 40%;
  animation: orbDrift 20s ease-in-out infinite;
}

@keyframes orbDrift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(20px, -15px);
  }

  66% {
    transform: translate(-15px, 10px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid rgba(79, 142, 255, .25);
  border-radius: 999px;
  background: rgba(79, 142, 255, .08);
  font-size: .82rem;
  font-weight: 600;
  color: #93b8ff;
  letter-spacing: .3px;
  animation: fadeInDown .5s ease both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .6;
    transform: scale(.85)
  }
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.5px;
  animation: fadeInUp .5s .1s ease both;
}

.hero-accent {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  animation: fadeInUp .5s .2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp .5s .3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
  animation: fadeInUp .5s .4s ease both;
}

.hero-stat {
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.stat-num {

  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: .75rem;
  color: var(--muted);
  white-space: nowrap;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media(max-width:640px) {
  .hero {
    padding: 60px 0 56px;
  }

  .hero-stats {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    min-width: 0;
    width: 100%;
  }
}

/* ================================================================
   SECTIONS
   ================================================================ */
.section {
  padding: 80px 0;
}

.section-alt {
  background: rgba(255, 255, 255, .015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.3px;
  margin-bottom: 40px;
}

/* ── How It Works ───────────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media(max-width:760px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

.how-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
}

.how-candidate {
  border-top: 3px solid var(--blue);
}

.how-employer {
  border-top: 3px solid var(--green);
}

.how-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-dim);
  border: 1px solid rgba(79, 142, 255, .2);
  color: #93b8ff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 22px;
}

.how-badge-employer {
  background: var(--green-dim);
  border-color: rgba(34, 208, 122, .2);
  color: #6ddfaa;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step {
  display: flex;
  gap: 14px;
}

.step-num {

  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--muted);
  min-width: 28px;
  padding-top: 2px;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: .96rem;
  margin-bottom: 4px;
}

.step-body p {
  font-size: .87rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ── Features Grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media(max-width:900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:540px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}

.feature-card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: .98rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: .87rem;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

@media(max-width:760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px;
}

.pricing-candidate {
  border-top: 3px solid var(--blue);
}

.pricing-employer {
  border-top: 3px solid var(--green);
}

.pricing-type {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 6px;
}

.price-amount {

  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.plan-slash {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-period {
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.plan-selector {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 4px;
  margin-bottom: 16px;
}

.plan-tab {
  flex: 1;
  padding: 8px 6px;
  border: none;
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.plan-tab.active {
  background: rgba(34, 208, 122, .15);
  color: #6ddfaa;
  box-shadow: 0 0 0 1px rgba(34, 208, 122, .25);
}

.plan-savings {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 208, 122, .1);
  border: 1px solid rgba(34, 208, 122, .2);
  color: var(--green);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pricing-features li {
  font-size: .88rem;
  color: var(--text-dim);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.45;
}

.pricing-note {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ================================================================
   AUTH SECTION
   ================================================================ */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media(max-width:760px) {
  .auth-split {
    grid-template-columns: 1fr;
  }
}

.auth-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--r);
  padding: 28px;
}

.auth-panel-employer {
  border-top-color: var(--green);
}

.auth-panel-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.auth-panel-icon {
  font-size: 1.8rem;
  margin-top: 2px;
}

.auth-panel-header h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.auth-panel-sub {
  font-size: .86rem;
  color: var(--muted);
}

/* Auth tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 4px;
  margin-bottom: 18px;
}

.auth-tab {
  flex: 1;
  padding: 9px 12px;
  border: none;
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  transition: background .15s, color .15s;
}

.auth-tab.active {
  background: rgba(79, 142, 255, .18);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(79, 142, 255, .3);
}

.auth-panel-employer .auth-tab.active {
  background: rgba(34, 208, 122, .15);
  box-shadow: 0 0 0 1px rgba(34, 208, 122, .25);
  color: #6ddfaa;
}

.auth-form-panel {
  display: none;
}

.auth-form-panel.active {
  display: block;
}

/* ── Form Fields ────────────────────────────────────────────── */
.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.hint-inline {
  font-weight: 400;
  font-size: .79rem;
  opacity: .7;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: .6;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(79, 142, 255, .5);
  box-shadow: 0 0 0 3px rgba(79, 142, 255, .1);
}

select option {
  background: #0e1120;
  color: var(--text);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.pass-wrap {
  position: relative;
}

.pass-wrap input {
  padding-right: 44px;
}

.pass-toggle {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: .92rem;
  opacity: .45;
  padding: 4px;
  line-height: 1;
  color: inherit;
}

.pass-toggle:hover {
  opacity: 1;
}

.strength-bar-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
}

.strength-bar {
  height: 3px;
  border-radius: 4px;
  flex: 1;
  background: rgba(255, 255, 255, .08);
  transition: background .2s;
}

.strength-label {
  font-size: .76rem;
  color: var(--muted);
  white-space: nowrap;
}

.form-note {
  font-size: .79rem;
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.55;
}

.form-note a {
  color: #93b8ff;
}

/* ── Unlock / Subscribe Boxes ──────────────────────────────── */
.unlock-box {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(79, 142, 255, .22);
  background: linear-gradient(135deg, rgba(79, 142, 255, .06), rgba(34, 208, 122, .03));
  border-radius: 16px;
}

.unlock-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.unlock-icon {
  font-size: 1.5rem;
  margin-top: 2px;
}

.unlock-head h4 {
  font-size: .96rem;
  margin-bottom: 5px;
}

.unlock-head p {
  font-size: .84rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.unlock-price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 14px;
}

.unlock-price-tag {
  /* font-family: 'Syne', sans-serif; */
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green);
}

.unlock-price-note {
  font-size: .8rem;
  color: var(--muted);
}

.subscribe-box {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(34, 208, 122, .2);
  background: linear-gradient(135deg, rgba(34, 208, 122, .05), rgba(79, 142, 255, .03));
  border-radius: 16px;
}

.subscribe-head {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.subscribe-head h4 {
  font-size: .96rem;
  margin-bottom: 5px;
}

.subscribe-head p {
  font-size: .84rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.sub-plan-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.sub-plan-option {
  cursor: pointer;
}

.sub-plan-option input {
  display: none;
}

.sub-plan-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .03);
  transition: border-color .15s, background .15s;
  cursor: pointer;
}

.sub-plan-option input:checked+.sub-plan-label {
  border-color: rgba(34, 208, 122, .4);
  background: rgba(34, 208, 122, .08);
}

.sub-plan-option:hover .sub-plan-label {
  border-color: var(--border-md);
  background: rgba(255, 255, 255, .04);
}

.sub-plan-name {
  font-size: .9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-plan-price {
  /* font-family: 'Syne', sans-serif; */
  font-size: .98rem;
  font-weight: 700;
}

.sub-plan-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 208, 122, .15);
  border: 1px solid rgba(34, 208, 122, .25);
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .4px;
}

.paystack-badge {
  display: block;
  width: 48%;
  max-width: 160px;
  margin: 12px auto 0;
  background: #e8e9eb;
  border-radius: 18px;
  padding: 4px 8px;
}

/* ================================================================
   PORTAL PAGES SHARED LAYOUT
   ================================================================ */
.portal-layout {
  display: flex;
  min-height: calc(100vh - 62px);
}

.portal-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--card2);
  border-right: 1px solid var(--border);
  padding: 22px 16px;
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 10px 4px;
  margin-top: 8px;
}

.sidebar-label:first-child {
  margin-top: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: background .15s, color .15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, .05);
  color: var(--text);
}

.sidebar-link.active {
  background: var(--blue-dim);
  color: var(--blue);
}

.sidebar-link-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.portal-content {
  flex: 1;
  min-width: 0;
  padding: 28px 28px 48px;
  overflow-y: auto;
}

.portal-header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.portal-header h1 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.portal-header p {
  color: var(--muted);
  font-size: .9rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

@media(max-width:860px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
}

.stat-card-label {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.stat-card-value {
  font-size: 2rem;
  font-weight: 800;
}

.stat-card-sub {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Content cards */
.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  margin-bottom: 18px;
}

.content-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.content-card-head h3 {
  font-size: 1rem;
}

/* Expiry banner */
.expiry-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(245, 166, 35, .3);
  background: rgba(245, 166, 35, .06);
  margin-bottom: 20px;
  font-size: .9rem;
}

.expiry-banner.critical {
  border-color: rgba(240, 79, 79, .4);
  background: rgba(240, 79, 79, .07);
}

.expiry-banner-icon {
  font-size: 1.3rem;
}

.expiry-banner-text {
  flex: 1;
}

.expiry-banner-text strong {
  color: var(--amber);
}

.expiry-banner.critical .expiry-banner-text strong {
  color: #f47979;
}

/* Notification items */
.notif-item {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}

.notif-dot.read {
  background: var(--muted);
  opacity: .4;
}

.notif-body {
  flex: 1;
}

.notif-title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.notif-text {
  font-size: .84rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.notif-time {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Message thread items */
.thread-item {
  display: flex;
  gap: 13px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: border-color .15s, background .15s;
}

.thread-item:hover {
  border-color: var(--border-md);
  background: rgba(255, 255, 255, .02);
}

.thread-item.unread {
  border-color: rgba(79, 142, 255, .25);
}

.thread-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-dim);
  border: 1px solid rgba(79, 142, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--blue);
  flex-shrink: 0;
}

.thread-body {
  flex: 1;
  min-width: 0;
}

.thread-name {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.thread-preview {
  font-size: .83rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-meta {
  font-size: .75rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Message bubbles */
.messages-view {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}

.msg-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.55;
  word-break: break-word;
}

.msg-bubble.sent {
  align-self: flex-end;
  background: linear-gradient(135deg, #3b7cff, #2256e8);
  border-radius: 16px 16px 4px 16px;
  color: #fff;
}

.msg-bubble.recv {
  align-self: flex-start;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
}

.msg-meta {
  font-size: .74rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Skills tags */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-md);
  background: rgba(255, 255, 255, .04);
  font-size: .8rem;
  color: var(--text-dim);
  cursor: default;
}

.skill-tag.removable {
  cursor: pointer;
}

.skill-tag.removable:hover {
  border-color: rgba(240, 79, 79, .4);
  color: #f47979;
}

.skill-tag-level {
  font-size: .7rem;
  color: var(--muted);
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

/* Autocomplete dropdown */
.autocomplete-wrap {
  position: relative;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #0e1628;
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  max-height: 230px;
  overflow-y: auto;
  z-index: 200;
}

.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .1s;
}

.autocomplete-item:hover,
.autocomplete-item.active {
  background: var(--blue-dim);
}

.autocomplete-cat {
  font-size: .75rem;
  color: var(--muted);
}

/* Candidate profile card (for employer search) */
.candidate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: border-color .2s, transform .15s;
  cursor: pointer;
}

.candidate-card:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
}

.candidate-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-dim);
  border: 1px solid rgba(79, 142, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
}

.candidate-info {
  flex: 1;
  min-width: 0;
}

.candidate-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.candidate-headline {
  font-size: .86rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.candidate-meta {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.candidate-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ATS Score display */
.ats-score-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--border);
  background: var(--card2);
  flex-shrink: 0;
}

.ats-score-num {
  /* font-family: 'Syne', sans-serif; */
  font-size: 1.7rem;
  font-weight: 800;
}

.ats-score-label {
  font-size: .7rem;
  color: var(--muted);
}

.ats-score-ring.grade-a {
  border-color: var(--green);
}

.ats-score-ring.grade-b {
  border-color: #4aeaae;
}

.ats-score-ring.grade-c {
  border-color: var(--amber);
}

.ats-score-ring.grade-d {
  border-color: #f97316;
}

.ats-score-ring.grade-f {
  border-color: var(--danger);
}

/* Section score bars */
.score-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.score-bar-label {
  font-size: .82rem;
  color: var(--muted);
  min-width: 110px;
}

.score-bar-track {
  flex: 1;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
}

.score-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width .5s ease;
}

.score-bar-val {
  font-size: .78rem;
  color: var(--muted);
  min-width: 30px;
  text-align: right;
}

/* Jobs listing (portal) */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-card {
  display: block;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
  transition: border-color .15s, background .15s, transform .1s;
}

.job-card:hover {
  border-color: rgba(79, 142, 255, .3);
  background: rgba(79, 142, 255, .04);
  transform: translateY(-1px);
}

.job-card .top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.job-card .title {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.3;
}

.job-card .meta {
  color: var(--muted);
  margin-top: 5px;
  font-size: .83rem;
}

.job-card .snip {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: .87rem;
  line-height: 1.45;
}

.job-badge {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: .74rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.job-card.remote .job-badge {
  border-color: rgba(34, 208, 122, .3);
  color: var(--green);
}

/* Pager */
.pager {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 18px 0 4px;
}

.pager-info {
  font-size: .83rem;
  color: var(--muted);
}

/* Filter panel */
.filter-panel {
  background: rgba(0, 0, 0, .15);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.filter-row:last-child {
  margin-bottom: 0;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 140px;
}

.filter-field.grow {
  flex: 1 1 200px;
}

.filter-field label {
  font-size: .79rem;
  color: var(--muted);
  font-weight: 500;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.result-count {
  font-size: .82rem;
  margin-left: auto;
  color: var(--muted);
}

/* Toggle */
.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: .86rem;
  color: var(--muted);
}

.toggle-input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: background .2s;
}

.toggle-slider::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--muted);
  transition: transform .2s, background .2s;
}

.toggle-input:checked+.toggle-slider {
  background: rgba(34, 208, 122, .3);
  border-color: rgba(34, 208, 122, .4);
}

.toggle-input:checked+.toggle-slider::after {
  transform: translateX(16px);
  background: var(--green);
}

/* Resume builder sections */
.resume-section {
  margin-bottom: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.resume-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.resume-section-head h4 {
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-section-body {
  padding: 18px;
}

.resume-entry {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  margin-bottom: 12px;
  position: relative;
  background: rgba(255, 255, 255, .02);
}

.resume-entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media(max-width:640px) {
  .resume-entry-grid {
    grid-template-columns: 1fr;
  }
}

.entry-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  padding: 4px;
  transition: color .15s;
}

.entry-remove:hover {
  color: var(--danger);
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, .1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: var(--muted);
  font-size: .9rem;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.empty-state-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.empty-state-text {
  font-size: .87rem;
  line-height: 1.55;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--card2);
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

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

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

.footer-logo {
  width: 200px;
  height: 40px;
  border-radius: 9px;
}

.footer-brand-name {
  /* font-family: 'Syne', sans-serif; */
  font-size: .98rem;
  font-weight: 800;
}

.footer-brand-tag {
  font-size: .78rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .15s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: .8rem;
  color: var(--muted);
}

/* ================================================================
   TOAST
   ================================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: 640px;
  width: calc(100% - 28px);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(11, 13, 24, .96);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  z-index: 9999;
}

.toast .msg {
  line-height: 1.45;
  font-size: .9rem;
  flex: 1;
}

.toast .x {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

.toast.ok {
  border-color: rgba(34, 208, 122, .4);
}

.toast.err {
  border-color: rgba(240, 79, 79, .45);
}

.toast.warn {
  border-color: rgba(245, 166, 35, .4);
}

/* ================================================================
   LEGAL PAGES
   ================================================================ */
.legal-shell {
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(79, 142, 255, .14), transparent 60%),
    radial-gradient(1000px 600px at 80% 20%, rgba(34, 208, 122, .1), transparent 55%),
    linear-gradient(180deg, var(--bg), #070c16 70%);
  padding: 22px 14px 60px;
}

.legal-topbar {
  max-width: 980px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.legal-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.legal-brand .name {
  /* font-family: 'Syne', sans-serif; */
  font-weight: 800;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-dim);
  background: rgba(255, 255, 255, .03);
  font-size: .87rem;
  font-weight: 500;
  transition: background .15s, border-color .15s;
}

.legal-back:hover {
  background: rgba(255, 255, 255, .05);
  border-color: var(--border-md);
  color: var(--text);
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-header {
  padding: 26px 28px 16px;
  background: radial-gradient(900px 420px at 10% 10%, rgba(79, 142, 255, .2), transparent 60%), linear-gradient(180deg, rgba(15, 26, 45, .9), rgba(13, 22, 39, .7));
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: .1px;
}

.legal-header .meta {
  color: var(--muted);
  font-size: 13px;
}

.legal-body {
  padding: 20px 28px 12px;
}

.legal-body h2 {
  margin: 24px 0 10px;
  font-size: 17px;
}

.legal-body h3 {
  margin: 18px 0 8px;
  font-size: 14px;
  color: var(--text);
}

.legal-body p {
  margin: 10px 0;
  color: rgba(230, 234, 248, .9);
  font-size: 14px;
  line-height: 1.7;
}

.legal-body ul,
.legal-body ol {
  margin: 10px 0 10px 22px;
  color: rgba(230, 234, 248, .9);
  font-size: 14px;
}

.legal-body li {
  margin: 6px 0;
  line-height: 1.6;
}

.legal-body a {
  color: #93b8ff;
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-footer {
  padding: 16px 28px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  background: rgba(7, 12, 22, .35);
}

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

.legal-footer .links a {
  color: var(--muted);
}

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

@media(max-width:600px) {
  .legal-header {
    padding: 18px;
  }

  .legal-body {
    padding: 14px 18px 10px;
  }

  .legal-footer {
    padding: 14px 18px;
  }
}

/* ── Settings / visibility rows ─────────────────────────────── */
.vis-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.vis-row:last-child {
  border-bottom: none;
}

.vis-label {
  font-size: .9rem;
  font-weight: 600;
}

.vis-sub {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Availability badge (reused across portals) ─────────────── */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .79rem;
  font-weight: 600;
}

.avail-badge.immediate {
  background: rgba(34, 208, 122, .12);
  border: 1px solid rgba(34, 208, 122, .25);
  color: var(--green);
}

.avail-badge.open {
  background: rgba(79, 142, 255, .1);
  border: 1px solid rgba(79, 142, 255, .2);
  color: #93b8ff;
}

.avail-badge.not {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ================================================================
   RESPONSIVE — PORTAL SIDEBAR
   ================================================================ */
@media(max-width:860px) {
  .portal-layout {
    flex-direction: column;
  }

  .portal-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 4px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-label {
    display: none;
  }

  .sidebar-link {
    flex: 0;
    white-space: nowrap;
    padding: 8px 12px;
  }

  .portal-content {
    padding: 18px 16px 40px;
  }
}