/**
 * Mode gelap — halaman publik v3 (about, home, penawaran, kontak, paket, …)
 * Dimuat SETELAH @stack('styles') agar menimpa warna light-only di CSS per-halaman.
 */
html[data-bs-theme='dark'].pub-v3 {
    --pub-bg: #0b1220;
    --pub-surface: #1e293b;
    --pub-ink: #e2e8f0;
    --pub-ink-muted: #94a3b8;
    --pub-primary: #38bdf8;
    --pub-primary-dark: #0ea5e9;
    --pub-accent: #fb923c;
    --pub-accent-hover: #f97316;
    --pub-mist: #0f172a;
    --pub-border: rgba(148, 163, 184, 0.22);
    --pub-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --pub-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
    --mb-pub-section-mist: #0f172a;
    --mb-pub-section-border: #334155;
    --pkg-navy: #0f172a;
}

html[data-bs-theme='dark'] body.pub-v3 {
    background: var(--pub-bg);
    color: var(--pub-ink);
}

html[data-bs-theme='dark'] body.pub-v3 .text-muted {
    color: #94a3b8 !important;
}

html[data-bs-theme='dark'] body.pub-v3 .pub-kicker {
    color: #7dd3fc;
}

html[data-bs-theme='dark'] body.pub-v3 .pub-heading,
html[data-bs-theme='dark'] body.pub-v3 .pub-lead {
    color: var(--pub-ink);
}

html[data-bs-theme='dark'] body.pub-v3 .pub-lead {
    color: var(--pub-ink-muted);
}

html[data-bs-theme='dark'] body.pub-v3 .btn-pub-outline {
    border-color: #38bdf8;
    color: #7dd3fc;
}

html[data-bs-theme='dark'] body.pub-v3 .btn-pub-outline:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #bae6fd;
}

html[data-bs-theme='dark'] .pub-mobile-dock {
    background: #1e293b;
    border-top-color: #334155;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme='dark'] .pub-mobile-dock a {
    color: #94a3b8;
}

html[data-bs-theme='dark'] .pub-mobile-dock a.is-active,
html[data-bs-theme='dark'] .pub-mobile-dock a:hover {
    color: #38bdf8;
}

/* —— Home v3 —— */
html[data-bs-theme='dark'] .pub-home-search {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

html[data-bs-theme='dark'] .pub-home-search input,
html[data-bs-theme='dark'] .pub-home-search select {
    background: #0f172a;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] .pub-quick-card--accent {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-color: rgba(251, 146, 60, 0.35);
}

html[data-bs-theme='dark'] .pub-quick-card--accent .pub-quick-card__icon {
    background: rgba(251, 146, 60, 0.18);
    color: #fdba74;
}

html[data-bs-theme='dark'] .pub-partner-item {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-partner-item span {
    color: #94a3b8;
}

html[data-bs-theme='dark'] .pub-testi cite {
    color: #94a3b8;
}

html[data-bs-theme='dark'] .pub-section--alt {
    background: #0f172a;
}

/* —— About (/about) —— */
html[data-bs-theme='dark'] .ab-page {
    background: var(--pub-bg);
}

html[data-bs-theme='dark'] .ab-strip-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid #334155;
}

html[data-bs-theme='dark'] .ab-strip-card__icon {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
}

html[data-bs-theme='dark'] .ab-strip-card__value {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .ab-strip-card__hint {
    color: #94a3b8;
}

html[data-bs-theme='dark'] .ab-story-badge {
    background: rgba(30, 41, 59, 0.95);
    color: #e2e8f0;
    border: 1px solid #334155;
}

html[data-bs-theme='dark'] .ab-check-list li {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

html[data-bs-theme='dark'] .ab-founder {
    background: #1e293b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

html[data-bs-theme='dark'] .ab-founder__photo {
    background: linear-gradient(145deg, #1e3a5f, #0f172a);
}

html[data-bs-theme='dark'] .ab-founder__role-float {
    color: #0f172a;
}

html[data-bs-theme='dark'] .ab-founder__name {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .ab-founder .tt-about-team-bio-text {
    color: #94a3b8;
}

html[data-bs-theme='dark'] .ab-process__card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: none;
    color: #cbd5e1;
}

html[data-bs-theme='dark'] .ab-value {
    background: #1e293b;
    border-color: #334155;
    box-shadow: none;
}

html[data-bs-theme='dark'] .ab-value__icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(251, 146, 60, 0.15));
    color: #7dd3fc;
}

html[data-bs-theme='dark'] .ab-value h3 {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .ab-section--light,
html[data-bs-theme='dark'] .ab-section--mist {
    background: #0f172a;
}

html[data-bs-theme='dark'] .ab-team-card__bevel {
    background: linear-gradient(180deg, #334155 0%, #1e293b 55%, #0f172a 100%);
    border-color: rgba(148, 163, 184, 0.25);
}

/* —— Permintaan penawaran —— */
html[data-bs-theme='dark'] .pub-lead-page {
    background: var(--pub-bg);
}

html[data-bs-theme='dark'] .pub-lead-input,
html[data-bs-theme='dark'] .pub-lead-select,
html[data-bs-theme='dark'] .pub-lead-textarea {
    background: #0f172a;
    border-color: #475569;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] .pub-lead-input:focus,
html[data-bs-theme='dark'] .pub-lead-select:focus,
html[data-bs-theme='dark'] .pub-lead-textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

html[data-bs-theme='dark'] .pub-lead-chip-opt span {
    background: #0f172a;
    border-color: #475569;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] .pub-lead-chip-opt input:checked + span,
html[data-bs-theme='dark'] .pub-lead-chip-opt input:focus-visible + span {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #bae6fd;
}

html[data-bs-theme='dark'] .pub-lead-steps-nav li::before {
    background: #334155;
    color: #94a3b8;
}

html[data-bs-theme='dark'] .pub-lead-progress-bar {
    background: #334155;
}

html[data-bs-theme='dark'] .pub-lead-dest-city {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-lead-dest-city__title {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .pub-lead-dest-section h4 {
    color: #cbd5e1;
}

html[data-bs-theme='dark'] .pub-lead-dest-empty,
html[data-bs-theme='dark'] .pub-lead-hint,
html[data-bs-theme='dark'] .pub-lead-step-hint {
    color: #94a3b8;
}

html[data-bs-theme='dark'] .pub-lead-catalog-search,
html[data-bs-theme='dark'] .pub-lead-catalog-filter {
    background: #0f172a;
    border-color: #475569;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] .pub-lead-catalog-item {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-lead-catalog-item.is-selected {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

html[data-bs-theme='dark'] .pub-lead-review {
    background: #0f172a;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-lead-review-group__title {
    color: #94a3b8;
}

html[data-bs-theme='dark'] .pub-lead-review-v {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .pub-lead-logistics-block {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-lead-logistics-block__title {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .pub-lead-aside-note {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.3);
    color: #fdba74;
}

html[data-bs-theme='dark'] .pub-lead-budget-card {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-lead-budget-card__title {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .pub-lead-budget-preset {
    background: #0f172a;
    border-color: #475569;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] .pub-lead-budget-preset.is-active {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

html[data-bs-theme='dark'] .pub-lead-budget-input {
    background: #0f172a;
    border-color: #475569;
}

html[data-bs-theme='dark'] .pub-lead-budget-input__field {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .pub-lead-packages-fold {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-lead-segment-group {
    background: #0f172a;
    border-color: #334155;
}

html[data-bs-theme='dark'] .pub-lead-footer-bar {
    background: rgba(15, 23, 42, 0.95);
    border-top-color: #334155;
}

/* —— Kontak —— */
html[data-bs-theme='dark'] .ct-consult-intro__eyebrow {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

html[data-bs-theme='dark'] .ct-consult-intro__title {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .ct-consult-intro__sub {
    color: #94a3b8;
}

html[data-bs-theme='dark'] #ct-wa-panel .ct-field__input {
    background: #0f172a;
    border-color: #475569;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] #ct-wa-panel .ct-field__input:focus {
    background: #1e293b;
}

html[data-bs-theme='dark'] #ct-wa-panel a.ct-consult-link {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: #7dd3fc !important;
}

html[data-bs-theme='dark'] .ct-contact-form-card {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .ct-no-wa {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fde68a;
}

/* —— Paket (/packages) — body sudah pakai var —— */
html[data-bs-theme='dark'] .pub-packages {
    background: var(--pub-bg);
}

/* —— Standar layanan — tambahan —— */
html[data-bs-theme='dark'] .sl-section--white {
    background: #0f172a;
}

html[data-bs-theme='dark'] .sl-plus-card__back {
    background: #1e293b;
    color: #cbd5e1;
}

/* —— Blog / generic sections —— */
html[data-bs-theme='dark'] body.pub-v3 .tt-section-light {
    background: #0f172a;
}

html[data-bs-theme='dark'] body.pub-v3 .form-control,
html[data-bs-theme='dark'] body.pub-v3 .form-select {
    background: #0f172a;
    border-color: #475569;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] body.pub-v3 .form-control:focus,
html[data-bs-theme='dark'] body.pub-v3 .form-select:focus {
    background: #0f172a;
    border-color: #38bdf8;
    color: #f1f5f9;
}

html[data-bs-theme='dark'] body.pub-v3 .pagination .page-link {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

html[data-bs-theme='dark'] body.pub-v3 .pagination .page-item.active .page-link {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}

html[data-bs-theme='dark'] .pub-lead-catalog-grid {
    background: #0f172a;
    border-color: #475569;
}

html[data-bs-theme='dark'] .pub-lead-catalog-item .card {
    background: #1e293b;
    box-shadow: none;
}

html[data-bs-theme='dark'] .pub-lead-catalog-item .tag {
    color: #7dd3fc;
}

html[data-bs-theme='dark'] .pub-lead-selected-count {
    color: #7dd3fc;
}

html[data-bs-theme='dark'] .pub-lead-inclusion-list li {
    color: #cbd5e1;
    border-color: #334155;
}

/* —— Detail paket —— */
html[data-bs-theme='dark'] .tt-detail-booking {
    background: #1e293b;
    border-color: #334155;
}

html[data-bs-theme='dark'] .mb-desti-detail .tt-detail-content {
    color: #cbd5e1;
}

html[data-bs-theme='dark'] .mb-desti-detail .tt-detail-prose {
    color: #cbd5e1;
}

/* —— Pembayaran booking —— */
html[data-bs-theme='dark'] .bp-page {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 50%, #0b1220 100%);
}

html[data-bs-theme='dark'] .bp-trust-chip {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

html[data-bs-theme='dark'] .bp-glass {
    background: linear-gradient(140deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

html[data-bs-theme='dark'] .bp-card-head__title {
    color: #f1f5f9;
}

html[data-bs-theme='dark'] .bp-kv dd {
    color: #e2e8f0;
}

html[data-bs-theme='dark'] .bp-transfer-panel {
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 55%, #1a1f2e 100%);
    border-color: #334155;
}

/* Thanks / auth cards on public */
html[data-bs-theme='dark'] body.pub-v3 .pub-thanks-card,
html[data-bs-theme='dark'] body.pub-v3 .pub-status-card {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}
