/* jobai-premium.css */

/* =========================
   JobAI Premium SaaS Theme
   Light + Dark
========================= */

:root {
  --font-main: Inter, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(.2, .8, .2, 1);

  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-3: #06b6d4;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #ef4444;
}

html[data-theme="dark"] {
  --bg: #050816;
  --bg-2: #0b1020;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --surface-solid: #101827;
  --border: rgba(255, 255, 255, 0.13);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

html[data-theme="light"] {
  --bg: #f7faff;
  --bg-2: #edf4ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-solid: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --shadow: 0 22px 60px rgba(15, 23, 42, .10);
}

/* Default theme */
html:not([data-theme]) {
  color-scheme: dark;
}

html:not([data-theme]),
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

/* =========================
   Base
========================= */

body {
  margin: 0;
  font-family: var(--font-main);
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .24), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(124, 58, 237, .22), transparent 32%),
    radial-gradient(circle at 55% 100%, rgba(6, 182, 212, .12), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

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

a:hover {
  text-decoration: underline;
}

/* =========================
   Layout Helpers
========================= */

.container,
.main-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page-shell {
  padding: 28px;
}

.app-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
}

.main-content {
  padding: 32px;
}

/* =========================
   Top Header / Navbar
========================= */

.navbar,
.topbar,
.header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.navbar {
  padding: 14px 18px;
  margin: 18px auto;
}

.logo,
.brand,
.navbar-brand {
  font-weight: 850;
  letter-spacing: -0.045em;
  font-size: 1.45rem;
  color: var(--text);
}

.logo span,
.brand span,
.navbar-brand span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  color: transparent;
}

/* =========================
   Sidebar
========================= */

.sidebar {
  background: rgba(255, 255, 255, .055);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(24px);
  padding: 24px;
}

html[data-theme="light"] .sidebar {
  background: rgba(255, 255, 255, .72);
}

.nav-link,
.sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 650;
  transition: .2s var(--ease);
}

.nav-link:hover,
.nav-link.active,
.sidebar a:hover {
  color: var(--text);
  background: rgba(37, 99, 235, .12);
  text-decoration: none;
}

/* =========================
   Cards / Panels
========================= */

.card,
.panel,
.job-card,
.result-card,
.resume-card,
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  padding: 22px;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.card:hover,
.job-card:hover,
.result-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, .35);
}

/* =========================
   Hero
========================= */

.hero,
.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(124, 58, 237, .13)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 42px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero::after,
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 220px;
  background:
    repeating-linear-gradient(
      170deg,
      rgba(37, 99, 235, .16) 0px,
      rgba(37, 99, 235, .16) 1px,
      transparent 1px,
      transparent 14px
    );
  opacity: .45;
  pointer-events: none;
}

.hero h1,
.hero-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: -0.075em;
}

.hero p,
.hero-card p {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 680px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  color: transparent;
}

/* =========================
   Forms / Search
========================= */

input,
select,
textarea,
.form-control,
.form-select,
.search-input {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  outline: none;
  transition: .18s var(--ease);
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus,
.search-input:focus {
  border-color: rgba(37, 99, 235, .65);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}

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

/* =========================
   Buttons
========================= */

button,
.btn {
  border-radius: 14px;
  font-weight: 750;
  transition: .18s var(--ease);
}

.btn-primary,
button[type="submit"],
.primary-action {
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 12px 18px;
  box-shadow: 0 14px 32px rgba(37, 99, 235, .30);
}

.btn-primary:hover,
button[type="submit"]:hover,
.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .38);
}

.btn-outline,
.btn-secondary,
.secondary-action {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 17px;
}

.btn-outline:hover,
.btn-secondary:hover {
  background: rgba(37, 99, 235, .12);
  border-color: rgba(37, 99, 235, .35);
}

/* =========================
   Job Results
========================= */

.job-card,
.result-card {
  display: grid;
  gap: 14px;
}

.job-title,
.result-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}

.company,
.location,
.meta,
.job-meta {
  color: var(--muted);
  font-size: .92rem;
}

.match-score,
.score-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(22, 163, 74, .12);
  color: #22c55e;
  border: 1px solid rgba(22, 163, 74, .25);
  font-weight: 800;
  font-size: .82rem;
}

.tag,
.badge,
.skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .10);
  color: var(--text-soft);
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 650;
}

/* =========================
   SaaS Metrics
========================= */

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

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.metric-label {
  color: var(--muted);
  font-size: .88rem;
}

.metric-value {
  font-size: 2.1rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  margin-top: 6px;
}

.metric-change {
  color: var(--success);
  font-size: .86rem;
  margin-top: 6px;
}

/* =========================
   Tables
========================= */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

thead th {
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: left;
  padding: 0 14px;
}

tbody tr {
  background: var(--surface);
  box-shadow: var(--shadow);
}

tbody td {
  padding: 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

tbody td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 14px 0 0 14px;
}

tbody td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 14px 14px 0;
}

/* =========================
   Theme Toggle
========================= */

.theme-toggle {
    min-width: 135px;

    background: linear-gradient(
        135deg,
        #3b82f6,
        #2563eb
    );

    color: white;

    border: none;

    font-weight: 700;

    border-radius: 999px;

    padding: 10px 18px;

    box-shadow: 0 6px 18px rgba(37,99,235,.35);

    transition: .25s;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37,99,235,.45);
}

/* =========================
   Mobile
========================= */

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .main-content,
  .page-shell {
    padding: 18px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-card {
    padding: 28px;
  }
}

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

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

.filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 16px;
  align-items: end;
}

.filter-form label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.filter-actions {
  display: flex;
  gap: 10px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score {
  display: inline-flex;
  min-width: 44px;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.82rem;
}

.score-high {
  background: rgba(22, 163, 74, 0.15);
  color: #22c55e;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.score-medium {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.score-low,
.score-none {
  background: rgba(100, 116, 139, 0.15);
  color: var(--muted);
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .topbar,
  .topbar nav {
    flex-direction: column;
    align-items: flex-start;
  }

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

.saas-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.saas-sidebar {
  padding: 24px;
  border-right: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(22px);
}

.saas-main {
  padding: 28px;
}

.sidebar-brand {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 28px;
}

.sidebar-section {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 24px 0 10px;
}

.sidebar-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(37, 99, 235, 0.12);
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 900px) {
  .saas-shell {
    grid-template-columns: 1fr;
  }

  .saas-sidebar {
    display: none;
  }
}

.dashboard-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.insight-list {
  display: grid;
  gap: 14px;
}

.insight-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
}

.insight-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.insight-title {
  font-weight: 850;
  margin-bottom: 4px;
}

.insight-text {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .dashboard-two-column {
    grid-template-columns: 1fr;
  }
}

.dashboard-commandbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}

.dashboard-commandbar h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.commandbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.command-search {
  min-width: 320px;
}

@media (max-width: 900px) {
  .dashboard-commandbar,
  .commandbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .command-search {
    min-width: 100%;
  }
}

/* =========================
   Job Cards Layout
========================= */

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.jobs-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
}

.jobs-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.results-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.job-card-list {
  display: grid;
  gap: 16px;
}

.modern-job-card {
  display: grid;
  grid-template-columns: 86px 86px minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.modern-job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.42);
}

.match-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(var(--success) calc(var(--score, 0) * 1%), rgba(148, 163, 184, 0.22) 0);
  position: relative;
}

.match-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--surface-solid);
}

.match-ring-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.match-number {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.match-label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 4px;
}

.company-logo-fallback {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.job-main-info {
  min-width: 0;
}

.job-company {
  color: var(--accent);
  font-weight: 700;
  margin-top: 6px;
}

.job-location {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.92rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.job-tag {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.job-card-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.match-status {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.match-status.high {
  background: rgba(22, 163, 74, 0.14);
  color: #22c55e;
}

.match-status.medium {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.match-status.low {
  background: rgba(100, 116, 139, 0.15);
  color: var(--muted);
}

.discovered-date {
  text-align: right;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.view-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.55);
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.view-details-btn:hover {
  background: rgba(37, 99, 235, 0.12);
  text-decoration: none;
}

.load-more-card {
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-weight: 800;
}

/* Right AI insight panel refinements */
.ai-insight-panel {
  position: sticky;
  top: 24px;
}

.ai-insight-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(37, 99, 235, 0.07);
  margin-top: 12px;
}

.ai-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.14);
  color: var(--accent);
  font-size: 1.25rem;
}

.ai-insight-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.ai-insight-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.45;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .ai-insight-panel {
    position: static;
  }
}

@media (max-width: 850px) {
  .modern-job-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .job-card-actions {
    justify-items: start;
  }

  .discovered-date {
    text-align: left;
  }
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.page-header,
.detail-header,
.source-card-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-card,
.source-card,
.section-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.detail-card {
  padding: 28px;
  margin-top: 20px;
}

.section-card {
  padding: 22px;
  margin-top: 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 22px;
  margin-top: 24px;
}

.score-box {
  padding: 22px;
  border-radius: 18px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
}

.score-box span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.score-box strong {
  display: block;
  margin-top: 8px;
  font-size: 2.25rem;
}

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

.source-card {
  padding: 24px;
}

.source-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.source-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.actions-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.back-link {
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
}

.primary-btn,
.secondary-btn {
  padding: 10px 16px;
  border: 1px solid var(--border);
}

.primary-btn {
  background: var(--accent);
  color: #fff;
}

.secondary-btn {
  background: var(--soft-bg);
  color: var(--text);
}

.back-link {
  display: inline-block;
  color: var(--muted);
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .page-header,
  .detail-header,
  .source-card-header {
    flex-direction: column;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-list p {
  margin: 8px 0;
  color: var(--text);
}

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

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.feature-card h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.large-score {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 12px 0;
  color: var(--text);
}

.auth-card,
.profile-card {
    max-width: 720px;
    margin: 48px auto;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.auth-card h1,
.profile-card h1 {
    margin-bottom: 8px;
}

.auth-card p,
.profile-card p {
    color: var(--muted-text);
    margin-bottom: 24px;
}

.auth-card form,
.profile-card form {
    display: grid;
    gap: 14px;
}

.auth-card label,
.profile-card label {
    font-weight: 600;
    font-size: 0.9rem;
}

.auth-card input,
.profile-card input,
.profile-card select,
.profile-card textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-color);
}

.profile-card h2 {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-primary,
.signup-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    background: #2563eb;
    color: white !important;
    text-decoration: none;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover,
.signup-btn:hover {
    background: #1d4ed8;
}

.auth-footer {
    margin-top: 18px;
    text-align: center;
}

.login-link {
    color: var(--muted-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 12px;
    border-radius: 999px;
}

.login-link:hover {
    color: var(--text-color);
    background: rgba(148, 163, 184, 0.12);
}

.signup-pill,
.account-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    white-space: nowrap;
}

.signup-pill {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.account-pill {
    color: #ffffff !important;
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.signup-pill:hover,
.account-pill:hover {
    transform: translateY(-1px);
}

.hero-actions {
    margin-top: 22px;
}

.save-job-btn {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(148, 163, 184, 0.10);
    color: var(--text-color);
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.86rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.save-job-btn:hover {
    background: rgba(37, 99, 235, 0.20);
    border-color: rgba(96, 165, 250, 0.45);
    transform: translateY(-1px);
}

.save-job-btn.saved {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.45);
    color: #86efac;
}

.job-card-actions form {
    margin: 0;
}
