﻿:root {
  --ink: #102a2e;
  --ink-soft: #466066;
  --paper: #f2f7f6;
  --surface: rgba(255, 255, 255, 0.78);
  --line: rgba(16, 42, 46, 0.1);
  --accent: #0f766e;
  --accent-deep: #115e59;
  --warm: #c2410c;
  --frontend: #0f766e;
  --frontend-soft: #ccfbf1;
  --midcycle: #0369a1;
  --midcycle-soft: #e0f2fe;
  --backend: #c2410c;
  --backend-soft: #ffedd5;
  --leadership: #a16207;
  --leadership-soft: #fef3c7;
  --shadow: 0 18px 40px rgba(16, 42, 46, 0.09);
  --radius: 16px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
}

strong {
  font-weight: 500;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 8% -5%, rgba(15, 118, 110, 0.28), transparent 58%),
    radial-gradient(ellipse 55% 40% at 92% 5%, rgba(194, 65, 12, 0.16), transparent 52%),
    radial-gradient(ellipse 50% 35% at 70% 90%, rgba(3, 105, 161, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 20% 85%, rgba(161, 98, 7, 0.1), transparent 50%),
    linear-gradient(180deg, #e6f4f1 0%, var(--paper) 42%, #eef5f8 100%);
  animation: meshDrift 18s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  from {
    filter: hue-rotate(0deg);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(8deg);
    transform: scale(1.03);
  }
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem 2rem 0.5rem;
  animation: rise 0.7s ease both;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span {
  color: var(--accent);
  font-weight: 500;
}

.tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem 2rem 3rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 2fr 5fr 3fr; /* 20% · 50% · 30% */
  gap: 1.25rem;
  align-items: start;
}

.col-left,
.col-right,
.col-middle {
  min-width: 0;
}

.col-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}

.filters-stack {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0.85rem;
}

.cycle-legend-stack {
  margin-top: 1rem;
  flex-direction: column;
  align-items: flex-start;
}

.side-card {
  margin-bottom: 0.55rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(16, 42, 46, 0.04);
}

.side-card h3 {
  margin: 0 0 0.25rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-deep);
}

.side-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.side-card:nth-child(2) h3 { color: var(--frontend); }
.side-card:nth-child(3) h3 { color: var(--midcycle); }
.side-card:nth-child(4) h3 { color: var(--backend); }
.side-card:nth-child(5) h3 { color: var(--leadership); }

.side-cta {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--midcycle));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.25);
}

.side-cta:hover {
  filter: brightness(1.05);
}

.hero {
  padding: 1.75rem 0 1.5rem;
  animation: rise 0.8s ease 0.08s both;
}

.hero-side {
  padding: 0.25rem 0 0;
  position: sticky;
  top: 5.5rem;
}

.hero-side h1 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-side p {
  font-size: 14px;
  font-weight: 400;
  max-width: none;
}

.col-middle .filters {
  margin-bottom: 0.35rem;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: none;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent) 0%, var(--midcycle) 55%, var(--backend) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.cycle-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.cycle-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.job-value.role .cycle-chip {
  font-size: 14px;
  padding: 0.18rem 0.6rem;
}

.cycle-frontend {
  color: var(--frontend);
  background: var(--frontend-soft);
}

.cycle-midcycle {
  color: var(--midcycle);
  background: var(--midcycle-soft);
}

.cycle-backend {
  color: var(--backend);
  background: var(--backend-soft);
}

.cycle-leadership {
  color: var(--leadership);
  background: var(--leadership-soft);
}

.filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.85rem;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 253, 245, 0.75));
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: rise 0.85s ease 0.14s both;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 122, 111, 0.15);
}

.result-count {
  margin: 0.75rem 0 0.5rem;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  animation: rise 0.9s ease 0.18s both;
}

.jobs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.job {
  display: grid;
  grid-template-columns: 2fr 5fr 3fr; /* Looking for 20% · Location 50% · Role 30% */
  gap: 0.4rem 0.75rem;
  align-items: start;
  padding: 0.65rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 14px rgba(15, 42, 42, 0.04);
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
  animation: rise 0.55s ease both;
}

.job.cycle-frontend {
  border-left-color: var(--frontend);
}

.job.cycle-midcycle {
  border-left-color: var(--midcycle);
}

.job.cycle-backend {
  border-left-color: var(--backend);
}

.job.cycle-leadership {
  border-left-color: var(--leadership);
}

.job:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 36px rgba(16, 42, 46, 0.12);
}

.job.cycle-frontend:hover {
  background: linear-gradient(90deg, #f0fdfa, #fff 40%);
}

.job.cycle-midcycle:hover {
  background: linear-gradient(90deg, #f0f9ff, #fff 40%);
}

.job.cycle-backend:hover {
  background: linear-gradient(90deg, #fff7ed, #fff 40%);
}

.job.cycle-leadership:hover {
  background: linear-gradient(90deg, #fffbeb, #fff 40%);
}

.job-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.job-link:focus-visible {
  outline: 3px solid rgba(13, 122, 111, 0.35);
  outline-offset: 2px;
}

.header-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--accent-deep);
}

.back-link {
  display: inline-block;
  margin: 0.5rem 0 1.25rem;
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* Job detail: compress content to middle 50% (20% · 50% · 30% horizontal) */
.jd-page {
  display: grid;
  grid-template-columns: 2fr 5fr 3fr;
  gap: 0;
  align-items: start;
}

.jd-compress {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

.hero-compact {
  padding-top: 1rem;
}

.detail-card,
.company-form-card {
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: rise 0.7s ease both;
}

.detail-card {
  margin-bottom: 1rem;
}

.detail-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.detail-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.description-block h2,
.company-form-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.description-body {
  color: var(--ink);
  white-space: normal;
  line-height: 1.65;
}

.description-empty {
  margin: 0;
  color: var(--ink-soft);
}

.form-lead {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 13px;
}

.company-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.company-form .field-full {
  grid-column: 1 / -1;
}

/* Post a job / apply forms — slightly smaller type */
.company-form-card h2 {
  font-size: 1.1rem;
}

.company-form-card .form-lead {
  font-size: 13px;
}

.company-form-card .field {
  font-size: 10px;
}

.company-form-card .field input,
.company-form-card .field select,
.company-form-card .field textarea {
  font-size: 13px;
  padding: 0.55rem 0.7rem;
}

.company-form-card .check-row {
  font-size: 13px;
}

.company-form-card .rule-hint {
  font-size: 12px;
}

.company-form-card .tenure-rule legend,
.company-form-card .assess-mode legend,
.company-form-card .talent-team legend {
  font-size: 12px;
}

.company-form-card .talent-row input {
  font-size: 13px;
  padding: 0.55rem 0.7rem;
}

.company-form-card .btn-primary {
  font-size: 14px;
  padding: 0.65rem 1.1rem;
}

.experienced-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.experienced-fields[hidden] {
  display: none !important;
}

.experienced-fields .field-full,
.experienced-fields .check-row,
.experienced-fields .tenure-live,
.experienced-fields .quiz-box {
  grid-column: 1 / -1;
}

.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  outline: none;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 122, 111, 0.15);
}

.btn-primary {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.25rem;
  font-size: 15px;
  color: var(--ink-soft);
}

.form-status.success {
  color: var(--accent-deep);
  font-weight: 600;
}

.form-status.error {
  color: #a33a1d;
  font-weight: 600;
}

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.auth-tab {
  flex: 1;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}

.auth-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.dash-wrap {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
}

.dash-toolbar {
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dash-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(236, 253, 245, 0.55));
  box-shadow: 0 10px 24px rgba(16, 42, 46, 0.06);
  text-decoration: none;
  color: inherit;
  min-height: 190px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

a.dash-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.35);
}

.dash-card-static {
  cursor: default;
}

.dash-card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.dash-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.dash-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.dash-card-cta {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.dash-cycle-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.dash-cycle-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.dash-cycle-list li span {
  color: var(--ink-soft);
}

.dash-cycle-list li strong {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 820px) {
  .dash-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .dash-cards {
    grid-template-columns: 1fr;
  }
}

.inbox-card {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.inbox-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.inbox-sub {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.inbox-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 12px;
  background: rgba(236, 253, 245, 0.45);
}

.inbox-filters .field {
  margin: 0;
}

.inbox-filters .field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.inbox-filters input,
.inbox-filters select {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
}

.inbox-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.inbox-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.inbox-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(15, 118, 110, 0.16);
  white-space: nowrap;
}

.inbox-table td {
  padding: 0.85rem 0.65rem;
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  vertical-align: top;
}

.inbox-table tbody tr:last-child td {
  border-bottom: none;
}

.inbox-name {
  font-weight: 700;
  color: var(--ink);
}

.inbox-email,
.inbox-loc,
.inbox-when {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.inbox-phone,
.inbox-score {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.inbox-job {
  font-weight: 600;
}

.inbox-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.inbox-badge.type-fresher {
  background: rgba(14, 116, 144, 0.12);
  color: #0e7490;
}

.inbox-badge.type-exp {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

.inbox-badge.result-submitted {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

.inbox-badge.result-pass {
  background: rgba(22, 163, 74, 0.14);
  color: #15803d;
}

.inbox-badge.result-fail {
  background: rgba(185, 28, 28, 0.12);
  color: #b91c1c;
}

.inbox-actions {
  white-space: nowrap;
}

.inbox-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-deep);
  text-decoration: none;
}

.inbox-link:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .inbox-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .inbox-filters {
    grid-template-columns: 1fr;
  }
}

.tenure-rule {
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 12px;
  padding: 0.9rem 1rem 1rem;
  background: linear-gradient(145deg, rgba(236, 253, 245, 0.7), rgba(255, 255, 255, 0.9));
  margin: 0;
}

.tenure-rule legend {
  padding: 0 0.35rem;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
}

/* Author display:flex overrides the UA [hidden] rule — force hide */
.check-row[hidden],
[hidden] {
  display: none !important;
}

.check-row input {
  margin-top: 0.2rem;
  width: auto;
  accent-color: var(--accent);
}

.tenure-months {
  margin-top: 0.75rem;
  max-width: 180px;
}

.rule-hint {
  margin: 0.65rem 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.talent-team {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem 1rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
}

.talent-team legend {
  padding: 0 0.35rem;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.talent-team .rule-hint {
  margin: 0 0 0.75rem;
}

.talent-rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.talent-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr auto;
  gap: 0.55rem;
  align-items: center;
}

.talent-row input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
}

.talent-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.talent-add:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.talent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.talent-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  color: var(--ink);
  font-size: 13px;
}

.talent-list li:last-child {
  border-bottom: none;
}

.assess-mode {
  border: 1px solid rgba(3, 105, 161, 0.2);
  border-radius: 12px;
  padding: 0.9rem 1rem 1rem;
  margin: 0;
  background: linear-gradient(145deg, rgba(224, 242, 254, 0.65), rgba(255, 255, 255, 0.92));
}

.assess-mode legend {
  padding: 0 0.35rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.mode-panel {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mode-panel .field-full,
.mode-panel .rule-hint {
  grid-column: 1 / -1;
}

.quiz-box {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.quiz-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.quiz-timer {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm);
}

.quiz-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.quiz-q {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem;
  margin: 0 0 0.65rem;
}

.quiz-q legend {
  font-size: 13px;
  font-weight: 500;
  padding: 0 0.25rem;
}

@media (max-width: 720px) {
  .mode-panel {
    grid-template-columns: 1fr;
  }
}

.apply-panel {
  border-left: 4px solid var(--accent);
}

.apply-panel h2,
.jd-panel.apply-panel h2 {
  font-size: 15px;
}

.apply-form .field {
  font-size: 10px;
}

.apply-form .field input,
.apply-form .field select,
.apply-form .field textarea {
  font-size: 13px;
  padding: 0.5rem 0.65rem;
}

.apply-form .check-row {
  font-size: 13px;
}

.apply-form .btn-primary {
  font-size: 14px;
  padding: 0.6rem 1rem;
}

.apply-form .tenure-live {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.tenure-live.ok {
  color: #065f46;
}

.tenure-live.error {
  color: #a33a1d;
}

.apply-form .form-status,
.apply-form .btn-primary {
  grid-column: 1 / -1;
}

.jd-role-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

/* Naukri-style job detail — compact */
.jd-hero,
.jd-panel {
  margin-bottom: 0.75rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(15, 42, 42, 0.04);
  animation: rise 0.65s ease both;
}

.jd-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
}

.jd-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.jd-company {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 400;
}

.jd-quickfacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jd-quickfacts li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.jd-icon {
  display: inline-flex;
  color: var(--ink-soft);
}

.jd-company-badge {
  flex-shrink: 0;
  width: 88px;
  text-align: center;
}

.jd-company-badge p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.3;
}

.jd-hero-bottom {
  display: grid;
  /* Posted | big middle gap with Openings centered | Save/Apply */
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 2rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.jd-stats {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.jd-stat-posted {
  justify-self: start;
  padding-right: 3rem; /* extra space after Posted (~2–3 tabs) */
}

.jd-stat-openings {
  justify-self: center; /* true middle between Posted and buttons */
}

.jd-stats strong {
  color: var(--ink);
  font-weight: 400;
}

.jd-actions {
  display: flex;
  gap: 0.65rem;
}

.btn-secondary,
.btn-apply {
  min-width: 80px;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn-secondary {
  border: 1.5px solid var(--accent);
  background: #fff;
  color: var(--accent-deep);
}

.btn-secondary:hover {
  background: #eef8f6;
}

.btn-apply {
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--midcycle) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.28);
}

.btn-apply:hover {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #075985 100%);
  transform: translateY(-1px);
}

.jd-skill {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--frontend-soft), var(--midcycle-soft));
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}

.jd-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: linear-gradient(160deg, #ccfbf1, #e0f2fe 55%, #fff);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.12);
}

.jd-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.jd-block + .jd-block,
.jd-block + .jd-specs,
.jd-specs + .jd-block {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.jd-bullets {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--ink);
  line-height: 1.45;
  font-size: 14px;
  font-weight: 400;
}

.jd-bullets li + li {
  margin-top: 0.25rem;
}

.jd-description {
  color: var(--ink);
  line-height: 1.5;
  font-size: 14px;
  font-weight: 400;
}

.jd-specs {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.jd-specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.jd-specs span {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 400;
}

.jd-specs strong {
  font-size: 14px;
  font-weight: 400;
}

.jd-education,
.jd-about {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
  font-size: 14px;
  font-weight: 400;
}

.jd-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jd-skills-inline {
  margin-top: 0.9rem;
}

.jd-address {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.jd-address h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.jd-address p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.jd-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 20;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.job-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.job-value {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.job-value.opportunity {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
}

.openings-badge {
  display: inline-block;
  margin-left: 0.2rem;
  color: var(--accent-deep);
  font-family: var(--font-body);
  font-size: 0.92em;
  font-weight: 800;
}

.job-value.location {
  font-weight: 500;
  color: var(--ink-soft);
}

.job-value.role {
  color: inherit;
  font-weight: 400;
}

.jd-role-line {
  margin: 0 0 1rem;
}

.jd-title .openings-badge {
  color: var(--warm);
}

.empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty a {
  color: var(--accent-deep);
  font-weight: 600;
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 2rem 2.5rem;
  color: var(--ink-soft);
  font-size: 18px;
}

.site-footer p {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .jd-page {
    grid-template-columns: 1fr;
  }

  .jd-compress {
    grid-column: 1;
  }

  .cycle-legend-stack {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .filters,
  .job,
  .detail-meta,
  .company-form,
  .talent-row {
    grid-template-columns: 1fr;
  }

  .talent-row .talent-add {
    width: 100%;
  }

  .hero h1 {
    max-width: none;
  }

  .job {
    gap: 0.9rem;
  }

  .jd-hero-top {
    flex-direction: column-reverse;
  }

  .jd-company-badge {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
  }

  .jd-logo {
    margin: 0;
    width: 56px;
    height: 56px;
  }

  .jd-hero-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .jd-stat-openings {
    justify-self: start;
  }

  .jd-actions {
    width: 100%;
  }

  .btn-secondary,
  .btn-apply {
    flex: 1;
  }

  .jd-specs div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
