/* ============================================
   Sithiram Heritage — Boutique Booking
   Maroon. Gold. Elegance.
   ============================================ */

:root {
    /* --- BRAND --- */
    --accent: #7D1A33;
    --accent-light: #9B2242;
    --accent-hover: #fdf0f3;
    --accent-text: #fff;
    --gold: #C9A050;
    --gold-light: #F5E6C4;
    --gold-dark: #A07830;

    /* --- NEUTRAL SCALE --- */
    --bg: #FDFBF7;
    --bg-card: #fff;
    --bg-input: #fff;
    --border: #E8E0D8;
    --border-light: #F0EBE5;
    --text: #1A1210;
    --text-secondary: #5C4B42;
    --text-muted: #9C8B82;

    /* --- STATUS --- */
    --success: #2a7d3f;
    --success-bg: #eef7f0;
    --error: #c03;
    --error-bg: #fef0f0;
    --warning: #b58a00;
    --warning-bg: #fdf8e8;

    --radius: 8px;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    font-size: 15px;
    min-height: 100vh;
}

::selection { background: var(--accent); color: var(--accent-text); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
}
h4 { font-weight: 500; line-height: 1.3; }

/* --- HEADER --- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.15s;
}
.header-back:hover { color: var(--accent); }
.header-back svg { width: 16px; height: 16px; }

.header-logo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* --- FOOTER --- */
.page-footer {
    padding: 32px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: var(--bg);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: opacity 0.15s, background 0.15s;
    letter-spacing: 0.01em;
}
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
    background: var(--accent);
    color: var(--accent-text);
}
.btn-primary:not(:disabled):hover { background: var(--accent-light); }

.btn-gold {
    background: var(--gold);
    color: #fff;
}
.btn-gold:not(:disabled):hover { background: var(--gold-dark); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* --- FORM ELEMENTS --- */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-group .optional {
    color: var(--text-muted);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-input);
    color: var(--text);
    transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group input::placeholder { color: var(--text-muted); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   HOMEPAGE — BOUTIQUE HERO
   ============================================ */
.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.home-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
}

.home-logo {
    margin-bottom: 32px;
}
.home-logo img {
    height: 88px;
    margin: 0 auto;
}
.home-logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.home-ornament {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 360px;
}
.home-ornament-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.home-ornament-diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.home-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.home-subtitle {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-dark);
    margin-bottom: 28px;
}

.home-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.7;
    margin: 0 auto 40px;
}

.home-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.15s, transform 0.15s;
    text-transform: uppercase;
}
.home-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}
.home-cta svg { width: 16px; height: 16px; }

/* ============================================
   PACKAGES PAGE (formerly themes.php)
   ============================================ */
.packages-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.packages-hero {
    text-align: center;
    margin-bottom: 52px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.packages-hero .section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-dark);
    margin-bottom: 12px;
    font-weight: 500;
}
.packages-hero h1 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 10px;
}
.packages-hero p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.pkg-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pkg-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(125, 26, 51, 0.08);
}

.pkg-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.pkg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.pkg-card:hover .pkg-card-img img { transform: scale(1.04); }

.pkg-card-header {
    background: var(--accent);
    padding: 20px 24px 16px;
    text-align: center;
}
.pkg-card-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}
.pkg-card-pax {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pkg-card-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pkg-card-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    text-align: center;
}
.pkg-card-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.pkg-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    flex: 1;
}
.pkg-card-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 5px 0 5px 20px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}
.pkg-card-features li:last-child { border-bottom: none; }
.pkg-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.pkg-card-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.pkg-card-duration svg { width: 14px; height: 14px; }

.pkg-card .btn { width: 100%; }

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.booking-pkg-header {
    margin-bottom: 28px;
    padding: 16px 20px;
    background: var(--accent);
    border-radius: var(--radius);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.booking-pkg-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
}
.booking-pkg-meta {
    font-size: 13px;
    opacity: 0.8;
}

/* Steps */
.booking-steps {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.step {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.step:last-child { border-right: none; }
.step.active { background: var(--bg-card); color: var(--text); }
.step.completed { background: var(--bg-card); color: var(--text-muted); }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 12px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-secondary);
    flex-shrink: 0;
}
.step.active .step-num { background: var(--accent); color: var(--accent-text); }
.step.completed .step-num { background: var(--success); color: #fff; }

/* Booking sections */
.booking-section { display: none; }
.booking-section.active { display: block; }

.booking-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--accent);
    font-family: 'Playfair Display', Georgia, serif;
}
.booking-section-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Calendar */
.cal-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--bg-card);
}
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.cal-month-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}
.cal-nav {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s;
}
.cal-nav:hover { border-color: var(--accent); color: var(--accent); }
.cal-dow-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.cal-dow-row span {
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: inherit;
    border: none;
    background: transparent;
    cursor: default;
    color: var(--border);
}
.cal-day.available {
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    background: var(--bg-card);
}
.cal-day.available:hover { background: var(--accent-hover); color: var(--accent); }
.cal-day.selected { background: var(--accent) !important; color: var(--accent-text) !important; font-weight: 700; }
.cal-day.empty { background: transparent; }

/* Time slots */
.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 32px;
}
.timeslot-btn {
    padding: 10px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s;
}
.timeslot-btn:hover:not(:disabled) { border-color: var(--gold); }
.timeslot-btn.selected { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.timeslot-btn.unavailable {
    background: var(--bg);
    color: var(--text-muted);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Booking nav */
.booking-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Summary */
.booking-summary {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    background: var(--bg-card);
}
.summary-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--text-secondary); }
.summary-row .value { font-weight: 500; text-align: right; }
.summary-divider { height: 1px; background: var(--border); margin: 12px 0; }
.summary-total .label { font-weight: 600; color: var(--text); }
.summary-total .value { font-size: 17px; font-weight: 700; color: var(--accent); }

/* ============================================
   T&C
   ============================================ */
.tnc-check { margin: 16px 0 8px; }
.tnc-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}
.tnc-label input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.tnc-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}
.tnc-link:hover { opacity: 0.8; }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 16px; font-weight: 600; margin: 0; }
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0 4px;
    line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.tnc-list { padding-left: 20px; margin: 0; }
.tnc-list li { margin-bottom: 14px; }
.tnc-list li strong { color: var(--text); }

/* ============================================
   CONFIRMATION PAGE
   ============================================ */
.result-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 24px 80px;
    background: var(--bg);
}
.result-container {
    width: 100%;
    max-width: 500px;
}
.result-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.result-icon.success { background: var(--success-bg); }
.result-icon.success svg { stroke: var(--success); }
.result-icon.error { background: var(--error-bg); }
.result-icon.error svg { stroke: var(--error); }
.result-icon svg { width: 28px; height: 28px; }

.result-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
    text-align: center;
}
.result-ref {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-align: center;
}
.result-ref strong {
    font-family: monospace;
    font-size: 15px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
}

.result-screenshot-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin: 16px 0 24px;
    font-size: 13px;
    color: var(--gold-dark);
    line-height: 1.5;
    font-weight: 500;
}
.result-screenshot-notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.result-details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg-card);
}
.result-details-title {
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.result-details-body { padding: 4px 20px; }

.result-wa-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.result-wa-section p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.6;
}
.wa-btn-full {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius);
    transition: opacity 0.15s;
}
.wa-btn-full:hover { opacity: 0.9; }
.wa-btn-full svg { width: 20px; height: 20px; }

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.loading-overlay.active { display: flex; }
.loader {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 13px; color: var(--text-muted); }

/* ============================================
   INFO / CONTACT SECTION
   ============================================ */
.info-section {
    border-top: 1px solid var(--border);
    padding: 56px 24px 48px;
    background: var(--accent);
}
.info-container {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.info-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold-light);
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}
.info-item a {
    color: rgba(255,255,255,0.8);
    transition: color 0.15s;
}
.info-item a:hover { color: var(--gold-light); }
.info-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--gold);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    transition: border-color 0.15s, color 0.15s;
}
.social-btn:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}
.social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   ADMIN
   ============================================ */
.admin-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.admin-title { font-size: 24px; margin-bottom: 24px; }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}
.stat-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.stat-value { font-size: 24px; font-weight: 600; }

.admin-tabs {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.admin-tab {
    flex: 1;
    padding: 10px 12px;
    text-align: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg);
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
}
.admin-tab:last-child { border-right: none; }
.admin-tab.active { background: var(--bg-card); color: var(--text); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    white-space: nowrap;
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 3px;
}
.status-confirmed { background: var(--success-bg); color: var(--success); }
.status-completed { background: #e8f4fd; color: #2563eb; }
.status-pending { background: var(--warning-bg); color: var(--warning); }
.status-cancelled { background: var(--error-bg); color: var(--error); }

.admin-form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.admin-form-row .form-group { margin-bottom: 0; flex: 1; min-width: 140px; }
.admin-form-row .btn { height: 40px; white-space: nowrap; }

.date-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.date-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.remove-date { color: var(--error); font-size: 16px; line-height: 1; cursor: pointer; }

.theme-editor {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    background: var(--bg-card);
}
.theme-editor-title { font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.theme-inactive { opacity: 0.55; }

.theme-images-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-image-item {
    position: relative;
    width: 100px;
    height: 75px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.theme-image-item img { width: 100%; height: 100%; object-fit: cover; }
.theme-image-delete { position: absolute; top: 4px; right: 4px; }
.theme-image-delete button {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-image-delete button:hover { background: var(--error); }

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.login-box { width: 100%; max-width: 360px; }
.login-box h1 { font-size: 24px; margin-bottom: 8px; text-align: center; }
.login-box p { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 24px; }
.login-error {
    font-size: 13px;
    color: var(--error);
    padding: 10px;
    background: var(--error-bg);
    border-radius: var(--radius);
    margin-bottom: 16px;
    text-align: center;
}

.package-editor {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    background: var(--bg);
}
.package-inactive { opacity: 0.5; }

.booking-filters {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.filter-form .filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}
.filter-group { flex: 1; min-width: 140px; }
.filter-group label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.filter-group input,
.filter-group select {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    font-family: inherit;
}
.filter-actions { display: flex; gap: 6px; align-items: flex-end; padding-bottom: 1px; }

.wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    transition: opacity 0.15s;
    margin-right: 6px;
    vertical-align: middle;
}
.wa-btn:hover { opacity: 0.8; }
.wa-btn svg { width: 16px; height: 16px; }

.shooter-stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.shooter-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}
.shooter-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.shooter-stat-value { font-size: 22px; font-weight: 700; color: var(--text); }

.booking-cards { display: flex; flex-direction: column; gap: 12px; }
.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.booking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg);
}
.booking-card-ref {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: monospace;
    color: var(--text);
}
.booking-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.booking-card-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.booking-card-field { display: flex; flex-direction: column; gap: 2px; }
.bck-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}
.bck-value { font-size: 13px; color: var(--text); font-weight: 500; }
.booking-card-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.bck-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
.bck-phone { font-size: 12px; color: var(--text-secondary); }
.bck-social { font-size: 12px; color: var(--text-muted); }
.booking-card-addons { display: flex; flex-wrap: wrap; gap: 6px; }
.addon-tag {
    display: inline-block;
    padding: 3px 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-secondary);
}
.booking-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--border-light);
    background: var(--bg);
}
.booking-card-price { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.booking-card-price > div { display: flex; flex-direction: column; gap: 1px; }
.booking-card-price strong { font-size: 13px; font-weight: 700; }
.booking-card-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ============================================
   PACKAGE IMAGE SLIDER
   ============================================ */
.pkg-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--bg-card);
    aspect-ratio: 4 / 3;
}
.pkg-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}
.pkg-slide {
    min-width: 100%;
    height: 100%;
}
.pkg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pkg-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.pkg-slider-btn:hover { background: rgba(0,0,0,0.7); }
.pkg-slider-prev { left: 10px; }
.pkg-slider-next { right: 10px; }
.pkg-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.pkg-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.pkg-slider-dot.active { background: #fff; }

/* ============================================
   PAX COUNTER
   ============================================ */
.pax-counter {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 8px 0 4px;
}
.pax-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: none;
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.pax-btn:hover { background: var(--bg); }
.pax-value {
    width: 60px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    line-height: 44px;
    user-select: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .home-title { font-size: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .booking-steps { font-size: 12px; }
    .step { padding: 10px 4px; gap: 4px; flex-direction: column; }
    .step-label { font-size: 11px; }
    .packages-grid { grid-template-columns: 1fr; }
    .timeslot-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
    .filter-form .filter-row { flex-direction: column; }
    .filter-group { min-width: 100%; }
    .info-container { grid-template-columns: 1fr; gap: 32px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-form-row { flex-direction: column; }
    .booking-pkg-header { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
    .step-label { display: none; }
    .step { padding: 10px 0; flex-direction: row; justify-content: center; }
    .step-num { width: 26px; height: 26px; font-size: 13px; }
    .home-title { font-size: 28px; }
}
