/*
 * ═══════════════════════════════════════════════════════════════════════════
 * DIGITAL CARDS — LEGAL / COMPLIANCE PAGES (terms.html, privacy.html)
 * legal.css · LOAD ONLY ON THESE TWO PAGES, AFTER assets/css/main.css
 * ───────────────────────────────────────────────────────────────────────────
 * Ported class-for-class from the Digital Cards Portal (Laravel app) so the
 * legal pages match the portal's own compliance/terms.blade.php and
 * compliance/privacy.blade.php exactly — same class names, same rules, same
 * portal design tokens (unprefixed, scoped to this file only; the rest of
 * this site uses its own --dc-* tokens in main.css and never defines these
 * names, so there is no collision).
 *
 * Source files (Digital Cards Portal, public/assets/css/):
 *   styles.css → tokens, page hero + breadcrumbs, section title, buttons,
 *                hero/section responsive breakpoints
 *   web.css    → legal layout/document shell, legal table, security grid,
 *                pricing tiers (sections 10–13)
 *   form.css   → form shell + title row (section 1), form-scoped alerts
 *                (section 6)
 *
 * Only the rules the terms/privacy markup actually uses are ported — e.g.
 * .form-alert-icon/-content/-title/-message are skipped because the portal's
 * own blade markup never wraps its alert in those sub-classes, and the
 * page-hero-bg background image is skipped because it points at an internal
 * admin-portal screenshot with no public equivalent (the dark gradient
 * overlay alone already renders correctly without it).
 *
 *   1. Portal design tokens
 *   2. Page hero + breadcrumbs (.page-title.web-hero.web-panel-hero)
 *   3. Section title (.section-title)
 *   4. Buttons (.form-btn / .form-btn-light)
 *   5. Form shell + title row
 *   6. Form-scoped alert (.form-alert / .form-alert-warning)
 *   7. Legal layout + document shell
 *   8. Legal table
 *   9. Security grid (privacy.html only)
 *  10. Pricing tiers (terms.html only)
 *  11. Bootstrap-utility shims (.mb-0/.mb-4/.ms-1 used verbatim in the blade)
 *  12. Responsive
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════
   1. PORTAL DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  --font-sans: "Inter", "Roboto", system-ui, -apple-system, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;

  --brand: #50c5ff;
  --brand-dark: #36bafc;
  --brand-deeper: #0369a1;
  --brand-soft: rgba(80, 197, 255, 0.07);
  --brand-ring: rgba(80, 197, 255, 0.2);
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #bae6fd;

  --n-50: #f8fafc;
  --n-100: #f1f5f9;

  --bg: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-md: #cbd5e1;

  --text: #334155;
  --text-head: #0f172a;
  --text-muted: #64748b;
  --text-faint: #667585;

  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-2xl: 24px;
  --r-pill: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.12s var(--ease);
  --t-base: 0.2s var(--ease);

  --amber-50: #fffbeb;
  --amber-dark: #d97706;
  --amber-text: #92400e;
  --green-text: #065f46;
}

/* ═══════════════════════════════════════════════════════════════
   2. PAGE HERO + BREADCRUMBS  (.page-title.web-hero.web-panel-hero)
   ═══════════════════════════════════════════════════════════════ */
.web-panel-hero {
  position: relative;
  min-height: 360px;
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

/* dark gradient overlay */
.web-panel-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg,
      rgba(7, 14, 26, 0.96) 0%,
      rgba(14, 27, 52, 0.88) 38%,
      rgba(14, 27, 52, 0.72) 100%);
}

/* accent glow top-right */
.web-panel-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(14, 165, 233, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.web-panel-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.web-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 14px;
  margin: 0 0 18px;
  border-radius: var(--r-pill);
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(14, 165, 233, 0.28);
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.web-hero-badge i {
  color: var(--brand);
}

.web-panel-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

.web-panel-hero>.container>p {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.75;
  font-family: var(--font-sans);
  text-align: center;
}

/* Breadcrumbs */
.web-panel-hero .breadcrumbs {
  width: 100%;
  margin-top: 24px;
}

.web-panel-hero .breadcrumbs ol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.web-panel-hero .breadcrumbs li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.55);
}

.web-panel-hero .breadcrumbs li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--t-fast);
}

.web-panel-hero .breadcrumbs li a:hover {
  color: var(--brand);
}

.web-panel-hero .breadcrumbs li:last-child {
  color: var(--brand);
  font-weight: 700;
}

.web-panel-hero .breadcrumbs li+li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

/* centered page-title hero */
.page-title.web-panel-hero,
.page-title.web-panel-hero>.container {
  text-align: center;
}

.page-title.web-panel-hero>.container>p {
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   3. SECTION TITLE  (.section-title)
   ═══════════════════════════════════════════════════════════════ */
.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title h2::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--brand);
  opacity: 0.4;
}

.section-title p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   4. BUTTONS  (.form-btn base + .form-btn-light variant)
   ═══════════════════════════════════════════════════════════════ */
.form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.862rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base);
  position: relative;
}

.form-btn:hover,
.form-btn:focus {
  text-decoration: none;
}

.form-btn-light {
  background: var(--surface);
  border-color: var(--border-md);
  color: var(--text-head);
  box-shadow: var(--shadow-xs);
}

.form-btn-light:hover,
.form-btn-light:focus {
  background: var(--n-50);
  border-color: var(--brand-ring);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   5. FORM SHELL + TITLE ROW
   ═══════════════════════════════════════════════════════════════ */
.form-shell {
  background: var(--bg);
}

.form-shell>.container {
  width: 100%;
  max-width: 1800px;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
}

.form-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.form-section-title {
  flex: 1 1 auto;
  min-width: 0;
}

.form-back-btn {
  flex: 0 0 auto;
}

.form-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   6. FORM-SCOPED ALERT  (.form-alert / .form-alert-warning)
   ═══════════════════════════════════════════════════════════════ */
.form-alert {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin: 18px 26px 22px;
  padding: 13px 16px;

  border: 1px solid transparent;
  border-radius: 12px;

  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.55;

  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 5px 14px rgba(15, 23, 42, 0.035);

  overflow: hidden;
}

/* Small emphasis strip on the left */
.form-alert::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: currentColor;
  opacity: 0.7;
}

/* Remove inset margins where required */
.form-alert.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.form-alert i {
  margin-top: 1px;
  flex-shrink: 0;
}

/* Warning */
.form-alert-warning {
  color: var(--amber-text);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.98), rgba(255, 247, 237, 0.96));
  border-color: rgba(245, 158, 11, 0.3);
}

.form-alert strong {
  color: inherit;
}

@media (max-width: 767.98px) {
  .form-alert {
    gap: 10px;
    margin: 0 16px 16px;
    padding: 12px 13px;
    border-radius: 10px;
    font-size: 0.83rem;
  }
}

@media (max-width: 575.98px) {
  .form-alert {
    margin-left: 12px;
    margin-right: 12px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   7. LEGAL LAYOUT AND DOCUMENT SHELL (shared — privacy + terms)
   ═══════════════════════════════════════════════════════════════ */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.legal-toc-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  background: var(--brand-50);
  color: var(--brand-deeper);
}

.legal-doc {
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.legal-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--n-50);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal-doc-meta strong {
  color: var(--text-head);
}

.legal-section {
  padding: 28px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.legal-section-num {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  background: var(--brand-50);
  border: 1px solid var(--brand-ring);
  color: var(--brand-deeper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
}

.legal-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-head);
}

.legal-section p,
.legal-section li {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
}

.legal-section ul,
.legal-section ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section h3 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-head);
  margin: 18px 0 8px;
}

/* ═══════════════════════════════════════════════════════════════
   8. LEGAL TABLE (shared — privacy + terms)
   ═══════════════════════════════════════════════════════════════ */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  margin: 14px 0;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--n-50);
  font-weight: 800;
  color: var(--text-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   9. SECURITY GRID (privacy.html only)
   ═══════════════════════════════════════════════════════════════ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 14px 0;
}

.security-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--n-50);
}

.security-item i {
  font-size: 1.1rem;
  color: var(--green-text);
  flex-shrink: 0;
}

.security-item strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--text-head);
  margin-bottom: 2px;
}

.security-item span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   10. PRICING TIERS (terms.html only)
   ═══════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 20px 0 10px;
}

.pricing-card {
  position: relative;
  text-align: center;
  border: 1px solid var(--border);
  border-top: 4px solid var(--text-faint);
  border-radius: var(--r-xl);
  padding: 26px 20px 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-card.is-bronze {
  border-top-color: #b8763e;
}

.pricing-card.is-silver {
  border-top-color: #9aa5b1;
}

.pricing-card.is-gold {
  border-top-color: #d4a017;
}

.pricing-card.is-custom {
  border-top-color: var(--brand);
}

.pricing-card.is-featured {
  border-color: var(--brand-ring);
  box-shadow: 0 14px 34px rgba(80, 197, 255, 0.22);
  transform: translateY(-6px);
}

.pricing-featured-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.pricing-medal {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}

.pricing-card.is-bronze .pricing-medal {
  background: linear-gradient(145deg, #c98a52, #9c6530);
}

.pricing-card.is-silver .pricing-medal {
  background: linear-gradient(145deg, #c3ccd6, #8b95a1);
}

.pricing-card.is-gold .pricing-medal {
  background: linear-gradient(145deg, #f3c948, #c9971a);
}

.pricing-card.is-custom .pricing-medal {
  background: linear-gradient(145deg, var(--brand), var(--brand-deeper));
  font-size: 1.4rem;
}

.pricing-card h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--text-head);
}

.pricing-price-block {
  padding: 14px 0 16px;
  margin-bottom: 14px;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-head);
}

.pricing-price small {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-align: left;
  flex: 1 1 auto;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text);
}

.pricing-card li i {
  color: var(--brand-deeper);
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-card.is-featured li i {
  color: var(--brand);
}

/* Shared sample-data flag (used in the pricing cards' payment terms and the
   support-response table on terms.html) */
.sample-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #92400e;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   11. BOOTSTRAP-UTILITY SHIMS
   The portal's blade markup carries a few Bootstrap spacing utilities
   inline (.mb-0/.mb-4/.ms-1). This site doesn't load Bootstrap's own
   CSS, so the three actually used here are shimmed with Bootstrap's
   own values.
   ═══════════════════════════════════════════════════════════════ */
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

/* ═══════════════════════════════════════════════════════════════
   12. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1199.98px) {
  .form-shell>.container {
    max-width: 100%;
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 991.98px) {
  .web-panel-hero {
    min-height: 340px;
    padding: 64px 20px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    max-height: none;
    margin-bottom: 20px;
  }

  .form-section-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-title-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .form-back-btn {
    margin-top: 0;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .form-shell.section {
    padding: 40px 0;
  }

  .web-panel-hero {
    min-height: 320px;
    padding: 56px 20px;
  }

  .web-panel-hero .container {
    max-width: 100%;
  }

  .web-hero-badge {
    font-size: 0.68rem;
  }

  .web-panel-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .web-panel-hero>.container>p {
    max-width: 560px;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .web-panel-hero .breadcrumbs {
    margin-top: 20px;
  }

  .form-title-actions .form-btn,
  .form-title-actions form {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .web-panel-hero {
    min-height: 290px;
    padding: 48px 16px;
  }

  .web-hero-badge {
    margin-bottom: 16px;
  }

  .web-panel-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(1.7rem, 9vw, 2rem);
  }

  .form-btn {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .section-title p {
    font-size: 1.15rem;
  }

  .form-shell>.container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .form-section-title-row {
    gap: 14px;
    margin-bottom: 18px;
  }

  .form-alert {
    margin-left: 12px;
    margin-right: 12px;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════════════════
   FINAL LEGAL PAGE SPACING — centered hero + section breathing room
   ═══════════════════════════════════════════════════════════════ */
.page-title.web-panel-hero {
  min-height: 390px;
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-title.web-panel-hero>.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-shell.section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.form-section-title-row {
  gap: 24px;
  margin-bottom: 28px;
}

@media (max-width: 991.98px) {
  .page-title.web-panel-hero {
    min-height: 350px;
    padding: 64px 24px;
  }

  .form-shell.section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (max-width: 767.98px) {
  .page-title.web-panel-hero {
    min-height: 320px;
    padding: 56px 20px;
  }

  .form-shell.section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .form-section-title-row {
    gap: 18px;
    margin-bottom: 24px;
  }
}

@media (max-width: 575.98px) {
  .page-title.web-panel-hero {
    min-height: 290px;
    padding: 48px 16px;
  }

  .form-shell.section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}