
/* Rectru UI – Modern, polished theme */


:root {
  --bg: #020617;
  --bg-elevated: #030712;
  --bg-card: rgba(15, 23, 42, 0.95);
  --bg-soft: rgba(15, 23, 42, 0.8);
  --border-subtle: rgba(148, 163, 184, 0.3);
  --border-strong: rgba(148, 163, 184, 0.7);
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.18);
  --accent-soft-strong: rgba(129, 140, 248, 0.3);
  --accent-strong: #4f46e5;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #f97373;
  --success: #22c55e;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.9);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #020617 0, #000 60%);
  color: var(--text);
}

body {
  min-height: 100vh;
}

/* ---- Layout helpers ---- */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ✅ Header should span full browser width */
.site-header .container {
  max-width: none;
  width: 100%;
  padding-left: 18px;
  padding-right: 18px;
}



.section {
  padding: 72px 0;
}

.section-alt {
  padding: 72px 0;
  background: radial-gradient(circle at top, #020617 0, #020617 25%, #020617 60%);
  position: relative;
  overflow: hidden;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.12) 0, transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

/* ---- Header / nav ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(15, 23, 42, 1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* layout from left to right */
  height: 72px;
  gap: 18px;
}


/* ✅ Header logos should never be huge (overrides global .site-logo) */
.site-header .site-logo{
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ✅ Account page: prevent flex shrink next to "Back to Portal" */
.site-header .account-logo{
  flex: 0 0 auto;
}


.site-logo {
  height: 150px;          /* adjust as needed */
  width: auto;
  object-fit: contain;
  display: block;
}


.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /*padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.9);
  font-weight: 700;
  letter-spacing: 0.14em;*/
  text-transform: uppercase;
  font-size: 14px;
}

/* Move logo a bit closer to the left edge */
.site-header .logo {
  margin-left: -35px;   /* tweak this value until it looks right */
}


/*.logo::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e 0, #16a34a 45%, transparent 80%);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.95);
}*/

.logo-center {
  text-align: center;
  margin-bottom: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;        /* smaller gap so more items fit */
  font-size: 14px;
  flex: 1 1 auto;   /* nav can shrink when space is tight */
  min-width: 0;
  flex-wrap: wrap;  /* wraps instead of pushing language dropdown */
  justify-content: center;
}


.nav-links a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #6366f1, #a855f7);
  transition: width 0.18s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;   /* keeps dropdown stable */
  margin-left: 12px;
}


.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

/* Auth pages: pin language switcher to top-right */
.auth-body .lang-switcher {
  position: absolute;
  top: 16px;
  right: 16px;
  margin-right: 0;
  z-index: 50;
}


.lang-label {
  font-size: 12px;
  color: var(--muted);
}

.lang-select {
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.lang-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
}


/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.08s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: white;
  border-color: rgba(129, 140, 248, 0.8);
  box-shadow: 0 16px 40px rgba(88, 80, 236, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 18px 50px rgba(129, 140, 248, 0.8);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--muted);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
}

.btn-outline:hover {
  border-color: rgba(148, 163, 184, 0.8);
  color: var(--text);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.95));
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text);
}

.btn.small {
  padding: 6px 12px;
  font-size: 12px;
}

/* CV shortlist: keep invite buttons compact so Phone/Match% columns stay wider */
.btn.inviteBtn {
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
}

.full-width {
  width: 100%;
}

/* ---- Hero ---- */

.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Move the hero heading slightly upwards (avoid clipping on carousel slides) */
.hero h1 {
  margin-top: -6px;
}



.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent 55%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.16), transparent 50%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: center;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.highlight {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* ---- Hero carousel (LEFT / hero-copy) ---- */
.hero-left-viewport {
  overflow: hidden;
}

.hero-left-track {
  display: flex;
  width: 100%;
  transition: transform 820ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.hero-left-slide {
  flex: 0 0 100%;
}

.hero-left-dots{
  display:flex;
  gap:8px;
  margin-top: 14px;
  align-items:center;
}

.hero-left-dots .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.55);
  background: rgba(148,163,184,.18);
  padding: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-left-dots .dot:hover{
  transform: scale(1.15);
}

.hero-left-dots .dot.is-active{
  background: radial-gradient(circle, rgba(168,85,247,.95), rgba(99,102,241,.85));
  border-color: rgba(168,85,247,.9);
}

.hero-carousel-slide .carousel-copy{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.hero-card .hero-actions{
  margin-top: 10px;
  margin-bottom: 8px;
}

.hero-card .hero-actions .btn{
  padding: 8px 14px;
  font-size: 13px;
}

/* Bullets used in the new slides */
.hero-bullets{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.hero-bullets li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-bullets li::before{
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #4ade80 0, #22c55e 60%, transparent 85%);
}


.hero-card {
  flex: 0 0 420px;
  position: relative;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.14),
    transparent 40%,
    rgba(236, 72, 153, 0.12)
  );
  opacity: 0.8;
  pointer-events: none;
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #4ade80 0, #22c55e 60%, transparent 85%);
}


/* bullet checklist inside the card */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #4ade80 0, #22c55e 60%, transparent 85%);
}

/* ---- Text helpers ---- */

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.form-hint {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.35;
}

/* ---- Feature grid ---- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.feature-card {
  position: relative;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

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

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Pricing ---- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.pricing-card {
  position: relative;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  border-radius: 20px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.pricing-card > * {
  position: relative;
  z-index: 1;             /* ensures button/text sit above the overlay */
}


.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.24), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;

  pointer-events: none;   /* ✅ IMPORTANT: allows clicks through */
  z-index: 0;             /* keep it behind content */
}


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

.pricing-card.highlighted {
  border-color: rgba(129, 140, 248, 0.95);
  box-shadow: 0 22px 60px rgba(88, 80, 236, 0.9);
}

.pricing-name {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.9);
}

.pricing-price {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0 4px;
}

.pricing-interval {
  font-size: 12px;
  color: var(--muted);
}

.pricing-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-meta strong {
  color: var(--text);
}

.pricing-cta {
  margin-top: 10px;
}

/* ---- About ---- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 26px;
}

.about-highlight {
  position: relative;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(129, 140, 248, 0.24), transparent 50%);
  opacity: 0.7;
  pointer-events: none;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 18px 0 22px;
  margin-top: 24px;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 1)
  );
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

/* ---- Cards / forms / tables ---- */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

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

label {
  font-size: 13px;
  color: var(--muted);
}
/* CV shortlist: keep auto-invite text on single line next to checkbox */
.cv-auto-invite-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  margin-top: 10px; /* add spacing above checkbox row */
}

.cv-auto-invite-row label {
  margin: 0;
  white-space: nowrap;
}

input,
textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
}

/* Match dropdown styling with the rest of the dark UI (used in CV shortlist pages) */
select.input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #000; /* requested black */
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
}

/* Keep options readable in dark theme (important on some browsers/OS) */
select.input option {
  background: #000;
  color: var(--text);
}

/* Focus state consistent with other controls */
select.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
}

/* Mild red highlight for invalid inputs (used for % threshold validation, etc.) */
.input-invalid {
  border-color: rgba(239, 68, 68, 0.7) !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35) !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

textarea {
  resize: vertical;
}

.form-message {
  margin-top: 8px;
  font-size: 13px;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--success);
}

/* Table */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.table th,
.table td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
}

.table th {
  font-weight: 500;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   Excel-like table filters (dropdown in header)
   ------------------------------------------------------------------ */

/* Works even if the table doesn't have the .table class */
th.th-filterable {
  position: relative;
  padding-right: 30px; /* space for the dropdown arrow */
}

.th-filter-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.8);
  color: rgba(148, 163, 184, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.th-filter-btn:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.65);
}

.th-filter-btn.active {
  color: #c7d2ff;
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.35);
}

.table-filter-menu {
  position: fixed;
  z-index: 9999;
  width: 280px;
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(2, 6, 23, 0.98), rgba(0, 0, 0, 0.98));
  box-shadow: var(--shadow-soft);
  padding: 10px;
}

.table-filter-menu .tf-sort {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.table-filter-menu .tf-item {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.6);
  color: var(--muted);
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
}

.table-filter-menu .tf-item:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.55);
}

.table-filter-menu .tf-search {
  margin-bottom: 10px;
}

.table-filter-menu .tf-list {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  overflow: auto;
  max-height: 280px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.55);
}

.table-filter-menu .tf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.table-filter-menu .tf-check:hover {
  background: rgba(99, 102, 241, 0.14);
}

.table-filter-menu .tf-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.table-filter-menu .tf-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.18);
  margin: 6px 0;
}

.table-filter-menu .tf-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.table tr:last-child td {
  border-bottom: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.status-pill.scheduled {
  border-color: rgba(59, 130, 246, 0.9);
  color: #bfdbfe;
}

.status-pill.completed {
  border-color: rgba(34, 197, 94, 0.9);
  color: #bbf7d0;
}

.status-pill.cancelled {
  border-color: rgba(239, 68, 68, 0.9);
  color: #fecaca;
}

/* ---- Auth layout ---- */

body.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #020617 0, #020617 45%, #000 100%);
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 26px 22px 20px;
  background: radial-gradient(circle at top left, #020617, #020617 40%, #000 100%);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.demo-accounts {
  margin-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding-top: 10px;
}

.demo-accounts ul {
  margin: 0;
  padding-left: 20px;
  font-size: 12px;
  color: var(--muted);
}

.demo-accounts code {
  font-size: 12px;
}

/* ---- Portal layout ---- */

/* ---- Portal layout ---- */

/* 2-column portal grid:
   - Row 1: left = plan/usage, right = candidate interest + schedule button
   - Row 2: interviews spans full width
*/
.portal-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: 22px;
}

.portal-left {
  min-width: 0;
}

.portal-right {
  min-width: 0;
}

/* Usage card spans both columns (same as interviews) */
.portal-usage {
  grid-column: 1 / -1;
  min-width: 0;
}

/* Interviews card spans both columns */
.portal-interviews {
  grid-column: 1 / -1;
  min-width: 0;
}

/* Usage layout (2 compact rows with divider) */
.usage-two-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.usage-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  column-gap: 14px;
  align-items: center;
}

.usage-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.15);
}

.usage-right {
  text-align: right;
}

/* keep the table in a scrollable sub-area */
.interview-table-wrapper {
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
}

.interview-table-scroll {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: auto;
}

/* Prevent long emails/IDs/URLs from forcing horizontal scroll */
.interview-table-scroll .table th,
.interview-table-scroll .table td {
  overflow-wrap: anywhere;
}
/* CV Shortlist Results: ensure Job Title wraps (no 'single-line overflow) */
.table td,
.table th {
  white-space: normal;
}

/* CV shortlist (same-page results table): keep Phone + Match % on one line */
.cvResultsTable th:nth-child(4),
.cvResultsTable td:nth-child(4) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  min-width: 120px;
}

.cvResultsTable th:nth-child(5),
.cvResultsTable td:nth-child(5) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  min-width: 80px;
}

.table td:nth-child(2),
.table th:nth-child(2) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* CV Shortlist Results - keep the 3 top dropdowns in one line */
.sr-top-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

.sr-top-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sr-top-select .input {
  width: 100%;
}

/* Responsive: stack on small screens only */
@media (max-width: 900px) {
  .sr-top-selects {
    grid-template-columns: 1fr;
  }
}

/* CV Upload - ultra portal style */
.cv-upload-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cv-file-input {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cv-upload-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  cursor: pointer;
  user-select: none;
  width: fit-content;

  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.2px;

  background: transparent;
  border: 1px solid rgba(120,190,255,0.35);

  box-shadow:
    0 10px 26px rgba(0,0,0,0.34),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 26px rgba(120,180,255,0.10);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, filter 160ms ease;
}

/* inner sheen */
.cv-upload-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 15px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.00) 55%);
  opacity: 0.55;
}

/* neon edge glow */
.cv-upload-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(90,170,255,0.55), rgba(255,255,255,0.00), rgba(170,110,255,0.45));
  opacity: 0.22;
  filter: blur(10px);
}

.cv-upload-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.32);
  box-shadow:
    0 14px 34px rgba(0,0,0,0.42),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 34px rgba(120,180,255,0.18);
}

.cv-upload-btn:active {
  transform: translateY(0);
}

.cv-upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;

  /* glossy blue */
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.55), rgba(255,255,255,0.0) 55%),
    linear-gradient(135deg, rgba(60,170,255,0.95), rgba(70,110,255,0.85));
  border: 1px solid rgba(255,255,255,0.28);

  /* “3D” depth + glow */
  box-shadow:
    0 10px 18px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.14) inset,
    0 0 22px rgba(80,170,255,0.35);

  color: #ffffff;
}

.cv-upload-icon svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.25));
}

.cv-upload-selected {
  opacity: 0.85;
  line-height: 1.35;
}


/* ---- Utility ---- */

.hidden {
  display: none;
}

/* Password inputs with eye toggle (used in My Account change password) */
.pw-wrap {
  position: relative;
  margin-top: 6px;
}

.pw-wrap input {
  padding-right: 52px;
  margin-top: 0;
  height: 44px;
  display: block;
}

.pw-toggle {
  position: absolute;
  top: 0;
  right: 10px;
  height: 60%;
  width: 44px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pw-toggle:hover {
  opacity: 0.8;
}
/* ---- Responsive ---- */

@media (max-width: 700px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

    .site-header .logo{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }


  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

    .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-interviews {
    grid-column: auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .section,
  .section-alt {
    padding: 56px 0;
  }

  .hero {
    padding-top: 72px;
  }
}
/* Interview table links (ID + Evaluation) */
.table a,
.table a:visited {
  color: #a5b4ff;          /* light indigo – visible on dark bg */
  text-decoration: none;
}

.table a:hover {
  color: #c7d2ff;          /* a bit brighter on hover */
  text-decoration: underline;
}

/* Cancel interview button in portal table */
.cancel-btn {
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.85);
  background: transparent;
  color: #fecaca;
  font-size: 11px;
  cursor: pointer;
}

.cancel-btn:hover {
  background: rgba(127, 29, 29, 0.7);
}
/* Interview table links (ID / Evaluation) */
.table a,
.table a:visited {
  color: #c7d2ff;        /* light indigo */
  text-decoration: none;
}

.table a:hover {
  color: #e0e7ff;        /* brighter on hover */
  text-decoration: underline;
}
/* Position language selector in top-right on login page */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1000;
}

.lang-label {
  font-size: 14px;
  opacity: 0.8; /* optional */
}

.lang-select {
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
}

.language-switcher label {
  color: #ccc;
  font-size: 14px;
}

/* Language selector styling (keep as is if you like it) */
.language-switcher select {
  background: #1e1e2f;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #444;
}

/* Login page only */
.login-page .logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;     /* optional tweak */
  margin-bottom: 0;     /* remove extra space under logo */
}

.login-page .logo-center .site-logo {
  width: 500px;         /* make logo large on login */
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Reduce overall top padding inside the card */
.login-page .auth-card {
  padding-top: 5px !important;
}

/* 🔑 KEY FIX: remove large margin ABOVE the heading */
.login-page .auth-card h1 {
  margin-top: 0;   /* or 0 if you want it tighter */
}
.portal-user-menu { position: relative; display: inline-block; }

.portal-user-dropdown {
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 160px;
  background: rgba(10, 12, 20, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  z-index: 999;
}

.portal-user-dropdown a,
.portal-user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  background: transparent;
  border: 0;
  color: white;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px;
}

.portal-user-dropdown a:hover,
.portal-user-dropdown button:hover {
  background: rgba(255,255,255,0.08);
}

.hidden { display: none !important; }
/* ---------- Modal (Upgrade) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}

.modal {
  width: 100%;
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 18px 80px rgba(0,0,0,0.45);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-body {
  padding: 16px;
}

.modal-footer {
  padding: 12px 16px 16px 16px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

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

@media (min-width: 720px) {
  .plan-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.plan-card {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px;
  background: var(--bg-soft);
  cursor: pointer;
}

.plan-card.selected {
  outline: 2px solid var(--accent);
  border-color: rgba(99,102,241,0.6);
}

.plan-card h4 {
  margin: 0 0 6px 0;
  font-size: 14px;
}

.plan-price {
  font-size: 20px;
  font-weight: 800;
  margin: 8px 0;
}

.plan-meta {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.35;
}

.interval-toggle {
  display: inline-flex;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  overflow: hidden;
}

.interval-toggle button {
  padding: 8px 12px;
  background: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
}

.interval-toggle button.active {
  background: rgba(99,102,241,0.22);
  color: white;
}
/* My Account: Subscription box */
.sub-box {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
}

/* New: subscription structured table/grid */
.subCard2 {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  padding: 16px;
}

.subTitleRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.subTitle2 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* This is the key: 2 columns */
.subGrid2 {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 14px;
  align-items: start;
}

.subLabel2 {
  color: rgba(255,255,255,0.75);
  font-weight: 700;
}

.subValue2 {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

/* Portal schedule form: dark themed selects */
#scheduleForm select {
  background: rgba(15, 23, 42, 0.55);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
}

/* option list (best effort; browser-dependent) */
#scheduleForm select option {
  background: #0b1220;
  color: #e5e7eb;
}

/* focus state */
#scheduleForm select:focus {
  border-color: rgba(167, 139, 250, 0.8);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}
/* CV shortlist results table column sizing */
.cv-results-table {
  table-layout: fixed;
  width: 100%;
}

.cv-results-table th,
.cv-results-table td {
  vertical-align: top;
  overflow-wrap: anywhere;
}

/* Checkbox */
.cv-results-table th:nth-child(1),
.cv-results-table td:nth-child(1) {
  width: 34px;
}

/* Job Title */
.cv-results-table th:nth-child(2),
.cv-results-table td:nth-child(2) {
  width: 130px;
}

/* Name */
.cv-results-table th:nth-child(3),
.cv-results-table td:nth-child(3) {
  width: 140px;
}

/* Email (shrink) */
.cv-results-table th:nth-child(4),
.cv-results-table td:nth-child(4) {
  width: 140px;
  max-width: 150px;
 overflow-wrap: anywhere;
}

/* Phone (ONLY if you have phone column as 5) */
.cv-results-table th:nth-child(5),
.cv-results-table td:nth-child(5) {
  width: 140px;
  overflow-wrap: anywhere;
}

/* Match % (if your Match column is 6) */
.cv-results-table th:nth-child(6),
.cv-results-table td:nth-child(6) {
  width: 80px;
}

/* Why (grow) */
.cv-results-table th:nth-child(7),
.cv-results-table td:nth-child(7) {
  width: 250px;
}

/* Missing */
.cv-results-table th:nth-child(8),
.cv-results-table td:nth-child(8) {
  width: 250px;
}

/* Invite */
.cv-results-table th:nth-child(9),
.cv-results-table td:nth-child(9) {
  width: 150px;
}
/* CV Shortlist results: sticky header inside scroll container */
.interview-table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(10, 14, 25, 0.95);
  backdrop-filter: blur(6px);
}
/* Fix checkbox styling (override global input styles) */
input[type="checkbox"] {
  width: auto !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-block !important;
  vertical-align: middle;
  appearance: auto;
  -webkit-appearance: auto;
}

/* CV Shortlist Results - left Jobs pagination arrows */
#srJobsPrev, #srJobsNext {
  width: 34px;
  height: 30px;
  padding: 0;
  line-height: 1;
}
/* ===== Full Status Modal (shared) ===== */
.full-status-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-status-modal.hidden {
  display: none;
}

.full-status-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.full-status-modal__panel {
  position: relative;
  width: min(900px, 92vw);
  max-height: 84vh;
  overflow: auto;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

.full-status-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
/* ============================
   FIX: Prevent glass overlays from blocking clicks
   ============================ */

.feature-card::before,
.feature-card::after {
  pointer-events: none !important;
}

/* Ensure actual card content sits above any overlay */
.feature-card > * {
  position: relative;
  z-index: 1;
}
/* Interest page: compact selects to free space for text inputs */
.interestSelect {
  min-width: 140px;
  width: 140px;
  padding-left: 12px;
  padding-right: 36px;
}

.interestDuration {
  min-width: 160px;
  width: 160px;
}

.interestDeleteBtn {
  padding: 10px 12px !important;
  min-width: auto !important;
  width: auto !important;
}

.jdLink {
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}
/* Interest table: force narrow select columns so name/email/phone get more width */
#interestTable.interestTableFixed {
  table-layout: fixed;
  width: 100%;
}

/* Column widths: tighten the 3 dropdown columns */
#interestTable col.colName { width: 17%; }
#interestTable col.colEmail { width: 17%; }
#interestTable col.colPhone { width: 14%; }

#interestTable col.colEmailLang { width: 9%; }
#interestTable col.colInterviewLang { width: 9%; }
#interestTable col.colDuration { width: 10%; }

#interestTable col.colJobTitle { width: 12%; }
#interestTable col.colJD { width: 8%; }
#interestTable col.colDelete { width: 4%; }

/* Wrap headings to match the smaller columns */
#interestTable thead th {
  white-space: normal !important;
  line-height: 1.15;
}

/* Make selects actually fit the column (prevent them from expanding) */
#interestTable select.interestSelect,
#interestTable select.interestDuration {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Inputs also respect fixed layout */
#interestTable input.input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
#interestTable {
  min-width: 0 !important;
}
/* Interest entry table: eliminate horizontal scroll by preventing cell contents from overflowing */
#interestTableWrap {
  overflow-x: hidden;   /* no horizontal bar */
  overflow-y: visible;
}

#interestTable {
  width: 100%;
  max-width: 100%;
}

#interestTable th,
#interestTable td {
  min-width: 0;
  overflow: hidden;
}

#interestTable input,
#interestTable select,
#interestTable textarea,
#interestTable a,
#interestTable button {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Selects in particular often enforce intrinsic min width in some browsers */
#interestTable select.interestSelect,
#interestTable select.interestDuration {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
/* Interest page: icon-only delete control */
.interestDeleteIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.interestDeleteIcon svg {
  opacity: 0.85;
}

.interestDeleteIcon:hover svg {
  opacity: 1;
  transform: scale(1.06);
}