/* ============================================================
   My Legal Hub AI Plugin — mlh-style.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --mlh-navy:      #0b1e3d;
  --mlh-gold:      #c9a84c;
  --mlh-gold-lt:   #f0d98a;
  --mlh-white:     #ffffff;
  --mlh-off:       #f7f8fa;
  --mlh-border:    #dde3eb;
  --mlh-text:      #1a2433;
  --mlh-muted:     #637082;
  --mlh-radius:    12px;
  --mlh-shadow:    0 4px 24px rgba(11,30,61,.10);
  --mlh-shadow-lg: 0 8px 40px rgba(11,30,61,.16);
  --mlh-font:      'Georgia', 'Times New Roman', serif;
  --mlh-sans:      'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Search Section ─────────────────────────────────────────── */
.mlh-search-section {
  background: #0D1B2A;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background decoration */
.mlh-search-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mlh-search-bg__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.mlh-search-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.mlh-search-bg__glow--teal {
  width: 640px; height: 640px;
  top: -220px; right: -160px;
  background: rgba(0,168,150,0.12);
}
.mlh-search-bg__glow--gold {
  width: 520px; height: 520px;
  bottom: -220px; left: -120px;
  background: rgba(201,168,76,0.08);
}

.mlh-search-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Eyebrow */
.mlh-search-eyebrow {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A84C !important;
  opacity: 1;
  margin: 0 0 1rem;
}

/* Heading — !important overrides theme h2 { color: var(--mlh-navy) } */
.mlh-search-heading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 300 !important;
  font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 1rem;
  opacity: 1;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

/* Subtitle */
.mlh-search-sub {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #A0AEC0;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* Search bar */
.mlh-search-bar-wrap {
  display: flex;
  max-width: 680px;
  margin: 0 auto;
}

.mlh-search-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #ffffff;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  font-size: 15px;
  padding: 16px 20px;
  outline: none;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.mlh-search-input::placeholder { color: rgba(255,255,255,0.35); }
.mlh-search-input:focus { border-color: #00A896; }

/* Gold search button */
.mlh-search-btn {
  background: #C9A84C;
  color: #0D1B2A;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 16px 28px;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.mlh-search-btn:hover { background: #B8973B; }
.mlh-search-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ── Buttons (registration / card actions) ──────────────────── */
.mlh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mlh-sans);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 40px;
  padding: 10px 24px;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}

.mlh-btn-primary {
  background: var(--mlh-gold);
  color: var(--mlh-navy);
  border-color: var(--mlh-gold);
}
.mlh-btn-primary:hover {
  background: var(--mlh-gold-lt);
  border-color: var(--mlh-gold-lt);
  transform: translateY(-1px);
}

.mlh-btn-premium {
  background: var(--mlh-navy);
  color: var(--mlh-gold);
  border-color: var(--mlh-navy);
}
.mlh-btn-premium:hover { background: #1a3a6e; }

.mlh-btn-outline {
  background: transparent;
  color: var(--mlh-navy);
  border-color: var(--mlh-navy);
}
.mlh-btn-outline:hover {
  background: var(--mlh-navy);
  color: var(--mlh-white);
}

.mlh-btn-ghost {
  background: transparent;
  color: var(--mlh-muted);
  border-color: var(--mlh-border);
}
.mlh-btn-ghost:hover {
  border-color: var(--mlh-navy);
  color: var(--mlh-navy);
}

/* Disclaimer */
.mlh-disclaimer {
  font-family: 'DM Sans', var(--mlh-sans);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 0.875rem 0 0;
  line-height: 1.6;
}
.mlh-disclaimer a { color: #00A896; text-decoration: underline; }
.mlh-disclaimer a:hover { color: #00c4b0; }

/* ── Free Registration ──────────────────────────────────────── */
.mlh-btn-free {
  background: transparent;
  color: var(--mlh-navy);
  border-color: var(--mlh-navy);
  border-width: 2px;
}
.mlh-btn-free:hover {
  background: var(--mlh-navy);
  color: var(--mlh-white);
}

.mlh-practice-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.mlh-practice-area-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mlh-sans);
  font-size: 13px;
  color: var(--mlh-text);
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--mlh-border);
  border-radius: 6px;
  transition: border-color 0.18s, background 0.18s;
}
.mlh-practice-area-label:hover {
  border-color: var(--mlh-navy);
  background: #f7f9fc;
}
.mlh-practice-area-label input[type="checkbox"] {
  flex-shrink: 0;
  accent-color: var(--mlh-navy);
  width: 15px;
  height: 15px;
}

.mlh-plan-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 2.5rem 0;
  color: var(--mlh-muted);
  font-family: var(--mlh-sans);
  font-size: 13px;
}
.mlh-plan-divider::before,
.mlh-plan-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--mlh-border);
}

.mlh-free-success-msg {
  text-align: center;
  padding: 2rem;
  background: #f0fff9;
  border: 2px solid #00A896;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.mlh-free-success-icon {
  width: 52px;
  height: 52px;
  background: #00A896;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.mlh-free-success-msg h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--mlh-navy);
  margin: 0 0 0.5rem;
}
.mlh-free-success-msg p {
  font-family: var(--mlh-sans);
  font-size: 14px;
  color: var(--mlh-muted);
  margin: 0;
}
.mlh-free-upsell-label {
  text-align: center;
  font-family: var(--mlh-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--mlh-navy);
  margin: 0 0 1.5rem;
}

/* Free badge on search cards */
.mlh-badge-free {
  background: #f1f5f9;
  color: #64748b;
}

/* Upgrade prompt on free listing cards */
.mlh-upgrade-prompt {
  padding: 8px 20px 14px;
  border-top: 1px solid var(--mlh-border);
}
.mlh-upgrade-prompt a {
  font-family: var(--mlh-sans);
  font-size: 12px;
  color: var(--mlh-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.mlh-upgrade-prompt a:hover {
  color: #a07830;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .mlh-practice-areas {
    grid-template-columns: 1fr;
  }
}

/* ── Search Chips ───────────────────────────────────────────── */
.mlh-search-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 1rem 0 0;
}
.mlh-chip {
  font-family: 'DM Sans', var(--mlh-sans);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 5px 13px;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  white-space: nowrap;
  line-height: 1.4;
}
.mlh-chip:hover,
.mlh-chip:focus-visible {
  border-color: #00A896;
  color: #ffffff;
  background: rgba(0,168,150,0.1);
  outline: none;
}

/* ── Results Area ───────────────────────────────────────────── */
.mlh-results {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px 60px;
}

.mlh-ai-message {
  background: var(--mlh-white);
  border-left: 4px solid var(--mlh-gold);
  border-radius: var(--mlh-radius);
  padding: 20px 24px;
  font-family: var(--mlh-sans);
  font-size: .97rem;
  color: var(--mlh-text);
  line-height: 1.7;
  margin-bottom: 32px;
  box-shadow: var(--mlh-shadow);
}

.mlh-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ── Company Card ───────────────────────────────────────────── */
.mlh-company-card {
  background: var(--mlh-white);
  border: 1px solid var(--mlh-border);
  border-radius: var(--mlh-radius);
  box-shadow: var(--mlh-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mlh-company-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--mlh-shadow-lg);
}

.mlh-company-card.mlh-card-featured {
  border-color: var(--mlh-gold);
  box-shadow: 0 0 0 2px var(--mlh-gold), var(--mlh-shadow);
}

.mlh-card-logo-wrap {
  background: var(--mlh-off);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--mlh-border);
}
.mlh-card-logo { max-height: 56px; max-width: 180px; object-fit: contain; }
.mlh-card-logo-placeholder { font-size: 2rem; }

.mlh-card-body {
  padding: 20px 20px 12px;
  flex: 1;
}

.mlh-card-badges { margin-bottom: 8px; }
.mlh-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 20px;
  padding: 3px 10px;
  margin-right: 6px;
}
.mlh-badge-featured  { background: var(--mlh-gold-lt); color: #7a5a00; }
.mlh-badge-premium   { background: var(--mlh-navy);    color: var(--mlh-gold); }
.mlh-badge-basic     { background: #e8edf5;            color: var(--mlh-navy); }

.mlh-card-name {
  font-family: var(--mlh-font);
  font-size: 1.1rem;
  color: var(--mlh-navy);
  margin: 0 0 6px;
}

.mlh-card-specialisms {
  font-family: var(--mlh-sans);
  font-size: .84rem;
  color: var(--mlh-muted);
  line-height: 1.5;
  margin: 0;
}

.mlh-card-ad {
  margin-top: 12px;
  font-size: .85rem;
}

.mlh-card-actions {
  padding: 14px 20px 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mlh-no-results {
  text-align: center;
  padding: 40px;
  font-family: var(--mlh-sans);
  color: var(--mlh-muted);
}

/* ── Capabilities Strip ─────────────────────────────────────── */
.mlh-caps-section {
  background: var(--mlh-off);
  border-top: 1px solid var(--mlh-border);
  border-bottom: 1px solid var(--mlh-border);
  padding: 56px 20px;
}

.mlh-caps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.mlh-cap-item { text-align: center; }
.mlh-cap-icon  { font-size: 2.2rem; margin-bottom: 12px; }
.mlh-cap-title {
  font-family: var(--mlh-font);
  font-size: 1.05rem;
  color: var(--mlh-navy);
  margin: 0 0 8px;
}
.mlh-cap-desc {
  font-family: var(--mlh-sans);
  font-size: .87rem;
  color: var(--mlh-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Registration Section ───────────────────────────────────── */
.mlh-register-section {
  padding: 72px 20px;
  background: var(--mlh-white);
}

.mlh-register-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.mlh-register-heading {
  font-family: var(--mlh-font);
  font-size: 2rem;
  color: var(--mlh-navy);
  text-align: center;
  margin: 0 0 12px;
}

.mlh-register-sub {
  text-align: center;
  font-family: var(--mlh-sans);
  color: var(--mlh-muted);
  margin: 0 0 48px;
}

/* Plan cards */
.mlh-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 580px) { .mlh-plan-grid { grid-template-columns: 1fr; } }

.mlh-plan-card {
  border: 2px solid var(--mlh-border);
  border-radius: var(--mlh-radius);
  padding: 32px 28px;
  position: relative;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.mlh-plan-card:hover { border-color: var(--mlh-navy); box-shadow: var(--mlh-shadow); }
.mlh-plan-featured   { border-color: var(--mlh-gold); box-shadow: 0 0 0 2px var(--mlh-gold), var(--mlh-shadow); }

.mlh-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mlh-navy);
  color: var(--mlh-white);
  font-family: var(--mlh-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 4px 16px;
  white-space: nowrap;
}
.mlh-badge-premium { background: var(--mlh-gold); color: var(--mlh-navy); }

.mlh-plan-card h3 {
  font-family: var(--mlh-font);
  font-size: 1.4rem;
  color: var(--mlh-navy);
  margin: 12px 0 4px;
}

.mlh-plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--mlh-navy);
  font-family: var(--mlh-sans);
  margin: 8px 0 20px;
}
.mlh-plan-price span { font-size: 1rem; font-weight: 400; color: var(--mlh-muted); }

.mlh-plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-family: var(--mlh-sans);
  font-size: .9rem;
  color: var(--mlh-text);
  text-align: left;
  line-height: 2;
}

/* Form */
.mlh-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .mlh-form-grid { grid-template-columns: 1fr; } }
.mlh-form-full { grid-column: 1 / -1; }

.mlh-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mlh-form-group label {
  font-family: var(--mlh-sans);
  font-size: .87rem;
  font-weight: 600;
  color: var(--mlh-navy);
}

.mlh-input {
  border: 2px solid var(--mlh-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--mlh-sans);
  font-size: .95rem;
  color: var(--mlh-text);
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
}
.mlh-input:focus { outline: none; border-color: var(--mlh-navy); }

/* Messages */
.mlh-error {
  background: #fff0f0;
  border-left: 4px solid #d63638;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--mlh-sans);
  font-size: .9rem;
  color: #7a0000;
  margin-bottom: 16px;
}
.mlh-success-msg {
  background: #f0fff4;
  border: 2px solid #00a32a;
  border-radius: var(--mlh-radius);
  padding: 32px;
  text-align: center;
  font-family: var(--mlh-sans);
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes mlhFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mlh-results { animation: mlhFadeUp .35s ease both; }
.mlh-company-card { animation: mlhFadeUp .3s ease both; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mlh-search-section {
    padding: 60px 0;
  }

  .mlh-search-wrap {
    max-width: 100%;
  }

  .mlh-search-heading {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .mlh-search-sub {
    font-size: 14px;
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 480px) {
  .mlh-search-section {
    padding: 60px 0;
  }

  .mlh-search-bar-wrap {
    flex-direction: column;
    max-width: 100%;
  }

  .mlh-search-input {
    border-right: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    width: 100%;
    text-align: left;
    padding: 14px 20px 14px 24px;
  }

  .mlh-search-btn {
    border-radius: 8px;
    width: 100%;
    justify-content: center;
  }

  .mlh-disclaimer {
    font-size: 11px;
    padding: 0 0.5rem;
  }

  .mlh-caps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .mlh-plan-grid {
    grid-template-columns: 1fr;
  }

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

  .mlh-company-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.mlh-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
}

.mlh-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(4px);
}

.mlh-modal-content {
  position: relative;
  max-width: 580px;
  margin: 60px auto;
  background: var(--mlh-white);
  border-radius: var(--mlh-radius);
  box-shadow: var(--mlh-shadow-lg);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.mlh-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0,0,0,0.05);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
  color: #475569;
}

.mlh-modal-close:hover {
  background: rgba(0,0,0,0.1);
  transform: rotate(90deg);
}

.mlh-modal-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--mlh-border);
}

.mlh-modal-header h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: var(--mlh-navy);
}

.mlh-modal-subtitle {
  margin: 0;
  color: var(--mlh-muted);
  font-size: 0.95rem;
}

.mlh-modal-body {
  padding: 32px;
}

.mlh-booking-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--mlh-border);
}

.mlh-tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mlh-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.mlh-tab-btn:hover {
  color: var(--mlh-navy);
}

.mlh-tab-btn.active {
  color: #2C5F2D;
  border-bottom-color: #2C5F2D;
}

.mlh-tab-content {
  display: none;
}

.mlh-tab-content.active {
  display: block;
}

.mlh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.mlh-form-group {
  margin-bottom: 16px;
}

.mlh-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mlh-navy);
}

.mlh-form-group input,
.mlh-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mlh-border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.mlh-form-group input:focus,
.mlh-form-group textarea:focus {
  outline: none;
  border-color: #2C5F2D;
  box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.mlh-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.mlh-btn-block {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
}

.mlh-error {
  background: rgba(217, 45, 32, 0.1);
  border: 1px solid rgba(217, 45, 32, 0.3);
  color: #991B1B;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.mlh-success-msg {
  text-align: center;
  padding: 32px 20px;
}

.mlh-success-msg h4 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: #2C5F2D;
}

.mlh-success-msg p {
  margin: 0;
  color: var(--mlh-muted);
  font-size: 0.95rem;
}

#mlh-calendar-embed {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mlh-off);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  color: var(--mlh-muted);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .mlh-modal-content {
    margin: 20px;
    max-height: calc(100vh - 40px);
  }

  .mlh-modal-header,
  .mlh-modal-body {
    padding: 24px 20px;
  }

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

  .mlh-booking-tabs {
    flex-direction: column;
  }

  .mlh-tab-btn {
    border-bottom: none;
    border-left: 3px solid transparent;
    margin-bottom: 0;
    margin-left: -20px;
    padding-left: 20px;
    text-align: left;
  }

  .mlh-tab-btn.active {
    border-left-color: #2C5F2D;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Company Dashboard Styles
   ═══════════════════════════════════════════════════════════════ */

.mlh-dashboard {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.mlh-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #E2E8F0;
}

.mlh-dashboard-header h2 {
  margin: 0;
  font-size: 2rem;
  color: #0A2540;
}

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

.mlh-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.mlh-stat-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.mlh-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2C5F2D;
  margin-bottom: 8px;
}

.mlh-stat-label {
  color: #64748B;
  font-size: 0.9rem;
  font-weight: 500;
}

.mlh-stat-status {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mlh-status-active {
  background: #D1FAE5;
  color: #065F46;
}

.mlh-status-pending {
  background: #FEF3C7;
  color: #92400E;
}

.mlh-status-inactive {
  background: #F3F4F6;
  color: #6B7280;
}

.mlh-stat-tier {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2C5F2D;
  text-transform: capitalize;
}

.mlh-notice {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.mlh-notice-warning {
  background: #FEF3C7;
  border: 1px solid #FDE047;
  color: #92400E;
}

.mlh-notice-error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.mlh-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.mlh-notice p {
  margin: 0;
  font-size: 0.9rem;
}

.mlh-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mlh-dashboard-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 30px;
}

.mlh-dashboard-card h3 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  color: #0A2540;
  padding-bottom: 12px;
  border-bottom: 2px solid #E2E8F0;
}

.mlh-profile-form .mlh-form-group {
  margin-bottom: 20px;
}

.mlh-profile-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #334155;
  font-size: 0.9rem;
}

.mlh-profile-form .mlh-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.mlh-profile-form .mlh-input:focus {
  outline: none;
  border-color: #2C5F2D;
}

.mlh-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.mlh-message.mlh-success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #10B981;
}

.mlh-message.mlh-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #EF4444;
}

.mlh-empty-state {
  color: #94A3B8;
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
}

.mlh-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mlh-booking-item {
  padding: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
}

.mlh-booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mlh-booking-header strong {
  font-size: 1rem;
  color: #0A2540;
}

.mlh-booking-date {
  font-size: 0.85rem;
  color: #64748B;
}

.mlh-booking-contact {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 8px;
}

.mlh-booking-query {
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.mlh-booking-date-pref {
  font-size: 0.85rem;
  color: #2C5F2D;
  font-weight: 500;
}

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

  .mlh-dashboard-stats {
    grid-template-columns: 1fr 1fr;
  }

  .mlh-dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Search Bar Registration CTA
   ═══════════════════════════════════════════════════════════════ */

.mlh-search-cta {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mlh-search-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.mlh-register-link {
  color: #00A896;
  font-weight: 600;
  text-decoration: none;
  margin-left: 8px;
  transition: color 0.2s;
}

.mlh-register-link:hover {
  color: #00C9B5;
  text-decoration: underline;
}

/* ── Free Plan Card ─────────────────────────────────────────── */
.mlh-plan-card--free {
  border-color: #00A896;
}
.mlh-plan-card--free:hover {
  border-color: #00A896;
  box-shadow: 0 0 0 2px rgba(0,168,150,0.2), var(--mlh-shadow);
}

.mlh-plan-badge.mlh-badge-teal {
  background: #00A896;
  color: #fff;
}

.mlh-price-sub {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--mlh-muted);
  margin-top: 2px;
}

/* ── Free Registration Form Section ────────────────────────── */
.mlh-free-form-section {
  background: var(--mlh-off);
  padding: 64px 20px;
}

.mlh-free-form-card {
  background: var(--mlh-white);
  border-radius: var(--mlh-radius);
  box-shadow: var(--mlh-shadow-lg);
  padding: 48px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.mlh-free-form-heading {
  font-family: var(--mlh-font);
  font-size: 1.8rem;
  color: var(--mlh-navy);
  margin: 0 0 8px;
}

.mlh-free-form-back {
  font-family: var(--mlh-sans);
  font-size: 0.87rem;
  color: var(--mlh-muted);
  margin: 0 0 28px;
}
.mlh-free-form-back a {
  color: var(--mlh-gold);
  text-decoration: none;
  font-weight: 600;
}
.mlh-free-form-back a:hover { text-decoration: underline; }

/* ── GDPR / consent row ─────────────────────────────────────── */
.mlh-gdpr-row {
  margin: 20px 0;
}

.mlh-gdpr-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--mlh-sans);
  font-size: 0.85rem;
  color: var(--mlh-text);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}
.mlh-gdpr-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--mlh-navy);
  width: 16px;
  height: 16px;
}
.mlh-gdpr-label a {
  color: var(--mlh-navy);
  text-decoration: underline;
}

/* ── Teal solid button ─────────────────────────────────────── */
.mlh-btn-teal-solid {
  background: #00A896;
  color: #ffffff;
  border-color: #00A896;
  margin-top: 8px;
}
.mlh-btn-teal-solid:hover {
  background: #008a7a;
  border-color: #008a7a;
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .mlh-free-form-card {
    padding: 32px 24px;
  }
}
