body { font-family: 'Inter', sans-serif; background-color: #f7f9fb; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.gradient-button { background: linear-gradient(135deg, #0066ff 0%, #0050cb 100%); }
#mobile-nav.open { display: flex; }

/* Nav brand */
.site-brand { text-decoration: none; transition: opacity 0.2s ease; }
.site-brand:hover { opacity: 0.92; }
.site-brand-logo { flex-shrink: 0; display: block; }
.site-brand-finacc { color: #0a2d6e; }
.site-brand-talent { color: #c9a227; }
.auth-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.site-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1rem;
}
.site-nav-left { justify-self: start; align-self: center; }
.site-nav-center {
  justify-self: center;
  align-items: stretch;
  gap: 2rem;
}
.site-nav-right { justify-self: end; align-self: center; }
.site-nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #565e74;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav-link:hover { color: #0050cb; }
.site-nav-link.is-active {
  color: #0050cb;
  font-weight: 600;
  border-bottom-color: #0050cb;
}

/* Fixed nav clearance — site-nav-inner h-20 */
body[data-layout="public"] > main {
  padding-top: 5rem;
}
body[data-layout="public"] > main.pt-28 {
  padding-top: 7rem;
}
body[data-layout="public"] > main.pt-32 {
  padding-top: 8rem;
}

/* Legal pages (privacy, terms) */
html { scroll-behavior: smooth; }
body[data-layout="legal"] {
  background: #f7f9fb;
  min-height: 100vh;
}
.legal-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1rem;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 12px;
  font-weight: 500;
  color: #565e74;
  text-decoration: none;
  transition: color 0.15s ease;
}
.legal-back:hover { color: #0050cb; }
.legal-back .material-symbols-outlined { font-size: 1.125rem; }
.legal-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .legal-main {
    flex-direction: row;
    padding: 5rem 2rem;
    gap: 1.5rem;
  }
}
.legal-sidebar {
  display: none;
  width: 16rem;
  flex-shrink: 0;
}
@media (min-width: 768px) { .legal-sidebar { display: block; } }
.legal-sidebar-inner {
  position: sticky;
  top: 6.5rem;
}
.legal-sidebar-title {
  margin: 0 0 1.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}
.legal-toc {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e2e8f0;
}
.legal-toc-link {
  display: block;
  padding: 0.5rem 1rem;
  border-left: 2px solid transparent;
  margin-left: -1px;
  font-size: 14px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.legal-toc-link:hover { color: #0050cb; }
.legal-toc-link.is-active {
  color: #0066ff;
  border-left-color: #0066ff;
  font-weight: 500;
}
.legal-prose {
  flex: 1;
  max-width: 48rem;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
}
.legal-prose-header { margin-bottom: 3rem; }
.legal-prose-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
}
.legal-prose-updated {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 14px;
  color: #64748b;
}
.legal-prose-updated .material-symbols-outlined { font-size: 1rem; }
.legal-prose section { scroll-margin-top: 7rem; }
.legal-prose h2 {
  margin: 3rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.legal-prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}
.legal-prose p { margin: 0 0 1.25rem; }
.legal-prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
}
.legal-prose li { margin-bottom: 0.5rem; }
.legal-prose li strong { color: #0f172a; }
.legal-callout {
  margin-top: 1rem;
  padding: 1.5rem;
  background: #f7f9fb;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.legal-callout h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}
.legal-callout h4 .material-symbols-outlined { color: #10b981; }
.legal-callout p { margin: 0; font-size: 14px; }
.legal-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}
.legal-contact .material-symbols-outlined {
  font-size: 1.25rem;
  color: #64748b;
  margin-top: 0.125rem;
}

/* Hero */
.hero-modern {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 102, 255, 0.12), transparent),
    linear-gradient(180deg, #f0f6ff 0%, #f7f9fb 55%, #f7f9fb 100%);
}
.hero-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 80, 203, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 102, 255, 0.15);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 600;
  color: #0050cb;
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Modern search bar */
.search-bar-modern {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.04),
    0 20px 40px -12px rgba(0, 80, 203, 0.12);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: visible;
}
.search-bar-modern:focus-within {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.04),
    0 24px 48px -12px rgba(0, 80, 203, 0.18);
}
@media (min-width: 768px) {
  .search-bar-modern { flex-direction: row; align-items: center; border-radius: 9999px; padding: 0.5rem 0.5rem 0.5rem 0.25rem; }
}
.search-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  transition: background 0.2s ease;
  position: relative;
  overflow: visible;
}
@media (min-width: 768px) {
  .search-field { padding: 0.625rem 1rem; border-radius: 9999px; }
  .search-field:hover { background: rgba(242, 244, 246, 0.7); }
  .search-field:focus-within { background: rgba(218, 225, 255, 0.25); }
}
.search-field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #e8f0ff 0%, #dae1ff 100%);
  color: #0050cb;
}
.search-field-icon .material-symbols-outlined { font-size: 1.25rem; }
.search-field-body { flex: 1; min-width: 0; text-align: left; }
.search-field-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #727687;
  margin-bottom: 0.125rem;
}
.search-field input,
.search-field select {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  padding: 0;
}
.search-field input::placeholder { color: #94a3b8; font-weight: 400; }

/* Custom category dropdown */
.search-select { position: relative; width: 100%; }
.search-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.search-select-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-select-chevron {
  font-size: 1.25rem !important;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.search-select.is-open .search-select-chevron {
  transform: rotate(180deg);
  color: #0050cb;
}
.search-select-menu {
  position: absolute;
  top: calc(100% + 0.625rem);
  left: 0;
  right: 0;
  z-index: 60;
  min-width: 16rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  box-shadow:
    0 10px 15px -3px rgba(15, 23, 42, 0.08),
    0 20px 40px -12px rgba(0, 80, 203, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.search-select.is-open .search-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.search-select-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.search-select-option:hover,
.search-select-option:focus-visible {
  background: #f0f6ff;
  outline: none;
}
.search-select-option.is-selected {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f0ff 100%);
  border: 1px solid rgba(0, 102, 255, 0.15);
}
.search-select-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  background: #f1f5f9;
  color: #0050cb;
}
.search-select-option.is-selected .search-select-option-icon {
  background: linear-gradient(135deg, #0066ff 0%, #0050cb 100%);
  color: #fff;
}
.search-select-option-icon .material-symbols-outlined { font-size: 1.125rem; }
.search-select-option-text { flex: 1; min-width: 0; }
.search-select-option-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}
.search-select-option-text small {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 0.125rem;
}
.search-select-option-check {
  font-size: 1.125rem !important;
  color: #0066ff;
  opacity: 0;
  flex-shrink: 0;
}
.search-select-option.is-selected .search-select-option-check { opacity: 1; }
.search-select-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.search-select-option.is-disabled:hover { background: transparent; }
.search-select-menu-label {
  padding: 0.375rem 0.75rem 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
/* Compact toolbar dropdown (sort, filters bar) */
.search-select--toolbar {
  width: auto;
  min-width: 10.5rem;
}
.search-select--toolbar .search-select-trigger {
  position: relative;
  padding: 0.5rem 2rem 0.5rem 0.875rem;
  background: #f7f9fb;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.search-select--toolbar .search-select-trigger:hover {
  border-color: #c2c6d8;
  background: #fff;
}
.search-select--toolbar.is-open .search-select-trigger,
.search-select--toolbar .search-select-trigger:focus-visible {
  border-color: #0050cb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 80, 203, 0.12);
  outline: none;
}
.search-select--toolbar .search-select-chevron {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.125rem !important;
}
.search-select--toolbar.is-open .search-select-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.search-select--toolbar .search-select-menu {
  min-width: 100%;
  left: auto;
  right: 0;
  top: calc(100% + 0.375rem);
  padding: 0.375rem;
  border-radius: 0.75rem;
}
.search-select-option--simple {
  padding: 0.625rem 0.75rem;
  gap: 0.5rem;
  border: 1px solid transparent;
}
.search-select-option--simple.is-selected {
  border-color: rgba(0, 102, 255, 0.12);
}
.search-select-option--simple .search-select-option-text strong {
  font-weight: 500;
}
/* Form field dropdown (matches interest-form inputs) */
.search-select--field {
  width: 100%;
  min-width: 0;
}
.search-select--field .search-select-trigger {
  position: relative;
  width: 100%;
  padding: 0.625rem 2.5rem 0.625rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.search-select--field .search-select-trigger:hover {
  border-color: #c2c6d8;
  background: #fff;
}
.search-select--field.is-open .search-select-trigger,
.search-select--field .search-select-trigger:focus-visible {
  border-color: #0066ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
  outline: none;
}
.search-select--field .search-select-value {
  font-weight: 400;
  font-size: 14px;
}
.search-select--field .search-select-value.is-placeholder { color: #94a3b8; }
.search-select--field .search-select-chevron {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem !important;
}
.search-select--field.is-open .search-select-chevron {
  transform: translateY(-50%) rotate(180deg);
  color: #0050cb;
}
.search-select--field .search-select-menu {
  left: 0;
  right: 0;
  min-width: 100%;
  top: calc(100% + 0.375rem);
  z-index: 50;
}
.search-divider {
  display: none;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(180deg, transparent, #e2e8f0, transparent);
  flex-shrink: 0;
}
@media (min-width: 768px) { .search-divider { display: block; } }
.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #0066ff 0%, #0050cb 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 80, 203, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 768px) {
  .search-submit { width: auto; border-radius: 9999px; padding: 0.875rem 1.75rem; white-space: nowrap; }
}
.search-submit:hover {
  opacity: 0.95;
  box-shadow: 0 6px 20px rgba(0, 80, 203, 0.4);
  transform: translateY(-1px);
}
.search-submit:active { transform: translateY(0); }
.search-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.search-chip {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.search-chip:hover {
  color: #0050cb;
  border-color: rgba(0, 102, 255, 0.3);
  background: #f0f6ff;
}
.hero-milestones {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(232, 240, 255, 0.55) 100%);
  border: 1px solid rgba(0, 102, 255, 0.14);
  border-radius: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.hero-milestones-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin: 0 0 1.5rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0050cb;
}
.hero-milestones-tag .material-symbols-outlined { font-size: 1rem; }
.hero-milestones-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .hero-milestones { padding: 2rem 0 2.25rem; }
  .hero-milestones-row { grid-template-columns: repeat(3, 1fr); }
}
.hero-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .hero-milestone { padding: 0.5rem 2rem; }
  .hero-milestone:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8%;
    height: 84%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(0, 80, 203, 0.18), transparent);
  }
}
.hero-milestone:not(:last-child) {
  border-bottom: 1px solid rgba(0, 80, 203, 0.1);
}
@media (min-width: 768px) {
  .hero-milestone:not(:last-child) { border-bottom: none; }
}
.hero-milestone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: #0050cb;
  opacity: 0.85;
}
.hero-milestone-icon .material-symbols-outlined { font-size: 1.5rem; }
.hero-milestone-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #0a2d6e;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-milestone-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}
.hero-milestone-desc {
  display: block;
  max-width: 14rem;
  margin-top: 0.375rem;
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.45;
}

/* Job cards */
.job-card-modern {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.job-card-modern::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0066ff, #60a5fa);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.job-card-modern:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow: 0 12px 32px -8px rgba(0, 80, 203, 0.15);
}
.job-card-modern:hover::before { opacity: 1; }
.job-card-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.job-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #0050cb;
}
.job-card-skill {
  font-size: 12px;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: #f1f5f9;
  color: #475569;
}
.job-card-cta {
  width: 100%;
  padding: 0.625rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.2s ease;
}
.job-card-cta:hover {
  border-color: #0066ff;
  color: #0066ff;
  background: #f0f6ff;
}
.job-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.job-card-save {
  flex-shrink: 0;
  padding: 0.375rem;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.job-card-save:hover { color: #0050cb; background: #f0f6ff; }
.job-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  gap: 0.75rem;
}
.job-card-cta-link {
  font-size: 13px;
  font-weight: 600;
  color: #0050cb;
  text-decoration: none;
  white-space: nowrap;
}
.job-card-cta-link:hover { text-decoration: underline; }
.job-card-logo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero layout */
.hero-layout {
  display: block;
  max-width: 56rem;
  margin: 0 auto;
}
.search-chips--tight { margin-top: 1rem; }
.hero-milestones--tight { margin-top: 1.75rem; }

/* Section utilities */
.home-section { padding: 3rem 0; }
.home-section--alt { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-header--center { justify-content: center; text-align: center; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 13px;
  font-weight: 600;
  color: #0066ff;
  text-decoration: none;
}
.section-link:hover { text-decoration: underline; }
.section-link .material-symbols-outlined { font-size: 1rem; }

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
.category-card {
  position: relative;
  display: block;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 12px 28px -8px rgba(0, 80, 203, 0.12);
}
.category-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.category-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #e8f0ff 0%, #dae1ff 100%);
  color: #0050cb;
}
.category-card-icon .material-symbols-outlined { font-size: 1.25rem; }
.category-card-count {
  font-size: 10px;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: #eff6ff;
  color: #0050cb;
}
.category-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}
.category-card-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}
.category-card-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.125rem !important;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
}
.category-card:hover .category-card-arrow { color: #0050cb; transform: translateX(2px); }

/* Job filters & grid */
.job-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.job-filter-chip {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}
.job-filter-chip:hover { border-color: rgba(0, 102, 255, 0.3); color: #0050cb; }
.job-filter-chip.is-active {
  background: #0066ff;
  border-color: #0066ff;
  color: #fff;
}
.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: #f2f4f6;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: #0f172a;
}
.filter-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 0;
}
.filter-tag-remove .material-symbols-outlined {
  font-size: 14px;
  line-height: 1;
}

/* Search sidebar filters */
.filter-sidebar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .filter-sidebar {
    position: sticky;
    top: 5rem;
    align-self: flex-start;
  }
  /* ponytail: fixed width only outside grid layouts (e.g. search-results flex row) */
  main:not(.grid) > .filter-sidebar {
    width: 300px;
    max-width: 300px;
  }
}
main.grid > * { min-width: 0; }
.filter-panel {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  box-shadow: 0 4px 20px -6px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f6ff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.filter-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0a2d6e;
}
.filter-panel-title .material-symbols-outlined { font-size: 1.25rem; }
.filter-panel-title h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.filter-panel-clear {
  padding: 0.25rem 0.625rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #0050cb;
  cursor: pointer;
  transition: background 0.15s ease;
}
.filter-panel-clear:hover { background: rgba(0, 80, 203, 0.08); }
.filter-panel-body { padding: 0.5rem 1rem 1rem; }
.filter-group {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.filter-group:last-child { border-bottom: none; padding-bottom: 0.25rem; }
.filter-group-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0 0 0.625rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.filter-group-title .material-symbols-outlined { font-size: 1rem; color: #94a3b8; }
.filter-options { display: flex; flex-direction: column; gap: 0.125rem; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 14px;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.filter-option:hover { background: #f8fafc; }
.filter-option:has(input:checked) {
  background: #f0f6ff;
  color: #0f172a;
  font-weight: 500;
}
.filter-option input[type="checkbox"] {
  appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 2px solid #cbd5e1;
  border-radius: 0.3rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.filter-option input[type="checkbox"]:checked {
  background: #0066ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/0.7rem no-repeat;
  border-color: #0066ff;
}
.filter-option input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(0, 102, 255, 0.4);
  outline-offset: 2px;
}
.filter-option input[type="radio"] {
  appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border: 2px solid #cbd5e1;
  border-radius: 9999px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.filter-option input[type="radio"]:checked {
  border-color: #0066ff;
  background: radial-gradient(circle, #0066ff 40%, #fff 42%);
}
.filter-option input[type="radio"]:focus-visible {
  outline: 2px solid rgba(0, 102, 255, 0.4);
  outline-offset: 2px;
}
.filter-search {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.filter-search:focus-within {
  border-color: #0066ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}
.filter-search .material-symbols-outlined {
  flex-shrink: 0;
  padding-left: 0.75rem;
  font-size: 1.125rem;
  line-height: 1;
  color: #94a3b8;
  pointer-events: none;
}
.filter-search-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  font-size: 14px;
  color: #0f172a;
}
.filter-search-input::placeholder { color: #94a3b8; }
.filter-search-input:focus {
  outline: none;
}
.filter-range {
  width: 100%;
  accent-color: #0066ff;
  margin: 0.625rem 0 0.375rem;
  cursor: pointer;
}
.filter-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #94a3b8;
}
.filter-range-value {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #0050cb;
  margin-bottom: 0.25rem;
}
.filter-panel-footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid #f1f5f9;
}
.filter-panel-reset {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.filter-panel-reset:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #0f172a;
}
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .job-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .job-grid { grid-template-columns: repeat(3, 1fr); } }
.job-card-meta {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}
.job-card-skill--salary {
  background: #ecfdf5;
  color: #059669;
  font-weight: 600;
}
.job-card-tag--remote {
  background: #f0fdf4;
  color: #16a34a;
}

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  text-align: center;
}
.step-card-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
}
.step-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, #e8f0ff 0%, #dae1ff 100%);
  color: #0050cb;
}
.step-card-icon .material-symbols-outlined { font-size: 1.5rem; }
.step-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.step-card-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.steps-cta-wrap { text-align: center; margin-top: 2rem; }
.steps-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0066ff 0%, #0050cb 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 80, 203, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.steps-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 80, 203, 0.4);
}
.steps-cta .material-symbols-outlined { font-size: 1.125rem; }

/* Employer banner */
.employer-banner-wrap { padding: 2rem 0 3rem; }
.employer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #003fa4 0%, #0050cb 50%, #0066ff 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.employer-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.1), transparent 50%);
  pointer-events: none;
}
.employer-banner-content { position: relative; z-index: 1; max-width: 36rem; }
.employer-banner-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.employer-banner-desc {
  font-size: 15px;
  opacity: 0.9;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.employer-banner-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.employer-banner-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.employer-banner-btn--primary {
  background: #fff;
  color: #0050cb;
}
.employer-banner-btn--primary:hover { background: #f0f6ff; }
.employer-banner-btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.employer-banner-btn--secondary:hover { background: rgba(255, 255, 255, 0.1); }
.employer-banner-visual {
  display: none;
  position: relative;
  z-index: 1;
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) { .employer-banner-visual { display: flex; } }
.employer-banner-visual .material-symbols-outlined { font-size: 3rem; opacity: 0.8; }

/* Job details header */
.job-hero {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.job-hero-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.job-hero-logo {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.job-hero-title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
}
.job-hero-company {
  font-size: 15px;
  font-weight: 500;
  color: #0050cb;
  text-decoration: none;
}
.job-hero-company:hover { text-decoration: underline; }
.job-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.job-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: #f8fafc;
  border-radius: 9999px;
  font-size: 13px;
  color: #475569;
  line-height: 1;
}
.job-meta-chip .material-symbols-outlined {
  font-size: 1rem;
  color: #94a3b8;
}

/* Job details sidebar actions */
.job-actions {
  position: sticky;
  top: 7rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.06);
}
.job-actions-apply {
  width: 100%;
  padding: 0.8125rem 1rem;
  border: none;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, #0066ff 0%, #0050cb 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 80, 203, 0.28);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.job-actions-apply:hover { opacity: 0.95; transform: translateY(-1px); }
.job-actions-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.job-actions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5625rem 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.job-actions-btn:hover { background: #f0f6ff; color: #0050cb; }
.job-actions-btn .material-symbols-outlined { font-size: 1.125rem; }
.job-actions-report {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 0 0;
  border: none;
  border-top: 1px solid #f1f5f9;
  background: transparent;
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s ease;
}
.job-actions-report:hover { color: #64748b; }
.job-actions-report .material-symbols-outlined { font-size: 0.875rem; }

/* Job details company card */
.job-company {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.06);
}
.job-company-top {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.job-company-logo {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}
.job-company-name {
  margin: 0 0 0.125rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.job-company-link {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 13px;
  font-weight: 500;
  color: #0050cb;
  text-decoration: none;
}
.job-company-link:hover { text-decoration: underline; }
.job-company-link .material-symbols-outlined { font-size: 0.875rem; }
.job-company-desc {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
}
.job-company-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.job-company-meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: #475569;
}
.job-company-meta .material-symbols-outlined {
  font-size: 1rem;
  color: #94a3b8;
  flex-shrink: 0;
}
.job-company-meta a {
  color: #0050cb;
  text-decoration: none;
}
.job-company-meta a:hover { text-decoration: underline; }

/* Job details body */
.job-body {
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.06);
}
@media (min-width: 768px) { .job-body { padding: 1.75rem 1.5rem; } }
.job-section {
  padding: 1.25rem 0;
  border-top: 1px solid #f1f5f9;
}
.job-section:first-child { padding-top: 0; border-top: none; }
.job-section:last-child { padding-bottom: 0; }
.job-section-title {
  margin: 0 0 0.875rem;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.job-prose {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}
.job-prose p { margin: 0 0 0.875rem; }
.job-prose p:last-child { margin-bottom: 0; }
.job-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.job-list li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}
.job-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background: #94a3b8;
}
.job-list--check li { padding-left: 1.5rem; }
.job-list--check li::before {
  top: 0.35em;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  content: "✓";
  font-size: 13px;
  font-weight: 700;
  color: #0066ff;
}
.job-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 640px) { .job-benefits { grid-template-columns: 1fr 1fr; } }
.job-benefit {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}
.job-benefit .material-symbols-outlined {
  font-size: 1.125rem;
  color: #0050cb;
  flex-shrink: 0;
}
.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.job-skill-tag {
  padding: 0.375rem 0.75rem;
  background: #f8fafc;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

/* Candidate dashboard — applications list */
.dash-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.06);
}
.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}
.dash-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}
.dash-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 13px;
  font-weight: 600;
  color: #0050cb;
  text-decoration: none;
}
.dash-panel-link:hover { text-decoration: underline; }
.dash-panel-link .material-symbols-outlined { font-size: 1rem; }
.app-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.app-table thead th {
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.app-table thead th:last-child { text-align: right; }
.app-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.app-table tbody tr:last-child td { border-bottom: none; }
.app-table tbody tr:hover { background: #f8fafc; }
.app-table-job {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 10rem;
}
.app-table-job .app-item-icon { width: 2.25rem; height: 2.25rem; }
.app-table-job a {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
}
.app-table-job a:hover { color: #0050cb; }
.app-table-company { color: #64748b; }
.app-table-cat {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: #f8fafc;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
}
.app-table-date {
  color: #94a3b8;
  white-space: nowrap;
  font-size: 13px;
}
.app-table-status { text-align: right; }
.app-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.app-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}
.app-item:last-child { border-bottom: none; }
.app-item:hover { background: #f8fafc; }
.app-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.625rem;
  background: #f0f6ff;
  color: #0050cb;
}
.app-item-icon .material-symbols-outlined { font-size: 1.25rem; }
.app-item-main { flex: 1; min-width: 9rem; }
.app-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}
.app-item-title a {
  color: inherit;
  text-decoration: none;
}
.app-item-title a:hover { color: #0050cb; }
.app-item-company {
  margin: 0.125rem 0 0;
  font-size: 13px;
  color: #64748b;
}
.app-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.app-item-cat {
  padding: 0.25rem 0.625rem;
  background: #f8fafc;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
}
.app-item-date {
  font-size: 12px;
  color: #94a3b8;
}
.app-status {
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 639px) {
  .app-item .app-status { width: 100%; text-align: center; }
}
.app-status--review { background: #fffbeb; color: #d97706; }
.app-status--success { background: #ecfdf5; color: #059669; }
.app-status--applied { background: #f1f5f9; color: #64748b; }

/* Candidate portal sidebar */
.candidate-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 12px;
  font-weight: 500;
  color: #565e74;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.candidate-nav-link:hover { background: #f2f4f6; color: #0050cb; }
.candidate-nav-link.is-active {
  background: #dae1ff;
  color: #0050cb;
  font-weight: 600;
}
.candidate-nav-link .material-symbols-outlined { font-size: 1.25rem; }

/* Profile page tabs */
.profile-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  border-radius: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.profile-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5625rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.profile-tab:hover { color: #0050cb; }
.profile-tab.is-active {
  background: #fff;
  color: #0050cb;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.profile-tab .material-symbols-outlined { font-size: 1.125rem; }
.profile-panel { display: none; }
.profile-panel.is-active { display: block; }

/* Employer interest form */
.interest-form-header { margin-bottom: 1.5rem; }
.interest-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background: #f0f6ff;
  border: 1px solid rgba(0, 102, 255, 0.15);
  font-size: 12px;
  font-weight: 600;
  color: #0050cb;
}
.interest-form-badge .material-symbols-outlined { font-size: 1rem; }
.interest-form-fields { display: flex; flex-direction: column; gap: 1.25rem; }
.interest-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .interest-form-grid--2 { grid-template-columns: 1fr 1fr; }
}
.interest-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.375rem;
}
.interest-form-field input,
.interest-form-field select,
.interest-form-field textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #f8fafc;
  font-size: 14px;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.interest-form-field input::placeholder,
.interest-form-field textarea::placeholder { color: #94a3b8; }
.interest-form-field input:focus,
.interest-form-field select:focus,
.interest-form-field textarea:focus {
  outline: none;
  border-color: #0066ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}
.interest-form-field textarea { resize: vertical; min-height: 6rem; }
.interest-form-field { overflow: visible; }
.interest-form-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #0066ff 0%, #0050cb 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 80, 203, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.interest-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 80, 203, 0.35);
}
.interest-form-note {
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
  margin-top: 1rem;
}
.interest-form-note a { color: #0050cb; text-decoration: none; }
.interest-form-note a:hover { text-decoration: underline; }

