@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #a3e635; /* Vibrant Pickleball Lime Green */
    --primary-hover: #84cc16;
    --primary-glow: rgba(163, 230, 53, 0.2);
    --danger: #ef4444;
    --danger-hover: #dc2626;
    --success: #10b981;
    --warning: #f59e0b;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    padding: 30px 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(163, 230, 53, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(163, 230, 53, 0.03) 0%, transparent 40%);
}

@media (min-width: 768px) {
    body {
        padding: 40px 24px;
    }
}

.container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.admin-container {
    max-width: 1400px !important;
    width: 100% !important;
}

/* Admin header responsiveness */
.admin-header {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
    width: 100%;
}
@media (min-width: 576px) {
    .admin-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Admin bookings layout */
.bookings-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: stretch;
}
@media (min-width: 992px) {
    .bookings-layout {
        flex-direction: row;
        gap: 24px;
        align-items: start;
    }
}

.booking-sidebar {
    width: 100%;
}
@media (min-width: 992px) {
    .booking-sidebar {
        width: 280px;
        flex-shrink: 0;
    }
}

/* Side Drawers */
.side-drawer {
    position: fixed;
    top: 0;
    right: -850px; /* Hidden by default */
    width: 800px;
    max-width: 95%;
    height: 100vh;
    background: #111625;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 45px rgba(0, 0, 0, 0.6);
    z-index: 10050;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

.side-drawer.open {
    right: 0;
}

.side-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10040;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-drawer-backdrop.show {
    display: block;
    opacity: 1;
}

.side-drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #090d16;
}

.side-drawer-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.side-drawer-body::-webkit-scrollbar { width: 6px; }
.side-drawer-body::-webkit-scrollbar-track { background: transparent; }
.side-drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* Left Sidebar and Sidebar Buttons */
.booking-sidebar {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-sidebar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-align: left;
}

.booking-sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.booking-sidebar-btn .badge {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 28px;
    text-align: center;
}

.booking-sidebar-btn.btn-confirmed {
    border-left: 4px solid #22c55e;
}
.booking-sidebar-btn.btn-confirmed:hover {
    border-color: #22c55e;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}
.booking-sidebar-btn.btn-confirmed .badge {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.booking-sidebar-btn.btn-completed {
    border-left: 4px solid #818cf8;
}
.booking-sidebar-btn.btn-completed:hover {
    border-color: #818cf8;
    box-shadow: 0 0 15px rgba(129, 140, 248, 0.15);
}
.booking-sidebar-btn.btn-completed .badge {
    background: rgba(129, 140, 248, 0.15);
    color: #818cf8;
}

.booking-sidebar-btn.btn-cancelled {
    border-left: 4px solid #ef4444;
}
.booking-sidebar-btn.btn-cancelled:hover {
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}
.booking-sidebar-btn.btn-cancelled .badge {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.booking-sidebar-btn.btn-overview {
    border-left: 4px solid var(--primary);
}
.booking-sidebar-btn.btn-overview:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.15);
}

.booking-sidebar-btn.btn-overview.active {
    background: rgba(163, 230, 53, 0.08);
    border-color: var(--primary);
}
.booking-sidebar-btn.btn-confirmed.active {
    background: rgba(34, 197, 94, 0.08);
    border-color: #22c55e;
}
.booking-sidebar-btn.btn-completed.active {
    background: rgba(129, 140, 248, 0.08);
    border-color: #818cf8;
}
.booking-sidebar-btn.btn-cancelled.active {
    background: rgba(239, 68, 68, 0.08);
    border-color: #ef4444;
}

.booking-section {
    animation: fadeInSection 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.side-notif-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    padding: 9px 11px;
    transition: background 0.2s;
}

.side-notif-card:hover { background: rgba(255,255,255,0.07); }


header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 10px;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Glassmorphic Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(163, 230, 53, 0.2);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

/* Progress Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    width: 20%;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.step-label {
    margin-top: 8px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
    white-space: normal;
    line-height: 1.25;
    max-width: 100%;
    word-break: break-word;
}

@media (max-width: 480px) {
    .step-label {
        font-size: 0.65rem;
    }
}

.step.active .step-label {
    color: var(--text-primary);
}

.step.completed .step-label {
    color: var(--success);
}

/* Forms and Inputs */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="search"],
select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input::placeholder {
    color: var(--text-secondary);
    opacity: 0.85;
}

input[type="search"] {
    color: var(--text-primary) !important;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(15, 23, 42, 0.8);
}

input:disabled, select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#displayMemberName {
    background: rgba(163, 230, 53, 0.12) !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    -webkit-text-fill-color: var(--primary) !important;
    opacity: 1 !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    text-shadow: 0 0 8px rgba(163, 230, 53, 0.4) !important;
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.25) !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: default !important;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#displayMemberName:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.4) !important;
}


/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #0b0f19;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: var(--danger-hover);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
}

.btn-group .btn {
    flex: 1;
}

.action-btn-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.action-btn-group .btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 6px 10px;
    margin: 0;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    width: auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    width: 100%;
    gap: 12px;
}

@media (max-width: 480px) {
    .card-actions {
        flex-direction: column;
    }
    .card-actions .btn {
        width: 100%;
    }
}

/* Step Wizard Sections */
.wizard-section {
    display: none;
}

.wizard-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

/* Court Selection Grid */
.court-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

@media(min-width: 480px) {
    .court-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.court-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--card-border);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.court-card.selected {
    border-color: var(--primary);
    background: rgba(163, 230, 53, 0.05);
    box-shadow: 0 0 12px var(--primary-glow);
}

.court-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.court-status {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.court-card.selected .court-status {
    color: var(--primary);
}

/* Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 15px;
}

@media(min-width: 576px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width: 800px) {
    .slots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.slot-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.slot-item.available:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
}

.slot-item.selected {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
    font-weight: 600;
}

.slot-item.booked {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
    cursor: not-allowed;
    text-decoration: none;
}

/* Equipment Selectors */
.equipment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.equipment-item:last-child {
    border-bottom: none;
}

.equipment-info h4 {
    font-weight: 600;
    font-size: 1rem;
}

.equipment-price {
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 2px;
}

.equipment-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.qty-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background: rgba(163, 230, 53, 0.1);
    color: var(--primary);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-val {
    width: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

.out-of-stock-badge {
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
}

/* Summary List */
.summary-list {
    margin-top: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Feedback Notifications */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease-out;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fde68a;
}

/* Modals (OTP Mock, etc.) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 15px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #151f32;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 25px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Tabs for Admin */
.tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--card-border);
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 30px;
    width: 100%;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 6px;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: #0b0f19;
    background: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Tables styling */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(15, 23, 42, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

th {
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid var(--card-border);
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

tr:last-child td {
    border-bottom: none;
}

/* Badges for status */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

/* Utility classes */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.w-auto { width: auto; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-primary-color { color: var(--primary) !important; }
.hidden { display: none !important; }

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar input {
    flex-grow: 1;
}

.search-bar .btn {
    width: auto;
}

@media (max-width: 580px) {
    .search-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-bar .btn {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

@media(min-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-val {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print Invoice Styling */
@media print {
    body {
        background: white;
        color: black;
        padding: 0;
    }
    
    .container {
        max-width: 100%;
    }
    
    .card {
        background: white;
        border: none;
        box-shadow: none;
        color: black;
    }
    
    .btn, .stepper, header p, .cancellation-outer {
        display: none !important;
    }
    
    header h1 {
        background: none;
        -webkit-text-fill-color: black;
        color: black;
        font-size: 2rem;
    }
    
    .summary-row {
        color: black !important;
    }
    
    .summary-row.total {
        border-top: 1px solid black;
        color: black !important;
    }
}

.cancellation-alert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.9rem;
    gap: 15px;
}

@media (max-width: 480px) {
    .cancellation-alert-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .cancellation-alert-item .btn {
        width: 100% !important;
        padding: 8px 12px;
    }
}

/* Holiday & Restricted Calendar Widget */
.holiday-calendar-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-cell {
    aspect-ratio: 1;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-cell:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.calendar-cell.empty {
    visibility: hidden;
    cursor: default;
}

.calendar-cell.today {
    border: 1px solid var(--primary);
    box-shadow: 0 0 8px rgba(163, 230, 53, 0.1);
}

.calendar-cell-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.calendar-cell.today .calendar-cell-num {
    color: var(--primary);
}

/* Event badges inside cell */
.calendar-event-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: auto;
}

.calendar-cell.holiday {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}
.calendar-cell.holiday:hover {
    background: rgba(239, 68, 68, 0.15);
}
.calendar-cell.holiday .calendar-cell-num {
    color: #f87171;
}
.calendar-cell.holiday .calendar-event-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.calendar-cell.restricted {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
}
.calendar-cell.restricted:hover {
    background: rgba(245, 158, 11, 0.15);
}
.calendar-cell.restricted .calendar-cell-num {
    color: #fbbf24;
}
.calendar-cell.restricted .calendar-event-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.calendar-cell.selected-date {
    background: rgba(163, 230, 53, 0.12) !important;
    border: 2px solid var(--primary) !important;
}

/* Two-column layout for Holidays tab */
.holidays-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

@media (min-width: 992px) {
    .holidays-layout {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .holidays-forms-col {
        flex: 1 1 40%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .holidays-calendar-col {
        flex: 1 1 60%;
        position: sticky;
        top: 20px;
    }
}

/* ==========================================================================
   Simulated WhatsApp Notification Toast
   ========================================================================== */
.whatsapp-toast {
    position: fixed;
    top: -150px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: rgba(31, 44, 52, 0.95);
    border-left: 5px solid #25d366;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    color: #e9edef;
    z-index: 100000;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-toast.show {
    top: 25px;
}

.whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    color: #8696a0;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.whatsapp-icon {
    font-size: 0.95rem;
}

.whatsapp-title {
    font-weight: 700;
    color: #e9edef;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.whatsapp-body {
    font-size: 0.88rem;
    color: #d1d7db;
    line-height: 1.4;
}

.whatsapp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: #8696a0;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.whatsapp-close:hover {
    color: #e9edef;
}

/* Mobile responsiveness adjustments */
@media (max-width: 991px) {
    .booking-sidebar {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding: 12px !important;
        gap: 8px !important;
    }
    .booking-sidebar-btn {
        flex: 1 1 calc(50% - 4px) !important;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }
    .booking-sidebar-btn:hover {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    /* Progress stepper compact styles */
    .step-number {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
    .stepper::before {
        top: 15px !important;
    }
    .step-label {
        font-size: 0.6rem !important;
    }
    
    /* Calendar widget optimizations */
    .holiday-calendar-container {
        padding: 12px !important;
    }
    .calendar-grid {
        gap: 4px !important;
    }
    .calendar-cell {
        min-height: 38px !important;
        padding: 4px !important;
    }
    .calendar-cell-num {
        font-size: 0.7rem !important;
    }
    .calendar-event-badge {
        font-size: 0.55rem !important;
        padding: 1px 2px !important;
    }
    
    /* Tables sizing */
    th, td {
        padding: 8px 10px !important;
        font-size: 0.78rem !important;
    }
    
    /* Admin header flex layout */
    .admin-header .flex {
        width: 100% !important;
    }
    .admin-header .btn {
        flex: 1 !important;
        justify-content: center !important;
    }
    
    /* Floating notification bell scaling */
    #notifBell {
        width: 48px !important;
        height: 48px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    #notifBell span.material-symbols-outlined {
        font-size: 1.35rem !important;
    }
}

/* Side notification panel drawer styling */
.notif-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    z-index: 9998;
    background: #13131f;
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.notif-panel.active {
    right: 0 !important;
}

@media (max-width: 400px) {
    .notif-panel {
        right: -100%;
        width: 100%;
    }
}


