:root {
  --fh-blue: #1e4eff;
  --fh-blue-dark: #153dc7;
  --fh-green: #17c964;
  --fh-ink: #0f172a;
  --fh-text: #334155;
  --fh-muted: #64748b;
  --fh-line: #e2e8f0;
  --fh-soft: #f6fbf9;
  --fh-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--fh-text);
  background: #f8fafc;
}

.fh-site {
  background: #fff;
  color: var(--fh-text);
}

.fh-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.fh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fh-line);
}

.fh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.fh-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.fh-logo-image .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.fh-logo-image .custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
}

.fh-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--fh-blue), #4f7bff);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fh-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--fh-ink);
}

.fh-nav ul {
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fh-nav a {
  text-decoration: none;
  color: var(--fh-text);
  font-weight: 600;
}

.fh-nav a:hover,
.fh-nav a:focus {
  color: var(--fh-blue);
}

.fh-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.fh-link {
  text-decoration: none;
  color: var(--fh-blue);
  font-weight: 700;
}

.fh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  height: 44px;
  padding: 0 22px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

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

.fh-btn-primary:hover,
.fh-btn-primary:focus {
  background: var(--fh-blue-dark);
  color: #fff;
}

.fh-btn-light {
  border: 1px solid var(--fh-line);
  background: #fff;
  color: var(--fh-ink);
}

.fh-btn-light:hover,
.fh-btn-light:focus {
  border-color: var(--fh-blue);
  color: var(--fh-blue);
}

.fh-menu-toggle {
  display: none;
  border: 0;
  background: #f1f5f9;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 18px;
}

.fh-hero {
  padding: 60px 0 36px;
  background: linear-gradient(180deg, #eefbf4 0%, #ffffff 100%);
}

.fh-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.fh-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #16a34a;
  font-weight: 800;
  margin: 0 0 12px;
}

.fh-eyebrow.center {
  display: block;
  text-align: center;
}

.fh-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  color: var(--fh-ink);
}

.fh-hero p {
  color: var(--fh-muted);
  font-size: 16px;
}

.fh-search-form {
  margin-top: 24px;
}

.fh-search-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 10px;
  background: #fff;
  border: 1px solid #dbe7ef;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.fh-search-row input,
.fh-search-row select {
  width: 100%;
  border: 1px solid var(--fh-line);
  height: 46px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
}

.fh-hero-stats {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fh-hero-stats > div {
  border: 1px solid #dfe9f0;
  border-radius: 12px;
  background: #fff;
  padding: 10px 14px;
  min-width: 120px;
}

.fh-hero-stats strong {
  display: block;
  color: var(--fh-ink);
  font-size: 18px;
}

.fh-hero-stats span {
  font-size: 13px;
  color: var(--fh-muted);
}

.fh-hero-visual {
  min-height: 380px;
  border-radius: 22px;
  background: linear-gradient(165deg, #d9f0e6, #f0f8ff);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fh-hero-card {
  position: absolute;
  left: 22px;
  top: 28px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.fh-hero-card p {
  margin: 0;
  font-size: 12px;
}

.fh-hero-card strong {
  color: var(--fh-blue);
}

.fh-hero-avatar {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #dde8ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 74px;
  box-shadow: 0 20px 35px rgba(30, 78, 255, 0.2);
}

.fh-hero-badge {
  position: absolute;
  right: 24px;
  bottom: 22px;
  background: var(--fh-blue);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}

.fh-dual-cta {
  padding: 16px 0 8px;
}

.fh-dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fh-cta-card {
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  min-height: 86px;
}

.fh-cta-card h3 {
  margin: 0;
  font-size: 20px;
}

.fh-cta-card p {
  margin: 4px 0 0;
  opacity: 0.92;
  font-size: 13px;
}

.fh-cta-card span {
  font-size: 24px;
}

.fh-cta-card.blue { background: linear-gradient(90deg, #0f4cff, #2258ff); }
.fh-cta-card.green { background: linear-gradient(90deg, #11b86d, #1edb8d); }

.fh-section {
  padding: 68px 0;
}

.fh-section.fh-soft {
  background: var(--fh-soft);
}

.fh-section-title {
  text-align: center;
  margin: 0 0 24px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  color: var(--fh-ink);
}

.fh-company-grid,
.fh-category-grid,
.fh-job-grid,
.fh-blog-grid,
.fh-city-grid,
.fh-steps-grid {
  display: grid;
  gap: 16px;
}

.fh-company-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fh-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fh-job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fh-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fh-city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fh-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.fh-company-card,
.fh-category-card,
.fh-job-card,
.fh-blog-card,
.fh-steps-grid article,
.fh-testimonial-card {
  background: #fff;
  border: 1px solid #e6edf3;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.fh-company-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e8efff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fh-blue);
  font-weight: 800;
}

.fh-company-card h3,
.fh-job-card h3,
.fh-blog-card h3,
.fh-steps-grid h3 {
  margin: 10px 0 6px;
  color: var(--fh-ink);
}

.fh-company-card p,
.fh-company-card span,
.fh-job-card p,
.fh-job-card span,
.fh-blog-card p,
.fh-blog-card span,
.fh-steps-grid p {
  margin: 0;
  color: var(--fh-muted);
  font-size: 14px;
}

.fh-center {
  text-align: center;
  margin-top: 22px;
}

.fh-category-card {
  text-decoration: none;
  color: inherit;
}

.fh-category-card strong {
  color: var(--fh-ink);
}

.fh-category-card span {
  display: block;
  margin-top: 6px;
  color: var(--fh-muted);
  font-size: 13px;
}

.fh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.fh-tags a {
  border: 1px solid #d9e5f1;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 13px;
}

.fh-tags a:hover,
.fh-tags a:focus {
  border-color: var(--fh-blue);
  color: var(--fh-blue);
}

.fh-steps-grid article span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: #e8efff;
  color: var(--fh-blue);
  font-weight: 800;
}

.fh-job-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fh-muted);
}

.badge {
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
}

.badge.light {
  background: #dcfce7;
  color: #15803d;
}

.fh-job-card a {
  color: var(--fh-ink);
  text-decoration: none;
}

.fh-job-card a:hover,
.fh-job-card a:focus {
  color: var(--fh-blue);
}

.fh-job-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.fh-video-wrap {
  background: #f4f8ff;
}

.fh-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.fh-video-card {
  min-height: 300px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1e293b, #334155);
  position: relative;
}

.fh-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: #fff;
  color: var(--fh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.fh-city-card {
  min-height: 160px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.fh-city-card h3,
.fh-city-card span {
  margin: 0;
  color: #fff;
}

.fh-testimonials {
  position: relative;
}

.fh-testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px;
}

.fh-testimonial-track::-webkit-scrollbar {
  height: 8px;
}

.fh-testimonial-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.fh-stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 0.06em;
}

.fh-carousel-btn {
  position: absolute;
  top: -48px;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
}

.fh-carousel-btn.prev { right: 42px; }

.fh-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.fh-app-screen {
  min-height: 260px;
  border-radius: 16px;
  background: linear-gradient(140deg, #1e4eff, #8ea8ff);
  box-shadow: 0 18px 30px rgba(30, 78, 255, 0.26);
}

.fh-store-buttons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.fh-store-buttons a {
  text-decoration: none;
  color: #fff;
  background: #111827;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}

.fh-newsletter {
  padding: 26px 0;
  background: linear-gradient(90deg, #dff3ea, #f1f5ff);
}

.fh-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
}

.fh-newsletter h3 {
  margin: 0;
  color: var(--fh-ink);
}

.fh-newsletter p {
  margin: 4px 0 0;
  color: var(--fh-muted);
}

.fh-newsletter form {
  display: inline-flex;
  gap: 8px;
}

.fh-newsletter input {
  height: 44px;
  border: 1px solid #c7d9ea;
  border-radius: 10px;
  padding: 0 12px;
  min-width: 260px;
}

.fh-newsletter button {
  border: 0;
  background: var(--fh-blue);
  color: #fff;
  height: 44px;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 700;
}

.fh-subscribe-msg {
  text-align: center;
  margin: 12px 0 0;
  color: #0f172a;
}

.fh-subscribe-msg.success { color: #15803d; }
.fh-subscribe-msg.error { color: #b91c1c; }

.fh-blog-image {
  min-height: 160px;
  border-radius: 10px;
  background: linear-gradient(150deg, #c7ddff, #edf3ff);
}

.fh-blog-content {
  padding-top: 12px;
}

.fh-blog-content span {
  color: #64748b;
  font-size: 13px;
}

.fh-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 34px;
}

.fh-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 22px;
  padding: 48px 0;
}

.fh-footer h3,
.fh-footer h4 {
  color: #fff;
  margin-top: 0;
}

.fh-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fh-footer li {
  margin: 7px 0;
}

.fh-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.fh-footer a:hover,
.fh-footer a:focus {
  color: #fff;
}

.fh-footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 14px 0;
  font-size: 13px;
}

/* Jobs board page */
.fh-job-board-main {
  padding: 40px 0 60px;
}

.fh-job-board-head h1 {
  margin: 0;
  color: var(--fh-ink);
  font-size: 42px;
}

.fh-job-filters {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
}

.fh-job-filters input,
.fh-job-filters select {
  height: 44px;
  border: 1px solid var(--fh-line);
  border-radius: 10px;
  padding: 0 12px;
}

.fh-job-board-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.fh-job-list-col,
.fh-job-detail-col {
  background: #fff;
  border: 1px solid #e4ebf4;
  border-radius: 14px;
  padding: 16px;
}

.fh-job-list-col h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--fh-ink);
}

.fh-job-list {
  display: grid;
  gap: 12px;
}

.fh-job-item {
  border: 1px solid #e5edf7;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
}

.fh-job-item.active {
  border-color: var(--fh-blue);
  box-shadow: 0 8px 20px rgba(30, 78, 255, 0.12);
}

.fh-job-item h3 {
  margin: 0 0 6px;
  color: var(--fh-ink);
  font-size: 20px;
}

.fh-job-item p {
  margin: 0;
  font-size: 14px;
  color: var(--fh-muted);
}

.fh-job-item-meta {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fh-job-item-meta span {
  border: 1px solid #dce8f5;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.fh-job-open {
  display: inline-block;
  margin-top: 10px;
  color: var(--fh-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.fh-job-detail {
  display: none;
}

.fh-job-detail.active {
  display: block;
}

.fh-job-detail h2 {
  margin-top: 0;
  color: var(--fh-ink);
  font-size: 32px;
}

.fh-job-detail-company {
  margin: 4px 0 12px;
  color: #0f172a;
  font-weight: 600;
}

.fh-job-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.fh-job-detail-tags span {
  background: #f1f5f9;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
}

.fh-job-detail-content {
  line-height: 1.68;
  color: #374151;
}

.fh-job-detail-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.fh-empty-state {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 12px;
  padding: 14px;
}

@media (max-width: 1100px) {
  .fh-company-grid,
  .fh-category-grid,
  .fh-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fh-job-grid,
  .fh-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fh-hero-grid,
  .fh-video-grid,
  .fh-app-grid,
  .fh-job-board-layout,
  .fh-footer-grid {
    grid-template-columns: 1fr;
  }

  .fh-hero-visual {
    min-height: 300px;
  }

  .fh-job-filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .fh-container {
    width: min(1200px, calc(100% - 20px));
  }

  .fh-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .fh-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5edf5;
    padding: 12px;
  }

  .fh-nav.open {
    display: block;
  }

  .fh-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .fh-header-actions {
    display: none;
  }

  .fh-search-row {
    grid-template-columns: 1fr;
  }

  .fh-dual-cta-grid,
  .fh-company-grid,
  .fh-category-grid,
  .fh-job-grid,
  .fh-blog-grid,
  .fh-city-grid,
  .fh-steps-grid {
    grid-template-columns: 1fr;
  }

  .fh-newsletter-inner {
    grid-template-columns: 1fr;
  }

  .fh-newsletter form {
    flex-direction: column;
  }

  .fh-newsletter input {
    min-width: 0;
    width: 100%;
  }

  .fh-job-filters {
    grid-template-columns: 1fr;
  }

  .fh-job-item h3 {
    font-size: 18px;
  }

  .fh-job-detail h2 {
    font-size: 26px;
  }
}

/* Auth and dashboard pages */
.fh-page-main {
  padding: 42px 0 70px;
  min-height: 60vh;
}

.fh-auth-wrap {
  max-width: 620px;
}

.fh-auth-card,
.fh-panel {
  background: #fff;
  border: 1px solid #e4ebf4;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.fh-auth-card h1,
.fh-panel h1 {
  margin: 0;
  color: var(--fh-ink);
}

.fh-auth-card p,
.fh-panel p {
  color: var(--fh-muted);
}

.fh-notice {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e3a8a;
}

.fh-notice.success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.fh-notice.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.fh-form-grid {
  display: grid;
  gap: 14px;
}

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

.fh-field {
  display: grid;
  gap: 6px;
}

.fh-field span {
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
}

.fh-field input,
.fh-field textarea,
.fh-field select {
  width: 100%;
  border: 1px solid #d8e3ef;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}

.fh-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 14px;
}

.fh-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.fh-auth-switch {
  margin: 10px 0 0;
  color: #334155;
}

.fh-auth-switch a {
  color: var(--fh-blue);
  font-weight: 700;
  text-decoration: none;
}

.fh-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.fh-stat-card {
  background: #f8fbff;
  border: 1px solid #dfe9f5;
  border-radius: 12px;
  padding: 14px;
}

.fh-stat-card strong {
  display: block;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
}

.fh-stat-card span {
  color: #64748b;
  font-size: 13px;
}

.fh-table-wrap {
  margin-top: 22px;
}

.fh-table-wrap h2 {
  margin: 0 0 10px;
  color: var(--fh-ink);
}

.fh-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e4ebf4;
  border-radius: 12px;
  overflow: hidden;
}

.fh-table th,
.fh-table td {
  border-bottom: 1px solid #e9eef5;
  padding: 11px;
  text-align: left;
  font-size: 14px;
}

.fh-table th {
  color: #0f172a;
  background: #f8fbff;
}

.fh-table td {
  color: #334155;
}

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

.fh-table a {
  color: var(--fh-blue);
  text-decoration: none;
  font-weight: 700;
}

.fh-job-highlight {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #f8fbff;
}

.fh-job-highlight h2 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
}

.fh-job-highlight p {
  margin: 6px 0 0;
}

@media (max-width: 1100px) {
  .fh-stats-grid,
  .fh-form-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .fh-auth-card,
  .fh-panel {
    padding: 16px;
  }

  .fh-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .fh-inline-actions {
    flex-direction: column;
  }
}

/* Auth redesign */
.fh-auth-page {
  background: linear-gradient(115deg, #eef4fb 0%, #f4fbf7 58%, #e6edf9 100%);
}

.fh-auth-shell {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.fh-auth-promo,
.fh-auth-form-panel {
  border-radius: 18px;
  border: 1px solid #dce7f4;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.fh-auth-promo {
  padding: 34px 34px 30px;
  background: radial-gradient(circle at top right, rgba(160, 181, 235, 0.2), transparent 42%),
    linear-gradient(120deg, #e8f2f7 0%, #edf7f1 100%);
}

.fh-auth-eyebrow {
  display: inline-block;
  border-radius: 999px;
  background: #d6e4fb;
  color: #1a49cf;
  padding: 8px 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 800;
}

.fh-auth-promo h1 {
  margin: 16px 0 12px;
  color: #0f1935;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.04;
}

.fh-auth-promo p {
  margin: 0;
  color: #334155;
  max-width: 620px;
  font-size: 22px;
  line-height: 1.46;
}

.fh-auth-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
}

.fh-auth-points li {
  position: relative;
  padding-left: 36px;
  color: #0f2545;
  font-size: 20px;
}

.fh-auth-points li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #20c36d;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fh-auth-form-panel {
  padding: 22px 18px 20px;
}

.fh-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.fh-auth-divider::before,
.fh-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d3dceb;
}

.fh-auth-divider span {
  color: #7a8aa1;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 700;
  font-size: 12px;
}

.fh-role-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: 12px;
  background: #eceff4;
  padding: 6px;
}

.fh-role-tab {
  height: 44px;
  border-radius: 9px;
  border: 0;
  font-size: 20px;
  font-weight: 700;
  color: #334e6f;
  background: transparent;
  cursor: pointer;
}

.fh-role-tab.active {
  background: #1e63e9;
  color: #fff;
  box-shadow: 0 6px 14px rgba(30, 99, 233, 0.26);
}

.fh-auth-tab-panel {
  margin-top: 16px;
}

.fh-auth-form-panel .fh-field span {
  font-size: 16px;
}

.fh-auth-form-panel .fh-field input,
.fh-auth-form-panel .fh-field textarea,
.fh-auth-form-panel .fh-field select {
  height: 50px;
  padding: 0 14px;
  border-radius: 16px;
  border-color: #d2dae7;
  background: #f7f9fc;
  font-size: 18px;
}

.fh-auth-form-panel .fh-check {
  align-items: flex-start;
  line-height: 1.5;
  font-size: 16px;
}

.fh-auth-form-panel .fh-check input {
  margin-top: 4px;
}

.fh-auth-form-panel .fh-check a {
  color: #1f4edb;
  text-decoration: none;
  font-weight: 700;
}

.fh-auth-submit {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  font-size: 20px;
}

.fh-login-panel h2 {
  margin: 0;
  color: #0f1935;
}

.fh-login-panel p {
  margin: 8px 0 12px;
}

.fh-inline-status-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.fh-inline-status-form select {
  border: 1px solid #d3dbe7;
  border-radius: 8px;
  min-width: 132px;
  height: 34px;
  padding: 0 8px;
}

.fh-inline-status-form .fh-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .fh-auth-shell {
    grid-template-columns: 1fr;
  }

  .fh-auth-promo h1 {
    font-size: clamp(30px, 4vw, 46px);
  }

  .fh-auth-promo p,
  .fh-auth-points li {
    font-size: 18px;
  }

  .fh-role-tab {
    font-size: 16px;
  }

  .fh-auth-submit {
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .fh-auth-promo,
  .fh-auth-form-panel {
    padding: 16px;
  }

  .fh-auth-promo h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .fh-auth-promo p,
  .fh-auth-points li {
    font-size: 16px;
  }

  .fh-auth-form-panel .fh-field input,
  .fh-auth-form-panel .fh-field textarea,
  .fh-auth-form-panel .fh-field select {
    font-size: 15px;
    height: 46px;
    border-radius: 12px;
  }

  .fh-auth-form-panel .fh-field span,
  .fh-auth-form-panel .fh-check {
    font-size: 14px;
  }

  .fh-auth-submit {
    height: 50px;
    font-size: 18px;
  }
}
