/* ═══════════════════════════════════════════════════════════════════
   DeepMolecules Design System
   Complete visual layer. Bootstrap kept only for grid & form utilities.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design tokens ────────────────────────────────────────────────── */
:root {
  --primary:        #6366f1;
  --primary-dark:   #4f46e5;
  --primary-light:  #eef2ff;
  --primary-rgb:    99, 102, 241;

  --violet:         #8b5cf6;
  --emerald:        #10b981;
  --emerald-light:  #d1fae5;
  --amber:          #f59e0b;
  --amber-light:    #fef3c7;
  --rose:           #f43f5e;
  --rose-light:     #ffe4e6;

  --bg:      #f1f5f9;
  --card-bg: #ffffff;
  --dark:    #0f172a;
  --dark2:   #1e293b;
  --text:    #0f172a;
  --text2:   #1e293b;
  --muted:   #64748b;
  --light:   #94a3b8;
  --border:  #e2e8f0;
  --border2: #f1f5f9;

  --nav-h: 64px;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);

  --t: all 0.2s ease;
}

/* ── Reset / Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

a { text-decoration: none; color: inherit; }

/* ── Erase old hero-area wrappers entirely ────────────────────────── */
.hero_area,
.hero_area2 {
  background: none !important;
  height: auto !important;
  display: block !important;
}

/* ── Navbar ───────────────────────────────────────────────────────── */
.dm-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.dm-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.dm-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.dm-nav__logo:hover {
  text-decoration: none;
}

.dm-nav__logo:hover .dm-gradient-text {
  background-position: right center;
}

.dm-nav__logo-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.dm-nav__logo-text {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Nav links (center) */
.dm-nav__links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.dm-nav__link {
  padding: 8px 18px;
  border-radius: var(--r);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--muted);
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
}

.dm-nav__link:hover {
  color: var(--text);
  background: var(--bg);
  text-decoration: none;
}

.dm-nav__link.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.dm-nav__partner-logo {
  height: 68px;
  width: auto;
  flex-shrink: 0;
}

.dm-nav__links + .dm-nav__partner-logo {
  margin-left: 14px;
}

.dm-nav__partner-logo--hhu {
  height: 62px;
}

@media (max-width: 768px) {
  .dm-nav__partner-logo { display: none; }
}

/* Mobile toggle */
.dm-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  margin-left: auto;
}

.dm-nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--dark2);
  border-radius: 2px;
  transition: var(--t);
}

@media (max-width: 768px) {
  .dm-nav__links { display: none; }
  .dm-nav__toggle { display: flex; }
  .dm-nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 16px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    z-index: 499;
  }
}

/* ── Hero (home page) ─────────────────────────────────────────────── */
.dm-hero {
  padding: 96px 28px 80px;
  text-align: center;
  background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.dm-hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dm-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
}

.dm-shape--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(99,102,241,0.4), transparent);
  top: -200px; left: -120px;
}

.dm-shape--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(139,92,246,0.3), transparent);
  top: 20px; right: -100px;
}

.dm-shape--3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(16,185,129,0.18), transparent);
  bottom: -60px; left: 42%;
}

.dm-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.dm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.dm-badge-dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: dmPulse 2s infinite;
}

@keyframes dmPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(99,102,241,0); }
}

.dm-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 20px;
}

.dm-gradient-text {
  display: inline-block;
  background: linear-gradient(110deg,
    var(--primary-dark) 0%,
    var(--primary-dark) 15%,
    var(--primary)      35%,
    #818cf8             50%,
    var(--violet)       65%,
    #7c3aed             82%,
    #5b21b6             100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 280% 100%;
  background-position: left center;
  transition: background-position 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.dm-gradient-text:hover {
  background-position: right center;
}

.dm-hero__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.dm-hero__note {
  font-size: 13.5px;
  color: var(--text2);
  font-weight: 600;
  max-width: 540px;
  margin: 0 auto 36px;
}

.dm-hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.dm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-lg);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1;
}

.dm-btn--primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.3);
}

.dm-btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.dm-btn--ghost {
  background: var(--card-bg);
  color: var(--text2);
  border-color: var(--border);
}

.dm-btn--ghost:hover {
  background: var(--bg);
  color: var(--text);
  border-color: var(--light);
  text-decoration: none;
}

.dm-btn--lg {
  padding: 13px 28px;
  font-size: 15px;
}

.dm-btn--sm {
  padding: 7px 14px;
  font-size: 12.5px;
  border-radius: var(--r);
}

/* Bootstrap btn overrides */
.btn {
  font-family: 'Inter', system-ui, sans-serif !important;
  border-radius: var(--r) !important;
  font-weight: 600;
  transition: var(--t);
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-primary:hover, .btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35) !important;
}

.btn-success {
  background-color: var(--emerald) !important;
  border-color: var(--emerald) !important;
}

.btn-success:hover {
  background-color: #059669 !important;
  border-color: #059669 !important;
}

input[type="submit"] {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  transition: var(--t);
}

/* ── Models section ───────────────────────────────────────────────── */
.dm-models {
  padding: 80px 28px 100px;
  background: #fafbff;
}

.dm-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.dm-section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.dm-section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.2;
}

.dm-section-header p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Model cards ──────────────────────────────────────────────────── */
.dm-cards-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .dm-cards-grid { grid-template-columns: 1fr; }
}

.dm-model-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.dm-model-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  opacity: 0;
  transition: var(--t);
}

.dm-model-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.25);
  color: inherit;
  text-decoration: none;
}

.dm-model-card:hover::before {
  opacity: 1;
}

/* Model-specific top-accent colors on hover */
.dm-model-card--esp::before    { background: linear-gradient(90deg, var(--violet), #a78bfa); }
.dm-model-card--kcat::before   { background: linear-gradient(90deg, var(--amber), #f97316); }
.dm-model-card--km::before     { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.dm-model-card--spot::before   { background: linear-gradient(90deg, var(--emerald), #059669); }
.dm-model-card--fckcat::before { background: linear-gradient(90deg, var(--rose), #e11d48); }

.dm-model-card__icon {
  width: 64px; height: 64px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.dm-model-card__icon--indigo  { background: none; border: 2px solid var(--primary); color: var(--primary); }
.dm-model-card__icon--violet  { background: none; border: 2px solid var(--violet); color: var(--violet); }
.dm-model-card__icon--emerald { background: none; border: 2px solid var(--emerald); color: var(--emerald); }
.dm-model-card__icon--amber   { background: none; border: 2px solid var(--amber); color: var(--amber); }
.dm-model-card__icon--rose    { background: none; border: 2px solid var(--rose); color: var(--rose); }

.dm-model-card--soon {
  cursor: default;
  background: var(--bg);
}

.dm-model-card--soon:hover {
  box-shadow: var(--shadow-sm);
  transform: none;
  border-color: var(--border);
}

.dm-model-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--rose-light);
  color: var(--rose);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.dm-model-card__img {
  height: 52px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}

.dm-model-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

.dm-model-card__desc {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  flex: 1;
}

.dm-model-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
}

/* ── Choice pages (model input-type selection) ───────────────────── */
.dm-choice-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.dm-choice-header h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.dm-choice-header p {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.dm-note {
  max-width: 700px;
  margin: 0 auto 36px;
  background: var(--primary-light);
  border: 1px solid #e0e7ff;
  border-radius: var(--r-lg);
  padding: 16px 22px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text2);
  line-height: 1.65;
  text-align: center;
}

.dm-note a { color: var(--primary-dark); font-weight: 600; }

.dm-choice-grid {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .dm-choice-grid { grid-template-columns: 1fr; }
}

.dm-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}

.dm-choice-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.dm-choice-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 18px;
}

.dm-choice-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.4;
}

.dm-choice-card__desc {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin: 0;
}

/* ── Help page ────────────────────────────────────────────────────── */
.dm-help-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.dm-help-intro {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.6;
}

.dm-help-section {
  margin: 52px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.dm-help-section:first-of-type {
  margin-top: 36px;
}

.dm-help-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.dm-help-subhead {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.dm-help-section > .dm-help-subhead:first-child {
  margin-top: 0;
}

.dm-help-subhead2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
  margin: 22px 0 8px;
}

.dm-help-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text2);
  line-height: 1.7;
  margin: 0 0 14px;
}

.dm-help-text a { color: var(--primary-dark); font-weight: 600; }

.dm-help-img {
  margin: 22px 0;
  text-align: center;
}

.dm-help-img img {
  max-width: 100%;
  border-radius: var(--r);
}

.dm-help-caption {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin: 10px 0 0;
}

.dm-help-list {
  margin: 0 0 14px;
  padding-left: 22px;
}

.dm-help-list li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 10px;
}

.dm-help-list a { color: var(--primary-dark); font-weight: 600; }

/* ── Page wrapper (sub-pages) ─────────────────────────────────────── */
.dm-page {
  min-height: calc(100vh - var(--nav-h) - 100px);
  padding: 48px 0 60px;
}

.dm-page-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 32px;
  box-shadow: var(--shadow-xs);
}

.dm-page-header h1,
.dm-page-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

/* ── Cards for content ────────────────────────────────────────────── */
.dm-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.card {
  border-radius: var(--r-lg) !important;
  border-color: var(--border) !important;
  box-shadow: var(--shadow-sm) !important;
}

.card-header {
  background: var(--bg) !important;
  border-color: var(--border) !important;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ── Form controls ────────────────────────────────────────────────── */
.form-control,
textarea,
input[type="text"],
input[type="email"],
input[type="password"] {
  font-family: 'Inter', system-ui, sans-serif !important;
  border-color: var(--border) !important;
  border-radius: var(--r) !important;
  font-size: 13.5px;
  color: var(--text);
  transition: var(--t);
}

.form-control:focus,
textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15) !important;
  outline: none;
}

label, .form-label, .col-form-label {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 600;
  font-size: 13px;
  color: var(--text2);
}

/* ── Tables ───────────────────────────────────────────────────────── */
.table th {
  background: var(--bg) !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  border-color: var(--border) !important;
  padding: 12px 16px;
  vertical-align: middle;
}

.table td {
  border-color: var(--border) !important;
  color: var(--text2);
  padding: 12px 16px;
  vertical-align: middle;
  font-family: 'Inter', system-ui, sans-serif;
}

.table tbody tr:hover {
  background: var(--bg);
}

/* ── Footer ───────────────────────────────────────────────────────── */
.dm-footer {
  background: var(--dark);
  padding: 36px 28px;
}

.dm-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dm-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.dm-footer__logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.dm-footer__links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.dm-footer__link {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  transition: var(--t);
}

.dm-footer__link:hover {
  color: white;
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.dm-footer__copy {
  font-size: 12.5px;
  color: #475569;
}

/* ── Cookie banner ────────────────────────────────────────────────── */
.cookie-consent-banner {
  background: var(--dark2) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  color: #cbd5e1 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}

.cookie-consent-banner button {
  background: var(--primary) !important;
  border-radius: var(--r) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  transition: var(--t) !important;
}

.cookie-consent-banner button:hover {
  background: var(--primary-dark) !important;
}

/* ── Misc Bootstrap overrides ─────────────────────────────────────── */
.badge-primary, .badge-info  { background-color: var(--primary) !important; }
.badge-success               { background-color: var(--emerald) !important; }
.progress-bar                { background-color: var(--primary); }

.alert-info {
  background: var(--primary-light);
  border-color: rgba(var(--primary-rgb), 0.25);
  color: var(--primary-dark);
}

.alert-warning {
  background: var(--amber-light);
  border-color: rgba(245,158,11,0.3);
  color: #92400e;
}

/* ── Scrollbar ────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--light); }

/* ── Old classes used by choice/input pages (kept, restyled) ─────── */
.service_section { background: var(--bg); }

.service_container .box {
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  padding: 24px !important;
}

.service_container .box:hover,
.service_container .box.active {
  border-top: 4px solid var(--primary) !important;
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-3px);
}

.service_container .box .detail-box h5 {
  color: var(--text) !important;
  font-weight: 700;
  font-family: 'Inter', system-ui, sans-serif;
}

.heading_container h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ── Input page form wrappers ─────────────────────────────────────── */
#content form,
.input-form {
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-sm);
}

#content form.dm-bare-form {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
