﻿/* =====================================================================
   OASIS ONLINE ADMISSION PORTAL - THEME
   Palette: Navy #1E3A8A - Teal #0EA5A4 - Coral #F97316 - Violet #8B5CF6
            Amber #F59E0B - Emerald #10B981 - Rose #EF4444
   ===================================================================== */
:root {
    /* Blue & light theme */
    --navy: #1E3A8A;
    --navy-dark: #0F1E46;
    --teal: #0EA5E9;          /* sky blue  (main accent) */
    --teal-soft: #E0F2FE;
    --coral: #F59E0B;         /* only for "last place" / warnings */
    --coral-soft: #FEF3C7;
    --violet: #6366F1;        /* indigo */
    --violet-soft: #E0E7FF;
    --amber: #F59E0B;
    --amber-soft: #FEF3C7;
    --emerald: #10B981;
    --emerald-soft: #D1FAE5;
    --rose: #EF4444;
    --rose-soft: #FEE2E2;
    --sky: #38BDF8;
    --sky-soft: #F0F9FF;
    --blue: #2563EB;
    --blue-soft: #DBEAFE;
    --ink: #0F172A;
    --text: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
    --bg: #F5F9FF;
    --card: #FFFFFF;
    --radius: 18px;
    --shadow: 0 10px 30px -14px rgba(30, 58, 138, .22);
    --shadow-lg: 0 24px 50px -22px rgba(37, 99, 235, .40);
    --grad-main: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #38BDF8 100%);
    --grad-warm: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
    --grad-violet: linear-gradient(135deg, #6366F1 0%, #3B82F6 100%);
}

html, body { background: var(--bg); }
body {
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body > form { flex: 1; display: flex; flex-direction: column; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
.text-muted2 { color: var(--muted) !important; }

/* ---------- top bar ---------- */
.adm-topstrip { height: 4px; background: linear-gradient(90deg, #1E40AF, #2563EB, #38BDF8, #BAE6FD); }
.adm-nav {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 1030;
}
.adm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.adm-brand .logo {
    width: 44px; height: 44px; border-radius: 13px;
    background: var(--grad-main); color: #fff;
    display: grid; place-items: center; font-size: 22px;
    box-shadow: 0 8px 18px -8px rgba(37,99,235,.8);
}
.adm-brand .name { font-weight: 800; color: var(--ink); line-height: 1.05; font-size: 18px; }
.adm-brand .sub { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.adm-nav .nav-link {
    color: var(--text); font-weight: 600; border-radius: 30px; padding: 8px 16px !important; margin: 0 2px;
    transition: all .2s;
}
.adm-nav .nav-link:hover { background: #EFF6FF; color: var(--blue); }
.adm-nav .nav-link.active { background: #DBEAFE; color: #1D4ED8; }
.adm-user-chip {
    display: inline-flex; align-items: center; gap: 8px; background: #EFF6FF; color: #1D4ED8;
    border-radius: 30px; padding: 6px 14px 6px 6px; font-weight: 700; text-decoration: none;
}
.adm-user-chip .av { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-violet); color: #fff; display: grid; place-items: center; font-size: 13px; }

/* ---------- buttons ---------- */
.btn { border-radius: 30px; font-weight: 600; padding: 10px 22px; transition: transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 6px 14px; }
.btn-grad { background: var(--grad-main); color: #fff; border: 0; box-shadow: 0 10px 22px -12px rgba(37,99,235,.9); }
.btn-grad:hover { color: #fff; box-shadow: 0 14px 26px -12px rgba(30,58,138,.9); transform: translateY(-1px); }
.btn-warm { background: var(--grad-warm); color: #fff; border: 0; box-shadow: 0 10px 22px -12px rgba(14,165,233,.9); }
.btn-warm:hover { color: #fff; transform: translateY(-1px); }
.btn-violet { background: var(--grad-violet); color: #fff; border: 0; }
.btn-violet:hover { color: #fff; transform: translateY(-1px); }
.btn-soft { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-soft:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; border: 0; color: var(--blue); }
.btn-ghost:hover { color: var(--navy); background: #EFF6FF; }

/* ---------- hero ---------- */
.adm-hero {
    position: relative; overflow: hidden; color: #fff;
    background: var(--grad-main);
    padding: 70px 0 120px;
}
.adm-hero::before, .adm-hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .35;
}
.adm-hero::before { width: 420px; height: 420px; background: #BAE6FD; right: -120px; top: -140px; }
.adm-hero::after { width: 300px; height: 300px; background: #93C5FD; left: -90px; bottom: -150px; }
.adm-hero .container { position: relative; z-index: 2; }
.adm-hero .adm-card { color: var(--text); }
.adm-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.adm-hero .lead { color: rgba(255,255,255,.88); max-width: 620px; }
.adm-hero .pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 30px; padding: 6px 14px; font-weight: 600; font-size: 13px; }
.adm-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 28px; }
.adm-hero-stats div b { display: block; font-size: 26px; font-weight: 800; }
.adm-hero-stats div span { font-size: 13px; opacity: .85; }
.adm-page-hero { background: var(--grad-main); color: #fff; padding: 38px 0 80px; position: relative; overflow: hidden; }
.adm-page-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(186,230,253,.35); right: -60px; top: -90px; }
.adm-page-hero h1, .adm-page-hero h2 { color: #fff; margin: 0; }
.adm-page-hero p { color: rgba(255,255,255,.85); margin: 6px 0 0; }
.adm-pull { margin-top: -56px; position: relative; z-index: 3; }

/* ---------- cards ---------- */
.adm-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(226,232,240,.7); }
.adm-card-body { padding: 28px; }
.adm-action-card {
    position: relative; overflow: hidden; border-radius: 24px; padding: 30px; color: #fff; height: 100%;
    box-shadow: var(--shadow-lg); transition: transform .25s, box-shadow .25s; text-decoration: none; display: block;
}
.adm-action-card:hover { transform: translateY(-6px); color: #fff; }
.adm-action-card.apply { background: linear-gradient(140deg, #1E3A8A 0%, #2563EB 60%, #3B82F6 100%); }
.adm-action-card.tour  { background: linear-gradient(140deg, #0284C7 0%, #0EA5E9 55%, #38BDF8 100%); }
.adm-action-card.follow{ background: linear-gradient(140deg, #4338CA 0%, #6366F1 50%, #60A5FA 100%); }
.adm-action-card .ic { width: 62px; height: 62px; border-radius: 18px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 30px; margin-bottom: 18px; }
.adm-action-card h3 { color: #fff; font-weight: 800; }
.adm-action-card p { color: rgba(255,255,255,.9); }
.adm-action-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: rgba(255,255,255,.22); padding: 8px 18px; border-radius: 30px; }
.adm-action-card .bubble { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); right: -50px; bottom: -60px; }

.adm-step-tile { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); height: 100%; }
.adm-step-tile .n { min-width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.c1 { background: #1E3A8A; } .c2 { background: #1D4ED8; } .c3 { background: #2563EB; } .c4 { background: #3B82F6; }
.c5 { background: #0284C7; } .c6 { background: #0EA5E9; } .c7 { background: #38BDF8; } .c8 { background: #4F46E5; }
.c9 { background: #6366F1; } .c10 { background: #818CF8; }

.adm-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.adm-section-title .bar { width: 6px; height: 28px; border-radius: 6px; background: linear-gradient(180deg, #2563EB, #38BDF8); }
.adm-section-title h4, .adm-section-title h5 { margin: 0; }

/* ---------- forms ---------- */
.form-label { font-weight: 600; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.form-label .req, .req { color: var(--rose); margin-left: 2px; }
.form-control, .form-select {
    border-radius: 12px; border: 1.5px solid var(--line); padding: 11px 14px; font-size: 15px; background-color: #FBFCFE;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.14); background: #fff; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--rose); }
.form-control.is-invalid { background-image: none; }
.form-select.is-invalid { --bs-form-select-bg-icon: none; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon > .form-control { padding-left: 40px; }

/* yes / no chips & checkbox chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-group input { position: absolute; opacity: 0; pointer-events: none; }
.chip-group label {
    cursor: pointer; border: 1.5px solid var(--line); border-radius: 30px; padding: 8px 18px; font-weight: 600; background: #fff;
    display: inline-flex; align-items: center; gap: 8px; transition: all .15s; user-select: none; margin: 0;
}
.chip-group label:hover { border-color: var(--teal); }
.chip-group input:checked + label { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 14px -8px rgba(37,99,235,.9); }
.chip-group.violet input:checked + label { background: var(--violet); border-color: var(--violet); }
.chip-group.coral input:checked + label { background: #0EA5E9; border-color: #0EA5E9; }
.chip-group.is-invalid label { border-color: var(--rose); }

.adm-q { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.adm-q:last-child { border-bottom: 0; }
.adm-sub { background: #F5F9FF; border-radius: 14px; padding: 18px; margin-top: 12px; border-left: 4px solid var(--blue); }
.adm-sub.violet { border-left-color: #6366F1; }
.adm-sub.coral { border-left-color: #0EA5E9; }
.adm-person-card { border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; position: relative; background: #fff; }
.adm-person-card .tag { position: absolute; top: -13px; left: 20px; padding: 4px 14px; border-radius: 30px; font-weight: 700; font-size: 13px; color: #fff; }

/* ---------- wizard ---------- */
.wiz-shell { display: grid; grid-template-columns: 290px 1fr; gap: 26px; }
.wiz-side { position: sticky; top: 96px; align-self: start; }
.wiz-steps { list-style: none; padding: 0; margin: 0; }
.wiz-steps li {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; cursor: pointer; color: var(--muted); font-weight: 600;
    transition: background .15s; margin-bottom: 2px; font-size: 14px;
}
.wiz-steps li:hover { background: #F1F5F9; }
.wiz-steps li .dot { width: 32px; height: 32px; min-width: 32px; border-radius: 10px; display: grid; place-items: center; background: #EEF2F7; color: var(--muted); font-size: 14px; font-weight: 800; }
.wiz-steps li.done .dot { background: var(--emerald-soft); color: var(--emerald); }
.wiz-steps li.active { background: linear-gradient(90deg, #DBEAFE, #F0F9FF); color: var(--ink); }
.wiz-steps li.active .dot { background: var(--grad-main); color: #fff; box-shadow: 0 6px 14px -6px rgba(14,165,164,.9); }
.wiz-progress { height: 10px; border-radius: 10px; background: #EEF2F7; overflow: hidden; }
.wiz-progress > div { height: 100%; background: linear-gradient(90deg, #38BDF8, #2563EB); border-radius: 10px; transition: width .4s; }
.wiz-pane { display: none; animation: fadeUp .35s ease; }
.wiz-pane.active { display: block; }
.wiz-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.wiz-head .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; }
.wiz-head h3 { margin: 0; }
.wiz-head small { color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 20px; margin-top: 10px; border-top: 1px solid var(--line); }
.wiz-dots { display: none; gap: 6px; justify-content: center; margin: 10px 0; }
.wiz-dots span { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.wiz-dots span.on { background: var(--teal); width: 24px; border-radius: 6px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.review-block { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; overflow: hidden; }
.review-block h6 { margin: 0; padding: 12px 18px; background: #F8FAFC; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.review-grid div { padding: 9px 18px; border-top: 1px solid #F1F5F9; font-size: 14px; }
.review-grid div span { display: block; color: var(--muted); font-size: 12px; }

.notice-red { background: var(--rose-soft); border-left: 4px solid var(--rose); padding: 14px 18px; border-radius: 12px; color: #991B1B; }
.notice-blue { background: var(--sky-soft); border-left: 4px solid var(--sky); padding: 14px 18px; border-radius: 12px; color: #075985; }
.notice-amber { background: var(--amber-soft); border-left: 4px solid var(--amber); padding: 14px 18px; border-radius: 12px; color: #92400E; }
.notice-green { background: var(--emerald-soft); border-left: 4px solid var(--emerald); padding: 14px 18px; border-radius: 12px; color: #065F46; }

/* ---------- dashboard / applications ---------- */
.app-card { border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; transition: box-shadow .2s, transform .2s; }
.app-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.app-avatar { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; background: var(--grad-violet); }
.app-card .grow { flex: 1; min-width: 220px; }
.prog { height: 10px; border-radius: 10px; background: #EEF2F7; overflow: hidden; }
.prog > div { height: 100%; border-radius: 10px; background: linear-gradient(90deg, #38BDF8, #2563EB); }
.badge-soft { padding: 6px 12px; border-radius: 30px; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.b-draft { background: var(--violet-soft); color: var(--violet); }
.b-sub { background: var(--sky-soft); color: #0369A1; }
.b-ok { background: var(--emerald-soft); color: #047857; }
.b-warn { background: var(--amber-soft); color: #B45309; }
.b-bad { background: var(--rose-soft); color: #B91C1C; }
.b-gray { background: #F1F5F9; color: var(--muted); }
.stat-tile { border-radius: 18px; padding: 20px; color: #fff; position: relative; overflow: hidden; }
.stat-tile b { font-size: 30px; display: block; font-weight: 800; }
.stat-tile i { position: absolute; right: 14px; bottom: 6px; font-size: 54px; opacity: .25; }
.stat-tile.t1 { background: var(--grad-main); } .stat-tile.t2 { background: var(--grad-warm); } .stat-tile.t3 { background: var(--grad-violet); } .stat-tile.t4 { background: linear-gradient(135deg,#0284C7,#22D3EE); }
.link-tile { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; border: 1.5px dashed #CBD5E1; text-decoration: none; color: var(--text); transition: all .15s; background: #fff; }
.link-tile:hover { border-color: var(--blue); border-style: solid; background: #F0F7FF; color: var(--ink); }
.link-tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; }

/* ---------- checklist ---------- */
.chk-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.chk-item:last-child { border-bottom: 0; }
.chk-ic { width: 48px; height: 48px; min-width: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; }
.chk-ic.st-Pending { background: #F1F5F9; color: var(--muted); }
.chk-ic.st-Received { background: var(--sky-soft); color: var(--sky); }
.chk-ic.st-Approved { background: var(--emerald-soft); color: var(--emerald); }
.chk-ic.st-Rejected { background: var(--rose-soft); color: var(--rose); }
.chk-item h6 { margin: 0 0 4px; font-weight: 700; font-size: 16px; }
.chk-item.is-done h6 { color: var(--muted); }
.upload-zone { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.upload-zone input[type=file] { max-width: 320px; font-size: 13px; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 36px; margin-bottom: 18px; }
.timeline li .tdot { position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.timeline li b { display: block; color: var(--ink); font-size: 14px; }
.timeline li small { color: var(--muted); }

/* ---------- tour calendar ---------- */
.cal-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-toolbar h3 { margin: 0; font-weight: 800; }
.cal-nav, .cal-view { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.cal-nav a, .cal-view a {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 16px;
    border-radius: 12px; text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; border: 1.5px solid var(--line); transition: all .15s;
}
.cal-nav a:hover, .cal-view a:hover { border-color: var(--blue); color: var(--blue); background: #EFF6FF; }
.cal-nav a.dark { background: #EFF6FF; color: var(--blue); border-color: #DBEAFE; padding: 0; width: 42px; font-size: 18px; }
.cal-nav a.dark:hover { background: var(--navy); color: #fff; }
.cal-nav a.amber { background: #E0F2FE; color: #0369A1; border-color: #BAE6FD; }
.cal-nav a.amber:hover { background: #0EA5E9; color: #fff; }
.cal-view { background: #F1F5F9; padding: 4px; border-radius: 14px; gap: 2px; }
.cal-view a { border: 0; background: transparent; height: 36px; color: var(--muted); }
.cal-view a.on { background: #fff; color: var(--navy); box-shadow: 0 2px 8px -3px rgba(15,23,42,.25); }

.cal { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.cal th { text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 0; }
.cal td { vertical-align: top; background: #fff; border-radius: 14px; height: 118px; padding: 8px; border: 1px solid #EEF2F7; transition: box-shadow .15s, border-color .15s; }
.cal td:hover { box-shadow: var(--shadow); }
.cal td .dn { font-weight: 800; color: var(--ink); font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.cal td.other { background: transparent; border: 1px dashed #E2E8F0; }
.cal td.other .dn { color: #CBD5E1; }
.cal td.past { background: #FAFBFC; }
.cal td.past .dn { color: #CBD5E1; }
.cal td.today { background: #fff; border: 2px solid #38BDF8; }
.cal td.today .dn span { background: #0EA5E9; color: #fff; border-radius: 8px; padding: 1px 8px; }
.cal td.has-slot { background: linear-gradient(180deg, #F0F7FF 0%, #fff 60%); border-color: #DBEAFE; }
.cal td.has-slot .dn::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.cal.week td { height: 300px; }

/* time slots: colour = availability */
.slot {
    display: block; width: 100%; text-align: left; border: 1px solid transparent; border-left-width: 4px; border-radius: 10px;
    padding: 6px 8px; margin-top: 6px; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; line-height: 1.25;
}
.slot .t { display: block; font-weight: 800; font-size: 12.5px; }
.slot .meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.slot .seats, .slot .mode { font-size: 10.5px; font-weight: 700; border-radius: 20px; padding: 1px 7px; }
.slot.ok { background: #EFF6FF; border-color: #BFDBFE; border-left-color: var(--blue); color: #1E3A8A; }
.slot.ok .seats { background: var(--blue); color: #fff; }
.slot.ok .mode { background: #fff; color: #1D4ED8; }
.slot.ok:hover { background: var(--blue); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px -8px rgba(37,99,235,.9); }
.slot.ok:hover .seats { background: #fff; color: var(--blue); }
.slot.low { background: #FFFBEB; border-color: #FDE68A; border-left-color: var(--amber); color: #92400E; }
.slot.low .seats { background: var(--amber); color: #fff; }
.slot.low .mode { background: #fff; color: #B45309; }
.slot.low:hover { background: var(--amber); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px -8px rgba(245,158,11,.9); }
.slot.low:hover .seats { background: #fff; color: var(--amber); }
.slot.full { background: #F8FAFC; border-color: #E2E8F0; border-left-color: #CBD5E1; color: #94A3B8; cursor: not-allowed; }
.slot.full .t { text-decoration: line-through; }
.slot.full .seats { background: #E2E8F0; color: #64748B; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.legend .l1::before { background: var(--blue); }
.legend .l2::before { background: var(--amber); }
.legend .l4::before { background: #CBD5E1; }
.legend .l5::before { background: #fff; border: 2px solid #38BDF8; }

/* modal */
.modal-content { border-radius: 22px; border: 0; overflow: hidden; }
.modal-header.grad { background: var(--grad-main); color: #fff; border: 0; padding: 20px 26px; }
.modal-header.grad .modal-title { color: #fff; font-weight: 800; }
.modal-header.grad .btn-close { filter: invert(1); }
.sel-slot { display: flex; gap: 14px; align-items: center; background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 16px; padding: 14px 18px; margin-bottom: 8px; }
.sel-slot .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 22px; }
.modal-sec { color: var(--navy); font-weight: 800; font-size: 17px; margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; }

/* success */
.success-ring { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 54px; color: #fff; background: linear-gradient(135deg, #22C55E, #0EA5E9); box-shadow: 0 18px 40px -14px rgba(16,185,129,.8); animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }

/* auth pages */
.auth-wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 640px; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.auth-art { background: var(--grad-main); color: #fff; padding: 46px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.auth-art::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(186,230,253,.35); right: -100px; top: -100px; }
.auth-art::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(147,197,253,.35); left: -60px; bottom: -80px; }
.auth-art > * { position: relative; z-index: 2; }
.auth-art h2 { color: #fff; font-weight: 800; }
.auth-art ul { list-style: none; padding: 0; }
.auth-art li { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.auth-art li i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.auth-form { padding: 46px; }
.pw-meter { height: 6px; border-radius: 6px; background: #EEF2F7; margin-top: 8px; overflow: hidden; }
.pw-meter div { height: 100%; width: 0; transition: width .2s, background .2s; }

/* admin */
.adm-grid { width: 100%; border-collapse: separate; border-spacing: 0; }
.adm-grid th { background: #F8FAFC; color: var(--muted); text-transform: uppercase; font-size: 12px; letter-spacing: .5px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.adm-grid td { padding: 12px 14px; border-bottom: 1px solid #F1F5F9; vertical-align: middle; font-size: 14px; }
.adm-grid tr:hover td { background: #FAFBFF; }
.adm-grid .sel td { background: #F0FDFA; }

/* footer */
.adm-footer { background: linear-gradient(135deg, #0F1E46, #1E3A8A); color: rgba(255,255,255,.78); padding: 34px 0 22px; margin-top: 60px; }
.adm-footer a { color: #fff; text-decoration: none; }
.adm-footer h6 { color: #fff; }

/* toast message */
.adm-toast { position: fixed; right: 22px; bottom: 22px; z-index: 2000; min-width: 280px; max-width: 420px; padding: 14px 18px; border-radius: 14px; color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: fadeUp .3s ease; }
.adm-toast.ok { background: linear-gradient(135deg, #10B981, #0EA5E9); }
.adm-toast.err { background: linear-gradient(135deg, #EF4444, #F97316); }
.adm-toast.info { background: var(--grad-violet); }

/* ===== LIGHT HEADERS (blue & light theme) ===== */
.adm-nav { background: rgba(255,255,255,.95); border-bottom: 1px solid #E0ECFF; box-shadow: 0 6px 20px -16px rgba(30,58,138,.35); }
.adm-hero, .adm-page-hero {
    color: var(--ink);
    background:
        radial-gradient(circle at 85% 10%, rgba(56,189,248,.28) 0, rgba(56,189,248,0) 40%),
        radial-gradient(circle at 5% 100%, rgba(99,102,241,.14) 0, rgba(99,102,241,0) 45%),
        linear-gradient(180deg, #EAF3FF 0%, #F5F9FF 100%);
    border-bottom: 1px solid #E0ECFF;
}
.adm-hero::before, .adm-hero::after, .adm-page-hero::after { display: none; }
.adm-hero h1, .adm-page-hero h1, .adm-page-hero h2 { color: #1E3A8A; }
.adm-hero h1 { background: linear-gradient(90deg, #1E3A8A, #2563EB 60%, #0EA5E9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.adm-hero .lead, .adm-page-hero p { color: #475569; }
.adm-hero .pill { background: #fff; border: 1px solid #BFDBFE; color: #1D4ED8; box-shadow: 0 4px 12px -8px rgba(37,99,235,.5); }
.adm-hero-stats div b { color: #1D4ED8; }
.adm-hero-stats div span { color: var(--muted); opacity: 1; }
.adm-page-hero a.text-white-50 { color: #2563EB !important; font-weight: 600; }
.adm-page-hero .badge-soft { background: #fff !important; color: #1D4ED8 !important; border: 1px solid #BFDBFE; }
.adm-page-hero h1 .bi, .adm-page-hero h2 .bi { color: #0EA5E9; }

/* ===== TOUR PAGE ===== */
.tour-hero { padding-bottom: 90px; }
.tour-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #2563EB; background: #fff; border: 1px solid #BFDBFE; padding: 6px 14px; border-radius: 30px; }
.tour-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-facts span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.85); border: 1px solid #DBEAFE; color: #1E3A8A; font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 12px; backdrop-filter: blur(4px); }
.tour-facts span .bi { color: #0EA5E9; }
.tour-next-card { background: #fff; border: 1px solid #DBEAFE; border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.tour-next-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #2563EB, #38BDF8); }
.tour-next-card small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #0EA5E9; }
.tour-next-card b { display: block; font-size: 22px; color: #1E3A8A; margin-top: 4px; }
.tour-next-card span { color: var(--muted); font-weight: 600; font-size: 14px; }

.tour-picks { display: flex; flex-direction: column; gap: 10px; }
.tour-picks .pick {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 1.5px solid #E2E8F0;
    border-radius: 14px; padding: 10px 12px; cursor: pointer; transition: all .15s;
}
.tour-picks .pick:hover { border-color: #2563EB; background: #F5F9FF; transform: translateX(3px); box-shadow: 0 8px 18px -12px rgba(37,99,235,.6); }
.tour-picks .cal-ic { width: 48px; min-width: 48px; border-radius: 12px; overflow: hidden; text-align: center; border: 1px solid #DBEAFE; line-height: 1.1; }
.tour-picks .cal-ic small { display: block; background: #2563EB; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 2px 0; }
.tour-picks .cal-ic b { display: block; font-size: 18px; color: #1E3A8A; padding: 4px 0; }
.tour-picks .txt { flex: 1; }
.tour-picks .txt b { display: block; color: var(--ink); font-size: 14.5px; }
.tour-picks .txt small { color: var(--muted); font-weight: 600; }
.tour-picks .left { font-size: 11.5px; font-weight: 800; color: #1D4ED8; background: #DBEAFE; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.tour-picks .pick.low .left { color: #92400E; background: #FEF3C7; }
.tour-picks .go { color: #94A3B8; }
.tour-picks .pick:hover .go { color: #2563EB; }

.tour-expect { list-style: none; padding: 0; margin: 0; }
.tour-expect li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.tour-expect li + li { border-top: 1px dashed #E2E8F0; }
.tour-expect .ic { width: 38px; min-width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #EFF6FF; color: #2563EB; font-size: 17px; }
.tour-expect b { display: block; font-size: 14px; color: var(--ink); }
.tour-expect small { color: var(--muted); }
.tour-help { background: linear-gradient(135deg, #EFF6FF, #E0F2FE); border-color: #DBEAFE; color: #1E3A8A; }

.tour-steps { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.modal-header .tour-steps { justify-content: flex-start; }
.tour-steps span { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,.18); color: rgba(255,255,255,.75); }
.tour-steps span.on { background: rgba(255,255,255,.95); color: #1D4ED8; }
.tour-steps span.cur { background: #fff; color: #1E3A8A; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.tour-steps.done span { background: #DBEAFE; color: #1D4ED8; }

.cal td.no-tour { background: #FAFCFF; }
.cal td.no-tour .dn span { color: #94A3B8; font-weight: 700; }
.cal td.no-tour:hover { box-shadow: none; }

/* compact calendar slots: one line time + small badge */
.cal .slot { padding: 6px 7px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cal .slot .t { white-space: nowrap; font-size: 11.5px; letter-spacing: -.3px; }
.cal td { padding: 6px; }
.cal .slot { border-left-width: 3px; padding: 5px 6px; }
.cal .slot .seats { font-size: 10.5px; font-weight: 700; border-radius: 20px; padding: 1px 8px; white-space: nowrap; }

/* ===== TOUR PAGE - light pastel colour per weekday ===== */
.tour-hero {
    background:
        radial-gradient(circle at 92% 0%, rgba(167,243,208,.55) 0, rgba(167,243,208,0) 32%),
        radial-gradient(circle at 70% 100%, rgba(221,214,254,.6) 0, rgba(221,214,254,0) 35%),
        radial-gradient(circle at 0% 0%, rgba(186,230,253,.55) 0, rgba(186,230,253,0) 35%),
        radial-gradient(circle at 35% 110%, rgba(254,215,170,.45) 0, rgba(254,215,170,0) 30%),
        linear-gradient(180deg, #F8FBFF 0%, #FBFAFF 100%);
}
.tour-next-card::before { background: linear-gradient(90deg, #6EE7B7, #A78BFA, #7DD3FC, #FDBA74); height: 5px; }
.tour-facts span:nth-child(1) { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; } .tour-facts span:nth-child(1) .bi { color: #10B981; }
.tour-facts span:nth-child(2) { background: #F0F9FF; border-color: #BAE6FD; color: #075985; } .tour-facts span:nth-child(2) .bi { color: #0EA5E9; }
.tour-facts span:nth-child(3) { background: #F5F3FF; border-color: #DDD6FE; color: #5B21B6; } .tour-facts span:nth-child(3) .bi { color: #8B5CF6; }
.tour-facts span:nth-child(4) { background: #FFF7ED; border-color: #FED7AA; color: #9A3412; } .tour-facts span:nth-child(4) .bi { color: #F97316; }
.tour-facts span:nth-child(5) { background: #FDF2F8; border-color: #FBCFE8; color: #9D174D; } .tour-facts span:nth-child(5) .bi { color: #EC4899; }
.tour-expect li:nth-child(1) .ic { background: #ECFDF5; color: #10B981; }
.tour-expect li:nth-child(2) .ic { background: #F5F3FF; color: #8B5CF6; }
.tour-expect li:nth-child(3) .ic { background: #FFF7ED; color: #F97316; }
.tour-expect li:nth-child(4) .ic { background: #FDF2F8; color: #EC4899; }
.tour-help { background: linear-gradient(135deg, #F5F3FF, #ECFDF5); border-color: #E9E5FF; color: #4C1D95; }
.tour-help a { color: #7C3AED; }
.cal td.has-slot.dw0 { background: linear-gradient(180deg, #FFF1F2 0%, #fff 70%); border-color: #FECDD3; }
.cal td.has-slot.dw0 .dn::after { background: #F43F5E; box-shadow: 0 0 0 3px #FECDD3; }
.slot.ok.dw0 { background: #FFF1F2; border-color: #FECDD3; border-left-color: #F43F5E; color: #9F1239; }
.slot.ok.dw0 .seats { background: #F43F5E; color: #fff; }
.slot.ok.dw0:hover { background: #F43F5E; color: #fff; box-shadow: 0 8px 16px -8px #F43F5E; }
.slot.ok.dw0:hover .seats { background: #fff; color: #F43F5E; }
.tour-picks .pick.dw0 { background: #FFF1F2; border-color: #FECDD3; }
.tour-picks .pick.dw0:hover { border-color: #F43F5E; box-shadow: 0 8px 18px -12px #F43F5E; }
.tour-picks .pick.dw0 .cal-ic { border-color: #FECDD3; background: #fff; }
.tour-picks .pick.dw0 .cal-ic small { background: #F43F5E; }
.tour-picks .pick.dw0 .cal-ic b { color: #9F1239; }
.tour-picks .pick.dw0 .left { background: #fff; color: #9F1239; border: 1px solid #FECDD3; }
.tour-picks .pick.dw0:hover .go { color: #F43F5E; }
.legend .dwk0::before { background: #F43F5E; }
.cal td.has-slot.dw1 { background: linear-gradient(180deg, #FFF7ED 0%, #fff 70%); border-color: #FED7AA; }
.cal td.has-slot.dw1 .dn::after { background: #F97316; box-shadow: 0 0 0 3px #FED7AA; }
.slot.ok.dw1 { background: #FFF7ED; border-color: #FED7AA; border-left-color: #F97316; color: #9A3412; }
.slot.ok.dw1 .seats { background: #F97316; color: #fff; }
.slot.ok.dw1:hover { background: #F97316; color: #fff; box-shadow: 0 8px 16px -8px #F97316; }
.slot.ok.dw1:hover .seats { background: #fff; color: #F97316; }
.tour-picks .pick.dw1 { background: #FFF7ED; border-color: #FED7AA; }
.tour-picks .pick.dw1:hover { border-color: #F97316; box-shadow: 0 8px 18px -12px #F97316; }
.tour-picks .pick.dw1 .cal-ic { border-color: #FED7AA; background: #fff; }
.tour-picks .pick.dw1 .cal-ic small { background: #F97316; }
.tour-picks .pick.dw1 .cal-ic b { color: #9A3412; }
.tour-picks .pick.dw1 .left { background: #fff; color: #9A3412; border: 1px solid #FED7AA; }
.tour-picks .pick.dw1:hover .go { color: #F97316; }
.legend .dwk1::before { background: #F97316; }
.cal td.has-slot.dw2 { background: linear-gradient(180deg, #ECFDF5 0%, #fff 70%); border-color: #A7F3D0; }
.cal td.has-slot.dw2 .dn::after { background: #10B981; box-shadow: 0 0 0 3px #A7F3D0; }
.slot.ok.dw2 { background: #ECFDF5; border-color: #A7F3D0; border-left-color: #10B981; color: #065F46; }
.slot.ok.dw2 .seats { background: #10B981; color: #fff; }
.slot.ok.dw2:hover { background: #10B981; color: #fff; box-shadow: 0 8px 16px -8px #10B981; }
.slot.ok.dw2:hover .seats { background: #fff; color: #10B981; }
.tour-picks .pick.dw2 { background: #ECFDF5; border-color: #A7F3D0; }
.tour-picks .pick.dw2:hover { border-color: #10B981; box-shadow: 0 8px 18px -12px #10B981; }
.tour-picks .pick.dw2 .cal-ic { border-color: #A7F3D0; background: #fff; }
.tour-picks .pick.dw2 .cal-ic small { background: #10B981; }
.tour-picks .pick.dw2 .cal-ic b { color: #065F46; }
.tour-picks .pick.dw2 .left { background: #fff; color: #065F46; border: 1px solid #A7F3D0; }
.tour-picks .pick.dw2:hover .go { color: #10B981; }
.legend .dwk2::before { background: #10B981; }
.cal td.has-slot.dw3 { background: linear-gradient(180deg, #F5F3FF 0%, #fff 70%); border-color: #DDD6FE; }
.cal td.has-slot.dw3 .dn::after { background: #8B5CF6; box-shadow: 0 0 0 3px #DDD6FE; }
.slot.ok.dw3 { background: #F5F3FF; border-color: #DDD6FE; border-left-color: #8B5CF6; color: #5B21B6; }
.slot.ok.dw3 .seats { background: #8B5CF6; color: #fff; }
.slot.ok.dw3:hover { background: #8B5CF6; color: #fff; box-shadow: 0 8px 16px -8px #8B5CF6; }
.slot.ok.dw3:hover .seats { background: #fff; color: #8B5CF6; }
.tour-picks .pick.dw3 { background: #F5F3FF; border-color: #DDD6FE; }
.tour-picks .pick.dw3:hover { border-color: #8B5CF6; box-shadow: 0 8px 18px -12px #8B5CF6; }
.tour-picks .pick.dw3 .cal-ic { border-color: #DDD6FE; background: #fff; }
.tour-picks .pick.dw3 .cal-ic small { background: #8B5CF6; }
.tour-picks .pick.dw3 .cal-ic b { color: #5B21B6; }
.tour-picks .pick.dw3 .left { background: #fff; color: #5B21B6; border: 1px solid #DDD6FE; }
.tour-picks .pick.dw3:hover .go { color: #8B5CF6; }
.legend .dwk3::before { background: #8B5CF6; }
.cal td.has-slot.dw4 { background: linear-gradient(180deg, #F0F9FF 0%, #fff 70%); border-color: #BAE6FD; }
.cal td.has-slot.dw4 .dn::after { background: #0EA5E9; box-shadow: 0 0 0 3px #BAE6FD; }
.slot.ok.dw4 { background: #F0F9FF; border-color: #BAE6FD; border-left-color: #0EA5E9; color: #075985; }
.slot.ok.dw4 .seats { background: #0EA5E9; color: #fff; }
.slot.ok.dw4:hover { background: #0EA5E9; color: #fff; box-shadow: 0 8px 16px -8px #0EA5E9; }
.slot.ok.dw4:hover .seats { background: #fff; color: #0EA5E9; }
.tour-picks .pick.dw4 { background: #F0F9FF; border-color: #BAE6FD; }
.tour-picks .pick.dw4:hover { border-color: #0EA5E9; box-shadow: 0 8px 18px -12px #0EA5E9; }
.tour-picks .pick.dw4 .cal-ic { border-color: #BAE6FD; background: #fff; }
.tour-picks .pick.dw4 .cal-ic small { background: #0EA5E9; }
.tour-picks .pick.dw4 .cal-ic b { color: #075985; }
.tour-picks .pick.dw4 .left { background: #fff; color: #075985; border: 1px solid #BAE6FD; }
.tour-picks .pick.dw4:hover .go { color: #0EA5E9; }
.legend .dwk4::before { background: #0EA5E9; }
.cal td.has-slot.dw5 { background: linear-gradient(180deg, #FEFCE8 0%, #fff 70%); border-color: #FDE68A; }
.cal td.has-slot.dw5 .dn::after { background: #EAB308; box-shadow: 0 0 0 3px #FDE68A; }
.slot.ok.dw5 { background: #FEFCE8; border-color: #FDE68A; border-left-color: #EAB308; color: #854D0E; }
.slot.ok.dw5 .seats { background: #EAB308; color: #fff; }
.slot.ok.dw5:hover { background: #EAB308; color: #fff; box-shadow: 0 8px 16px -8px #EAB308; }
.slot.ok.dw5:hover .seats { background: #fff; color: #EAB308; }
.tour-picks .pick.dw5 { background: #FEFCE8; border-color: #FDE68A; }
.tour-picks .pick.dw5:hover { border-color: #EAB308; box-shadow: 0 8px 18px -12px #EAB308; }
.tour-picks .pick.dw5 .cal-ic { border-color: #FDE68A; background: #fff; }
.tour-picks .pick.dw5 .cal-ic small { background: #EAB308; }
.tour-picks .pick.dw5 .cal-ic b { color: #854D0E; }
.tour-picks .pick.dw5 .left { background: #fff; color: #854D0E; border: 1px solid #FDE68A; }
.tour-picks .pick.dw5:hover .go { color: #EAB308; }
.legend .dwk5::before { background: #EAB308; }
.cal td.has-slot.dw6 { background: linear-gradient(180deg, #FDF2F8 0%, #fff 70%); border-color: #FBCFE8; }
.cal td.has-slot.dw6 .dn::after { background: #EC4899; box-shadow: 0 0 0 3px #FBCFE8; }
.slot.ok.dw6 { background: #FDF2F8; border-color: #FBCFE8; border-left-color: #EC4899; color: #9D174D; }
.slot.ok.dw6 .seats { background: #EC4899; color: #fff; }
.slot.ok.dw6:hover { background: #EC4899; color: #fff; box-shadow: 0 8px 16px -8px #EC4899; }
.slot.ok.dw6:hover .seats { background: #fff; color: #EC4899; }
.tour-picks .pick.dw6 { background: #FDF2F8; border-color: #FBCFE8; }
.tour-picks .pick.dw6:hover { border-color: #EC4899; box-shadow: 0 8px 18px -12px #EC4899; }
.tour-picks .pick.dw6 .cal-ic { border-color: #FBCFE8; background: #fff; }
.tour-picks .pick.dw6 .cal-ic small { background: #EC4899; }
.tour-picks .pick.dw6 .cal-ic b { color: #9D174D; }
.tour-picks .pick.dw6 .left { background: #fff; color: #9D174D; border: 1px solid #FBCFE8; }
.tour-picks .pick.dw6:hover .go { color: #EC4899; }
.legend .dwk6::before { background: #EC4899; }

/* full-width calendar: time + "1 family" + Book here */
.cal .slot .fam { font-size: 11px; font-weight: 600; opacity: .85; white-space: nowrap; }
.cal .slot .seats.book { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 3px 10px; box-shadow: 0 3px 8px -4px rgba(15,23,42,.35); }
.cal .slot.full .fam { opacity: .7; }
.cal td { height: 132px; }
.tour-expect.row li { border-top: 0 !important; padding: 10px 12px 10px 0; }
/* ===== TOUR: light colourful slots (blue / green / yellow / orange / red) ===== */
.cal td.has-slot { background: #fff; border-color: #E5E7EB; }
.cal td.has-slot .dn::after { background: linear-gradient(135deg, #3B82F6, #22C55E, #EAB308, #F97316, #EF4444); box-shadow: none; width: 9px; height: 9px; }
.legend .lc::before { background: conic-gradient(#3B82F6 0 20%, #22C55E 0 40%, #EAB308 0 60%, #F97316 0 80%, #EF4444 0); border-radius: 50%; }
.tour-hero {
    background:
        radial-gradient(circle at 95% 0%, rgba(254,202,202,.55) 0, rgba(254,202,202,0) 30%),
        radial-gradient(circle at 75% 100%, rgba(187,247,208,.6) 0, rgba(187,247,208,0) 32%),
        radial-gradient(circle at 0% 0%, rgba(191,219,254,.65) 0, rgba(191,219,254,0) 35%),
        radial-gradient(circle at 40% 115%, rgba(254,215,170,.55) 0, rgba(254,215,170,0) 30%),
        radial-gradient(circle at 55% -10%, rgba(253,230,138,.45) 0, rgba(253,230,138,0) 28%),
        linear-gradient(180deg, #FBFDFF 0%, #FFFDF8 100%);
}
.tour-facts span:nth-child(1) { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; } .tour-facts span:nth-child(1) .bi { color: #3B82F6; }
.tour-facts span:nth-child(2) { background: #F0FDF4; border-color: #BBF7D0; color: #166534; } .tour-facts span:nth-child(2) .bi { color: #22C55E; }
.tour-facts span:nth-child(3) { background: #FEFCE8; border-color: #FDE68A; color: #854D0E; } .tour-facts span:nth-child(3) .bi { color: #EAB308; }
.tour-facts span:nth-child(4) { background: #FFF7ED; border-color: #FED7AA; color: #9A3412; } .tour-facts span:nth-child(4) .bi { color: #F97316; }
.tour-facts span:nth-child(5) { background: #FEF2F2; border-color: #FECACA; color: #991B1B; } .tour-facts span:nth-child(5) .bi { color: #EF4444; }
.tour-expect li:nth-child(1) .ic { background: #EFF6FF; color: #3B82F6; }
.tour-expect li:nth-child(2) .ic { background: #F0FDF4; color: #22C55E; }
.tour-expect li:nth-child(3) .ic { background: #FFF7ED; color: #F97316; }
.tour-expect li:nth-child(4) .ic { background: #FEF2F2; color: #EF4444; }
.tour-help { background: linear-gradient(135deg, #FEFCE8, #FFF7ED); border-color: #FDE68A; color: #854D0E; }
.tour-help a { color: #C2410C; }
.slot.ok.c-blue { background: #EFF6FF; border-color: #BFDBFE; border-left-color: #3B82F6; color: #1E40AF; }
.slot.ok.c-blue .seats { background: #3B82F6; color: #fff; }
.slot.ok.c-blue:hover { background: #3B82F6; color: #fff; box-shadow: 0 8px 16px -8px #3B82F6; }
.slot.ok.c-blue:hover .seats { background: #fff; color: #3B82F6; }
.slot.ok.c-green { background: #F0FDF4; border-color: #BBF7D0; border-left-color: #22C55E; color: #166534; }
.slot.ok.c-green .seats { background: #22C55E; color: #fff; }
.slot.ok.c-green:hover { background: #22C55E; color: #fff; box-shadow: 0 8px 16px -8px #22C55E; }
.slot.ok.c-green:hover .seats { background: #fff; color: #22C55E; }
.slot.ok.c-yellow { background: #FEFCE8; border-color: #FDE68A; border-left-color: #EAB308; color: #854D0E; }
.slot.ok.c-yellow .seats { background: #EAB308; color: #fff; }
.slot.ok.c-yellow:hover { background: #EAB308; color: #fff; box-shadow: 0 8px 16px -8px #EAB308; }
.slot.ok.c-yellow:hover .seats { background: #fff; color: #EAB308; }
.slot.ok.c-orange { background: #FFF7ED; border-color: #FED7AA; border-left-color: #F97316; color: #9A3412; }
.slot.ok.c-orange .seats { background: #F97316; color: #fff; }
.slot.ok.c-orange:hover { background: #F97316; color: #fff; box-shadow: 0 8px 16px -8px #F97316; }
.slot.ok.c-orange:hover .seats { background: #fff; color: #F97316; }
.slot.ok.c-red { background: #FEF2F2; border-color: #FECACA; border-left-color: #EF4444; color: #991B1B; }
.slot.ok.c-red .seats { background: #EF4444; color: #fff; }
.slot.ok.c-red:hover { background: #EF4444; color: #fff; box-shadow: 0 8px 16px -8px #EF4444; }
.slot.ok.c-red:hover .seats { background: #fff; color: #EF4444; }

/* ===== images & icons ===== */
.tour-hero-img { width: 100%; max-width: 380px; filter: drop-shadow(0 18px 30px rgba(30,58,138,.18)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.tour-facts .ico { width: 20px; height: 20px; }
.tour-expect .ic img { width: 24px; height: 24px; }
.tour-help .help-ico { width: 46px; height: 46px; padding: 9px; background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: 0 6px 14px -8px rgba(234,179,8,.8); }
.cal .slot .si { width: 13px; height: 13px; vertical-align: -2px; }
.cal .slot .seats.book .si { width: 12px; height: 12px; }

/* ===== progress percentage ===== */
.prog-lg { height: 12px; }
.prog > div { min-width: 8px; }
.pct-badge { font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 20px; min-width: 52px; text-align: center; }
.prog > div.pct-low  { background: linear-gradient(90deg, #FDBA74, #F97316); }
.prog > div.pct-mid  { background: linear-gradient(90deg, #FDE047, #EAB308); }
.prog > div.pct-high { background: linear-gradient(90deg, #93C5FD, #3B82F6); }
.prog > div.pct-done { background: linear-gradient(90deg, #86EFAC, #22C55E); }
.pct-badge.pct-low  { background: #FFF7ED; color: #C2410C; border: 1px solid #FED7AA; }
.pct-badge.pct-mid  { background: #FEFCE8; color: #A16207; border: 1px solid #FDE68A; }
.pct-badge.pct-high { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.pct-badge.pct-done { background: #F0FDF4; color: #15803D; border: 1px solid #BBF7D0; }

/* language switch FR | EN */
.lang-switch { display: inline-flex; background: #F1F5F9; border-radius: 30px; padding: 3px; }
.lang-switch a { font-size: 12.5px; font-weight: 800; color: var(--muted); text-decoration: none; padding: 5px 11px; border-radius: 30px; letter-spacing: .5px; }
.lang-switch a.on { background: #fff; color: #1D4ED8; box-shadow: 0 2px 8px -3px rgba(15,23,42,.3); }
/* help line under "what to expect" */
.tour-helpline { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, #FEFCE8, #FFF7ED); border: 1px solid #FDE68A; color: #854D0E; font-weight: 600; }
.tour-helpline img { width: 34px; height: 34px; padding: 6px; background: #fff; border-radius: 10px; }
.tour-helpline a { color: #C2410C; font-weight: 800; }

/* closed periods (holidays) */
.cal td.closed { background: repeating-linear-gradient(135deg, #F8FAFC 0 8px, #F1F5F9 8px 16px); border-color: #E2E8F0; }
.cal td.closed .dn span { color: #94A3B8; }
.cal td.closed:hover { box-shadow: none; }
.closed-tag { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; color: #64748B; background: #fff; border: 1px dashed #CBD5E1; border-radius: 20px; padding: 2px 10px; }
.legend .l6::before { background: repeating-linear-gradient(135deg, #E2E8F0 0 3px, #fff 3px 6px); border: 1px solid #CBD5E1; }

/* menu on one line (French labels are longer) */
.adm-nav .nav-link, .adm-nav .btn, .adm-brand .name, .adm-user-chip { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399px) {
    .adm-nav .nav-link { padding: 8px 11px !important; font-size: 14.5px; }
    .adm-brand .name { font-size: 16px; }
    .adm-brand .sub { font-size: 10px; letter-spacing: 1.5px; }
}

/* admin reservations */
.res-date { display: flex; gap: 10px; align-items: center; }
.res-date .cal-ic { width: 46px; min-width: 46px; border-radius: 12px; overflow: hidden; text-align: center; border: 1px solid #DBEAFE; line-height: 1.1; background: #fff; }
.res-date .cal-ic small { display: block; background: #2563EB; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 2px 0; }
.res-date .cal-ic b { display: block; font-size: 18px; color: #1E3A8A; padding: 4px 0; }
.res-grid tr.res-today td { background: #FEFCE8; }
.res-grid tr.res-cancelled td { opacity: .6; }
.res-del { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; border-radius: 10px; padding: 6px 10px; }
.res-del:hover { background: #DC2626; color: #fff; }

/* responsive */
@media (max-width: 991px) {
    .wiz-shell { grid-template-columns: 1fr; }
    .wiz-side { position: static; display: none; }
    .wiz-dots { display: flex; }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .tour-next-card b { font-size: 18px; }
    .adm-card-body, .auth-form { padding: 20px; }
    .cal td { height: 84px; padding: 4px; border-radius: 10px; }
    .cal { border-spacing: 3px; }
    .slot { padding: 4px; }
    .slot .t { font-size: 10px; }
    .cal th { font-size: 11px; letter-spacing: 0; }
    .slot .meta, .cal .slot .seats, .cal .slot .fam { display: none; }
}
@media print {
    .adm-nav, .adm-footer, .wiz-side, .wiz-foot, .adm-topstrip { display: none !important; }
}

/* ---------- Tour page: campus photo in the hero ---------- */
.tour-hero-photo { position: relative; max-width: 340px; margin-left: auto; border-radius: 18px; overflow: hidden; border: 4px solid #fff;
    box-shadow: 0 24px 50px -22px rgba(30,58,138,.45); transform: rotate(1.2deg); background: #DBEAFE; }
.tour-hero-photo img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: center 60%;
    transition: transform .6s ease; }
.tour-hero-photo:hover img { transform: scale(1.04); }
.tour-hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(15,30,70,.18) 100%); }
@media (max-width: 1199.98px) { .tour-hero-photo img { height: 140px; } }
@media (max-width: 991.98px) { .tour-hero-photo { transform: none; margin: 0; max-width: 300px; } .tour-hero-photo img { height: 130px; } }
