/* ============================================================
   ALIKADAM TOURISM PORTAL — MASTER STYLESHEET
   Forest green theme • modern cards • full dark mode
   Bangla-friendly spacing
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES & THEME
   ============================================================ */
:root {
    --forest-green: #065f46;
    --forest-dark:  #044535;
    --soft-green:   #10b981;
    --soft-green-2: #059669;
    --accent:       #f59e0b;
    --danger:       #dc2626;
    --danger-dark:  #991b1b;

    --bg:           #f1f5f9;
    --bg-2:         #f8fafc;
    --card:         #ffffff;
    --text:         #0f172a;
    --text-2:       #334155;
    --text-3:       #64748b;
    --muted:        #94a3b8;
    --border:       #e2e8f0;
    --border-2:     #cbd5e1;

    --shadow-sm:    0 1px 3px rgba(0,0,0,.05);
    --shadow-md:    0 4px 20px rgba(0,0,0,.06);
    --shadow-lg:    0 12px 40px rgba(0,0,0,.12);
    --shadow-green: 0 8px 24px rgba(16,185,129,.25);

    --radius-sm:    8px;
    --radius:       12px;
    --radius-lg:    18px;
    --radius-xl:    24px;

    --font-en: 'Inter', system-ui, -apple-system, sans-serif;
    --font-bn: 'Hind Siliguri', sans-serif;
}

[data-theme="dark"] {
    --bg:       #0b1220;
    --bg-2:     #0f172a;
    --card:     #111c2e;
    --text:     #f1f5f9;
    --text-2:   #cbd5e1;
    --text-3:   #94a3b8;
    --muted:    #64748b;
    --border:   #1e293b;
    --border-2: #334155;

    --shadow-md: 0 4px 20px rgba(0,0,0,.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.5);
}

/* ============================================================
   2. GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-en);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;               /* more room for Bangla */
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--soft-green); color: white; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--soft-green); }

/* ============================================================
   3. TOP BAR
   ============================================================ */
.top-bar {
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    padding: 12px 0;
    font-size: .8rem;
}
.top-bar .weather-widget {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.top-bar .weather-widget i { font-size: 1rem; }
.top-bar .weather-loc { opacity: .85; font-weight: 500; font-size: .72rem; }
.top-bar .autosave-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    opacity: .9;
    transition: all .2s;
}
.top-bar .autosave-status.saving { opacity: 1; color: #fde68a; }

.icon-btn {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .2s;
    gap: 4px;
}
.icon-btn:hover { background: rgba(255,255,255,.28); transform: scale(1.05); }
#langToggle { width: auto; padding: 0 16px; border-radius: 100px; font-weight: 700; font-size: .75rem; }

/* ============================================================
   4. NAVBAR
   ============================================================ */
.custom-navbar {
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    padding: 18px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.custom-navbar .brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    backdrop-filter: blur(6px);
}
.custom-navbar .brand-text { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }
.custom-navbar .brand-name { color: #fff; font-weight: 800; font-size: 1.2rem; }
.custom-navbar .brand-sub  { color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .5px; }
.custom-navbar .nav-link {
    color: rgba(255,255,255,.9) !important;
    font-weight: 600;
    font-size: .88rem;
    padding: 10px 18px !important;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .15s;
}
.custom-navbar .nav-link:hover {
    background: rgba(255,255,255,.15);
    color: #fff !important;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--soft-green) 100%);
    color: #fff;
    padding: 90px 0 150px;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,.12), transparent 45%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    padding: 9px 20px;
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    margin-bottom: 22px;
}

/* Hero title — Bangla-friendly spacing */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 22px;
    letter-spacing: -0.5px;
}
.hero-title .highlight {
    display: inline-block;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 4px;
}

.hero-subtitle {
    font-size: 1.05rem;
    opacity: .92;
    max-width: 560px;
    margin: 0 0 32px;
    line-height: 1.8;
    font-family: var(--font-bn);
}

.hero-stats { display: flex; gap: 32px; margin-bottom: 34px; flex-wrap: wrap; }
.hero-stat { display: flex; align-items: center; gap: 10px; }
.hero-stat i { font-size: 1.4rem; opacity: .9; }
.hero-stat div { display: flex; flex-direction: column; line-height: 1.2; }
.hero-stat strong { font-size: 1.3rem; font-weight: 800; }
.hero-stat span { font-size: .74rem; opacity: .85; text-transform: uppercase; letter-spacing: .8px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary,
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    transition: all .2s;
    border: none;
    text-decoration: none;
}
.btn-hero-primary {
    background: #fff;
    color: var(--forest-green);
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    color: var(--forest-green);
    box-shadow: 0 14px 36px rgba(0,0,0,.28);
}
.btn-hero-outline {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
    backdrop-filter: blur(6px);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero image stack */
.hero-card-stack { position: relative; height: 380px; }
.hero-image-card {
    position: absolute;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    border: 4px solid rgba(255,255,255,.2);
}
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-card:first-child {
    top: 0; left: 0;
    width: 72%;
    height: 78%;
    transform: rotate(-3deg);
}
.hero-image-card.float-card {
    bottom: 0; right: 0;
    width: 60%;
    height: 60%;
    transform: rotate(4deg);
    z-index: 2;
}
.hero-image-label {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(0,0,0,.6);
    color: #fff;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hero-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 100px; }

/* ============================================================
   6. WIZARD WRAPPER
   ============================================================ */
.wizard-wrapper {
    padding: 40px 0 80px;
    background: var(--bg);
}

.wizard-progress {
    position: relative;
    margin-bottom: 32px;
    padding: 0 8px;
}
.wizard-progress-bar {
    position: absolute;
    top: 22px; left: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--forest-green), var(--soft-green));
    width: 0;
    transition: width .4s ease;
    border-radius: 3px;
    z-index: 1;
}
.wizard-progress::before {
    content: '';
    position: absolute;
    top: 22px; left: 24px; right: 24px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    z-index: 0;
}
.wizard-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}
.wstep {
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    background: var(--card);
    color: var(--text-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all .25s;
    cursor: pointer;
}
.wstep:hover:not(.active) { border-color: var(--soft-green); color: var(--soft-green); }
.wstep.active {
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(16,185,129,.35);
    transform: scale(1.08);
}
.wstep.completed {
    background: var(--soft-green);
    color: #fff;
    border-color: var(--soft-green);
}
.wstep.completed::after {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    position: absolute;
    font-size: .7rem;
    transform: translate(14px, -14px);
    background: #fff;
    color: var(--soft-green);
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   7. MODERN CARD
   ============================================================ */
.modern-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 26px;
}
.modern-card-accent {
    border-top: 4px solid var(--soft-green);
}

.card-header-modern {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 26px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.card-header-modern h3 {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
}
.card-header-modern p {
    margin: 0;
    font-size: .88rem;
    color: var(--text-3);
    font-family: var(--font-bn);
    line-height: 1.5;
}
.step-badge {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(16,185,129,.25);
}
.step-badge-accent {
    background: linear-gradient(135deg, #e2136e, #be185d);
    box-shadow: 0 6px 16px rgba(226,19,110,.25);
}
.step-of {
    margin-left: auto;
    font-size: .75rem;
    color: var(--text-3);
    background: var(--bg-2);
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 600;
    white-space: nowrap;
}

.alert-warning-modern {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: .88rem;
    border-left: 4px solid var(--accent);
    line-height: 1.6;
}
.alert-warning-modern i { font-size: 1.1rem; margin-top: 2px; }

/* ============================================================
   8. FORMS
   ============================================================ */
.form-label-modern {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}
.form-label-modern .req { color: var(--danger); margin-left: 2px; }

.modern-input,
.form-select.modern-input {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: .94rem;
    background: var(--card);
    color: var(--text);
    transition: all .2s;
    width: 100%;
    line-height: 1.5;
}
.modern-input:focus {
    border-color: var(--soft-green);
    box-shadow: 0 0 0 4px rgba(16,185,129,.12);
    outline: none;
}
.modern-input::placeholder { color: var(--muted); }

.input-icon-wrap { position: relative; }
.input-icon-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}
.input-icon-wrap .modern-input { padding-left: 42px; }
.input-icon-wrap .voice-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--soft-green);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: all .2s;
    z-index: 2;
}
.input-icon-wrap .voice-btn:hover { background: var(--soft-green-2); transform: translateY(-50%) scale(1.08); }

.smart-hint {
    display: block;
    font-size: .76rem;
    margin-top: 6px;
    color: var(--text-3);
    transition: all .2s;
    line-height: 1.5;
}
.smart-hint.success { color: var(--soft-green-2); font-weight: 600; }
.smart-hint.error   { color: var(--danger); font-weight: 600; }

.smart-panel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-left: 4px solid var(--soft-green);
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-top: 18px;
}
.smart-panel i { color: var(--soft-green-2); font-size: 1.2rem; flex-shrink: 0; }
.smart-panel strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--forest-green); margin-bottom: 3px; }
.duration-display { display: flex; flex-direction: column; }
.duration-display span { font-size: 1.15rem; font-weight: 800; color: var(--forest-green); }
.duration-display small { color: var(--text-3); font-size: .72rem; }

/* ============================================================
   9. FILE UPLOAD
   ============================================================ */
.file-upload-modern {
    border: 2px dashed var(--border-2);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: var(--bg-2);
    margin-top: 6px;
}
.file-upload-modern:hover {
    border-color: var(--soft-green);
    background: #ecfdf5;
}
.file-upload-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.file-upload-content i { font-size: 2rem; color: var(--soft-green); }
.file-upload-text { font-weight: 700; color: var(--text-2); font-size: .92rem; }
.file-upload-hint { font-size: .75rem; color: var(--text-3); }

.file-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ecfdf5;
    border: 1.5px solid var(--soft-green);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-top: 8px;
}
.file-selected i { font-size: 1.5rem; color: var(--soft-green-2); }
.file-selected span { flex: 1; font-size: .85rem; font-weight: 600; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-remove-file {
    background: transparent;
    border: none;
    color: var(--danger);
    font-size: 1.1rem;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.btn-remove-file:hover { background: #fee2e2; }

/* ============================================================
   10. MEMBER & VEHICLE CARDS
   ============================================================ */
.member-card-modern,
.vehicle-card-modern {
    position: relative;
    background: var(--bg-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px 18px;
    margin-bottom: 16px;
    animation: slideDown .3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.card-index {
    display: inline-block;
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.remove-btn {
    position: absolute;
    top: 12px; right: 12px;
    background: #fee2e2;
    color: var(--danger);
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    transition: all .2s;
}
.remove-btn:hover { background: var(--danger); color: #fff; transform: rotate(90deg); }

.btn-add-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .88rem;
    transition: all .2s;
    margin-top: 8px;
    box-shadow: 0 6px 16px rgba(16,185,129,.2);
}
.btn-add-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16,185,129,.32);
    color: #fff;
}

.empty-state {
    text-align: center;
    padding: 26px 16px;
    color: var(--text-3);
}
.empty-state i { font-size: 2.4rem; color: var(--border-2); display: block; margin-bottom: 8px; }
.empty-state p { margin: 0 0 4px; font-weight: 700; color: var(--text-2); }
.empty-state small { font-size: .76rem; }

.info-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #3b82f6;
    color: #1e40af;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: .88rem;
    line-height: 1.6;
}
.info-banner i { font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   11. DESTINATIONS GRID
   ============================================================ */
.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.accommodation-option { cursor: pointer; display: block; position: relative; }
.accommodation-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.acc-inner {
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    background: var(--card);
    transition: all .18s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.acc-inner > i { font-size: 1.6rem; color: var(--forest-green); margin-bottom: 4px; }
.acc-inner strong { display: block; font-size: .9rem; color: var(--text); font-weight: 700; line-height: 1.35; }
.acc-inner small { display: block; color: var(--text-3); font-size: .72rem; line-height: 1.4; }

.trek-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    background: var(--bg-2);
    color: var(--text-2);
    border-radius: 100px;
    padding: 3px 9px;
    font-size: .68rem;
    font-weight: 600;
}

.accommodation-option:hover .acc-inner {
    border-color: var(--soft-green);
    transform: translateY(-2px);
}

.accommodation-option input:checked + .acc-inner {
    border-color: var(--soft-green);
    background: #ecfdf5;
    box-shadow: 0 8px 20px rgba(16,185,129,.18);
    position: relative;
}
.accommodation-option input:checked + .acc-inner::after {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 8px; right: 8px;
    color: var(--soft-green);
    font-size: 1.1rem;
    line-height: 1;
}

/* ============================================================
   12. GUIDE MODE TOGGLE
   ============================================================ */
.guide-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 6px 0 20px;
}
.gmt-option { cursor: pointer; display: block; position: relative; }
.gmt-option input { position: absolute; opacity: 0; pointer-events: none; }

.gmt-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: var(--card);
    transition: all .2s ease;
    position: relative;
    overflow: hidden;
}
.gmt-inner::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: transparent;
    transition: background .2s ease;
}

.gmt-icon-wrap {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-2);
    color: var(--text-3);
    font-size: 1.4rem;
    transition: all .2s ease;
}

.gmt-text { flex: 1; min-width: 0; }
.gmt-text strong {
    display: block;
    font-size: .95rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 4px;
}
.gmt-text span { display: block; font-size: .78rem; color: var(--text-3); line-height: 1.5; }

.gmt-radio {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    background: var(--card);
}
.gmt-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: all .2s ease;
}

.gmt-option:hover .gmt-inner {
    border-color: #a7f3d0;
    background: #f8fffe;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16,185,129,.08);
}
.gmt-option:hover .gmt-icon-wrap { background: #ecfdf5; color: var(--soft-green-2); }

.gmt-option input:checked + .gmt-inner {
    border-color: var(--soft-green);
    background: linear-gradient(135deg, #ecfdf5, #f0fdf9);
    box-shadow: 0 8px 22px rgba(16,185,129,.18);
}
.gmt-option input:checked + .gmt-inner::before { background: var(--soft-green); }
.gmt-option input:checked + .gmt-inner .gmt-icon-wrap {
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    box-shadow: 0 4px 12px rgba(16,185,129,.35);
}
.gmt-option input:checked + .gmt-inner .gmt-text strong { color: var(--forest-green); }
.gmt-option input:checked + .gmt-inner .gmt-radio {
    border-color: var(--soft-green);
    background: var(--soft-green);
}
.gmt-option input:checked + .gmt-inner .gmt-dot { background: #fff; }

.gmt-option input:focus-visible + .gmt-inner {
    outline: 2px solid var(--soft-green);
    outline-offset: 2px;
}

.guide-mode-panel { animation: fadeIn .25s ease-out; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Guide availability status box */
.guide-status-box {
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: gsbIn 0.25s ease-out;
}
.guide-status-box > i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.guide-status-box strong { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.guide-status-box p { margin: 0; font-size: 0.85rem; }
.guide-status-box .alt-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.guide-status-box.ok {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-left: 4px solid #10b981;
    color: #065f46;
}
.guide-status-box.ok > i { color: #10b981; }
.guide-status-box.warn {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 4px solid #f59e0b;
    color: #78350f;
}
.guide-status-box.warn > i { color: #d97706; }
.guide-status-box.busy {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-left: 4px solid #dc2626;
    color: #7f1d1d;
}
.guide-status-box.busy > i { color: #dc2626; }
.guide-status-box.busy .alt-link { color: #991b1b; }
@keyframes gsbIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* Select2 — busy option marker */
.select2-results__option.guide-busy-option {
    color: #dc2626 !important;
    background: #fef2f2 !important;
}
.select2-results__option.guide-busy-option::after {
    content: " · busy";
    font-weight: 700;
    font-size: 0.75rem;
}
#guide_select option.guide-busy-option {
    color: #dc2626;
    background: #fef2f2;
}

/* Guide conflict alert (index.php flash) */
.alert-warn-flash {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-left: 4px solid #dc2626;
    color: #7f1d1d;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 22px;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.15);
    animation: flashSlide 0.4s ease-out;
}
.alert-warn-flash > i {
    font-size: 1.6rem;
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 2px;
}
.alert-warn-flash strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.alert-warn-flash p { font-size: 0.88rem; margin: 0; line-height: 1.55; }
.alert-warn-flash a { color: #991b1b; font-weight: 700; }
@keyframes flashSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   13. PAYMENT
   ============================================================ */
.payment-info {
    background: var(--bg-2);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 22px;
}
.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: .92rem;
    color: var(--text-2);
    gap: 12px;
}
.payment-row strong { color: var(--text); font-weight: 700; }
.total-row {
    border-top: 2px dashed var(--border-2);
    margin-top: 6px;
    padding-top: 16px;
    font-size: 1rem;
}
.total-amount { color: var(--forest-green); font-size: 1.35rem !important; font-weight: 900 !important; }

.pm-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-2);
    margin: 22px 0 14px;
}
.pm-title i { color: var(--soft-green); font-size: 1.1rem; }

.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.payment-method-card { cursor: pointer; display: block; position: relative; }
.payment-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.pmc-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: all .2s;
    background: var(--card);
}
.pmc-inner:hover { border-color: var(--soft-green); }
.payment-method-card input:checked + .pmc-inner {
    border-color: #e2136e;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    box-shadow: 0 8px 20px rgba(226,19,110,.15);
}
.pmc-logo {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e2136e, #be185d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.pmc-text strong { display: block; font-size: 1rem; font-weight: 800; color: var(--text); }
.pmc-text small  { display: block; font-size: .78rem; color: var(--text-3); line-height: 1.45; }
.pmc-check {
    margin-left: auto;
    color: #e2136e;
    font-size: 1.3rem;
    opacity: 0;
    transition: opacity .2s;
}
.payment-method-card input:checked + .pmc-inner .pmc-check { opacity: 1; }

.payment-note {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: .86rem;
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}
.payment-note i { margin-top: 2px; }

.final-review {
    margin-top: 26px;
    background: var(--bg-2);
    border-radius: var(--radius);
    padding: 18px 22px;
}
.final-review h6 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--forest-green);
    margin: 0 0 14px;
}
.review-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: .88rem;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.review-line:last-child { border-bottom: none; }
.review-line span { color: var(--text-3); }
.review-line strong { color: var(--text); font-weight: 700; text-align: right; max-width: 65%; }

/* ============================================================
   14. WIZARD NAVIGATION
   ============================================================ */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 6px 4px;
    flex-wrap: wrap;
}
.btn-nav-back,
.btn-nav-next,
.btn-submit-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    border: none;
    transition: all .2s;
    cursor: pointer;
}
.btn-nav-back {
    background: var(--card);
    color: var(--text-2);
    border: 1.5px solid var(--border-2);
}
.btn-nav-back:hover:not(:disabled) { border-color: var(--soft-green); color: var(--soft-green); }
.btn-nav-back:disabled { opacity: .45; cursor: not-allowed; }

.btn-nav-next {
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    margin-left: auto;
    box-shadow: 0 6px 18px rgba(16,185,129,.28);
}
.btn-nav-next:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 26px rgba(16,185,129,.4); }

.btn-submit-modern {
    background: linear-gradient(135deg, #e2136e, #be185d);
    color: #fff;
    margin-left: auto;
    padding: 15px 32px;
    font-size: .98rem;
    box-shadow: 0 8px 22px rgba(226,19,110,.32);
    position: relative;
    overflow: hidden;
}
.btn-submit-modern:hover:not(:disabled) {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 12px 30px rgba(226,19,110,.45);
}
.btn-submit-modern:disabled { opacity: .7; cursor: wait; }
.btn-text, .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   15. STICKY SUMMARY
   ============================================================ */
.sticky-summary {
    position: sticky;
    top: 90px;
}
.summary-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 16px;
}
.summary-header {
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.summary-header i { font-size: 1.2rem; }
.summary-header h4 { margin: 0; font-size: 1rem; font-weight: 800; }
.summary-body { padding: 18px 22px 8px; }
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
    gap: 10px;
}
.summary-item:last-child { border-bottom: none; }
.summary-item span { color: var(--text-3); }
.summary-item strong { color: var(--text); font-weight: 700; text-align: right; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.summary-footer {
    background: var(--bg-2);
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px dashed var(--border-2);
    font-weight: 800;
    gap: 10px;
}
.summary-footer strong { color: var(--forest-green); font-size: 1.3rem; font-weight: 900; }

.help-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 12px;
    border-left: 4px solid #3b82f6;
}
.help-card > i { color: #3b82f6; font-size: 1.5rem; flex-shrink: 0; }
.help-card strong { display: block; color: #1e40af; font-size: .9rem; line-height: 1.4; }
.help-card p { color: #1e40af; font-size: .82rem; line-height: 1.5; }

.btn-clear-all {
    width: 100%;
    background: transparent;
    color: var(--danger);
    border: 1.5px solid #fecaca;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s;
}
.btn-clear-all:hover { background: #fee2e2; border-color: var(--danger); }

/* ============================================================
   16. FOOTER
   ============================================================ */
.modern-footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #cbd5e1;
    padding: 50px 0 20px;
    margin-top: 40px;
}
.modern-footer h6 { font-weight: 800; letter-spacing: .4px; }
.modern-footer .brand-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    padding: 6px 0;
    font-size: .86rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a {
    color: #cbd5e1;
    transition: all .2s;
}
.footer-links a:hover { color: var(--soft-green); padding-left: 4px; }
.footer-links i { color: var(--soft-green); }

/* ============================================================
   17. TOASTS & OVERLAYS
   ============================================================ */
.toast-container {
    z-index: 9999;
}
.toast {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 260px;
}
.toast-body { font-weight: 600; font-size: .88rem; }
.toast-success { background: linear-gradient(135deg, var(--forest-green), var(--soft-green)); color: #fff; }
.toast-error   { background: linear-gradient(135deg, #991b1b, #dc2626); color: #fff; }
.toast-info    { background: linear-gradient(135deg, #1e40af, #3b82f6); color: #fff; }

.voice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.voice-overlay.active { display: flex; }
.voice-modal {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 40px 34px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0,0,0,.4);
    max-width: 360px;
    width: 90%;
    position: relative;
    animation: popIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    70% { transform: scale(1.04); }
    100% { transform: scale(1); opacity: 1; }
}
.voice-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; height: 140px;
    border-radius: 50%;
    background: var(--soft-green);
    opacity: .18;
    animation: pulse 1.4s ease-out infinite;
}
@keyframes pulse {
    0%   { transform: translate(-50%, -50%) scale(0.6); opacity: .35; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
.voice-icon {
    position: relative;
    color: var(--soft-green);
    font-size: 3.2rem;
    display: block;
    margin: 0 auto 16px;
    z-index: 2;
}
.voice-modal h5 { color: var(--text); font-weight: 800; margin-bottom: 6px; }
.voice-modal p { color: var(--text-3); font-size: .9rem; min-height: 40px; }

.save-indicator {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: linear-gradient(135deg, var(--forest-green), var(--soft-green));
    color: #fff;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
    z-index: 9998;
}
.save-indicator.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   18. WIZARD STEP VISIBILITY
   ============================================================ */
.wizard-step-content { display: none; }
.wizard-step-content.active { display: block; animation: fadeIn .25s ease-out; }

/* ============================================================
   19. DARK THEME OVERRIDES
   ============================================================ */
[data-theme="dark"] .modern-card,
[data-theme="dark"] .summary-card,
[data-theme="dark"] .payment-info,
[data-theme="dark"] .final-review,
[data-theme="dark"] .member-card-modern,
[data-theme="dark"] .vehicle-card-modern,
[data-theme="dark"] .acc-inner,
[data-theme="dark"] .pmc-inner,
[data-theme="dark"] .file-upload-modern {
    background: var(--card);
    border-color: var(--border);
}

[data-theme="dark"] .acc-inner:hover,
[data-theme="dark"] .gmt-option:hover .gmt-inner {
    background: #0f2030;
}
[data-theme="dark"] .accommodation-option input:checked + .acc-inner,
[data-theme="dark"] .gmt-option input:checked + .gmt-inner {
    background: linear-gradient(135deg, #064e3b, #0f2d24);
    border-color: var(--soft-green);
}
[data-theme="dark"] .gmt-option input:checked + .gmt-inner .gmt-text strong { color: var(--soft-green); }
[data-theme="dark"] .gmt-icon-wrap { background: #1e293b; color: var(--text-3); }
[data-theme="dark"] .gmt-radio { background: var(--card); border-color: var(--border-2); }

[data-theme="dark"] .smart-panel,
[data-theme="dark"] .info-banner,
[data-theme="dark"] .file-selected {
    background: #0f2d24;
    color: var(--soft-green);
}

[data-theme="dark"] .alert-warning-modern,
[data-theme="dark"] .payment-note {
    background: linear-gradient(135deg, #422006, #78350f);
    color: #fde68a;
}

[data-theme="dark"] .help-card {
    background: linear-gradient(135deg, #0c1e3d, #1e293b);
    color: #93c5fd;
}
[data-theme="dark"] .help-card strong,
[data-theme="dark"] .help-card p { color: #93c5fd; }

[data-theme="dark"] .wstep {
    background: var(--card);
    border-color: var(--border-2);
    color: var(--text-3);
}
[data-theme="dark"] .modern-input,
[data-theme="dark"] .form-select.modern-input {
    background: var(--card);
    color: var(--text);
    border-color: var(--border);
}
[data-theme="dark"] .summary-item strong,
[data-theme="dark"] .review-line strong { color: var(--text); }

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .hero-section { padding: 60px 0 120px; }
    .hero-title { font-size: 2.2rem; }
    .sticky-summary { position: static; margin-top: 20px; }
}

@media (max-width: 768px) {
    body { line-height: 1.75; }
    .wizard-wrapper { padding: 24px 0 60px; }
    .modern-card { padding: 22px 18px; border-radius: var(--radius); }
    .card-header-modern { gap: 12px; padding-bottom: 18px; margin-bottom: 20px; }
    .card-header-modern h3 { font-size: 1.05rem; }
    .step-badge { width: 36px; height: 36px; font-size: .95rem; }
    .step-of { font-size: .68rem; padding: 4px 9px; }

    .wizard-progress-bar, .wizard-progress::before { top: 18px; }
    .wstep { width: 38px; height: 38px; font-size: .95rem; }

    .hero-section { padding: 60px 0 120px; }
    .hero-title { font-size: 1.9rem; line-height: 1.35; }
    .hero-subtitle { font-size: .95rem; line-height: 1.75; }
    .hero-stats { gap: 16px; }
    .hero-stat strong { font-size: 1.05rem; }
    .hero-stat i { font-size: 1.15rem; }
    .hero-actions { width: 100%; }
    .btn-hero-primary, .btn-hero-outline { flex: 1 1 auto; justify-content: center; padding: 11px 16px; font-size: .85rem; }

    .accommodation-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
    .acc-inner { padding: 14px 8px; }
    .acc-inner > i { font-size: 1.4rem; }
    .acc-inner strong { font-size: .82rem; }
    .trek-tag { font-size: .62rem; }

    .guide-mode-toggle { grid-template-columns: 1fr; gap: 10px; }
    .gmt-inner { padding: 14px 16px; gap: 12px; }
    .gmt-icon-wrap { width: 44px; height: 44px; font-size: 1.25rem; }
    .gmt-text strong { font-size: .9rem; }
    .gmt-text span { font-size: .72rem; }

    .btn-nav-back, .btn-nav-next, .btn-submit-modern {
        padding: 11px 18px;
        font-size: .85rem;
    }
    .wizard-nav { flex-wrap: wrap; }
    .btn-nav-next, .btn-submit-modern { flex: 1 1 auto; }

    .summary-card, .help-card { margin-bottom: 12px; }
    .summary-body { padding: 14px 18px 6px; }
    .summary-item { padding: 9px 0; font-size: .85rem; }
    .summary-footer { padding: 14px 18px; }

    .voice-modal { padding: 28px 20px; }
    .voice-icon { font-size: 2.4rem; }
    .voice-pulse { width: 110px; height: 110px; }
}

@media (max-width: 480px) {
    .top-bar .autosave-status { display: none; }
    .top-bar { padding: 10px 0; }
    .custom-navbar { padding: 14px 0; }
    .hero-title { font-size: 1.6rem; line-height: 1.4; }
    .hero-badge { font-size: .72rem; padding: 6px 12px; }
    .hero-stats { flex-wrap: wrap; gap: 12px 20px; }
    .step-of { display: none; }
    .wizard-steps { gap: 4px; }
    .wstep { width: 34px; height: 34px; font-size: .85rem; }
    .wizard-progress-bar, .wizard-progress::before { top: 16px; }
    .accommodation-grid { grid-template-columns: repeat(2, 1fr); }
    .summary-item strong { max-width: 55%; }
    .review-line { font-size: .82rem; }
    .payment-row { font-size: .88rem; }
    .modern-card { padding: 20px 16px; }
}

/* ============================================================
   21. UTILITIES & PRINT
   ============================================================ */
@media print {
    .top-bar, .custom-navbar, .hero-section, .wizard-nav,
    .sticky-summary, .modern-footer, .save-indicator { display: none !important; }
    body { background: #fff; }
    .modern-card { box-shadow: none; border: 1px solid #ddd; }
}