/* ===================================
   NeuroCRM - Main Styles
   =================================== */

/* Google Fonts - Georgian */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

/* Design Tokens */
:root {
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Colors */
    --primary: #667eea;
    --primary-dark: #764ba2;
    --text-dark: #1a1a2e;
    --text-muted: #666;
    --text-light: rgba(255,255,255,0.92);
    --bg-light: #f8f9fa;
    --border-light: #e9ecef;

    /* Button Glow Colors */
    --glow-primary: rgba(102, 126, 234, 0.5);
    --glow-secondary: rgba(118, 75, 162, 0.4);
    --glow-accent: rgba(167, 139, 250, 0.6);

    /* Typography */
    --font-base: 16px;
    --font-sm: 14px;
    --font-lg: 18px;
    --font-xl: 24px;
    --font-2xl: 32px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 50px;
}

/* ===================================
   UNIFIED BUTTON DESIGN SYSTEM
   =================================== */

/* Base Pill Button */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Glow effect pseudo-element */
.btn-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-pill);
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    animation: btnGlowPulse 3s ease-in-out infinite;
}

.btn-pill:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.35) 0%, rgba(118, 75, 162, 0.35) 100%);
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 8px 30px var(--glow-primary), 0 0 20px var(--glow-secondary);
    color: white;
}

.btn-pill:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
}

.btn-pill:active {
    transform: translateY(-1px);
}

/* Primary Pill Button - Solid gradient */
.btn-pill-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 20px var(--glow-primary);
    animation: btnPrimaryPulse 3s ease-in-out infinite;
}

.btn-pill-primary::before {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.5) 0%, transparent 70%);
}

.btn-pill-primary:hover {
    background: linear-gradient(135deg, #7b8ff0 0%, #8a5fb5 100%);
    box-shadow: 0 8px 35px var(--glow-primary), 0 0 25px var(--glow-accent);
}

/* Secondary Pill Button - Glassmorphism */
.btn-pill-secondary {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.btn-pill-secondary:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-primary);
}

/* Back/Navigation Pill Button */
.btn-pill-back {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-pill-back::before {
    animation: none;
    opacity: 0;
}

.btn-pill-back:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Button icon */
.btn-pill-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.btn-pill-icon-lg {
    width: 24px;
    height: 24px;
}

/* Glow animations */
@keyframes btnGlowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes btnPrimaryPulse {
    0%, 100% {
        box-shadow: 0 4px 20px var(--glow-primary);
    }
    50% {
        box-shadow: 0 6px 30px var(--glow-primary), 0 0 20px var(--glow-accent);
    }
}

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

body {
    font-family: 'Noto Sans Georgian', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    color: var(--text-dark);
    font-size: var(--font-base);
    line-height: 1.6;
}

/* ===================================
   Booking Page - Dark Theme with Brain
   =================================== */
body.booking-page {
    background: #050510;
    position: relative;
    overflow-x: hidden;
}

/* Brain Background Canvas */
.brain-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

/* Static brain fallback */
body.booking-page .static-brain {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(ellipse at center,
        rgba(102, 126, 234, 0.15) 0%,
        rgba(102, 126, 234, 0.05) 40%,
        transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    display: none;
}

/* Container on top of brain */
body.booking-page .container {
    position: relative;
    z-index: 10;
}

/* Header - Glass style */
body.booking-page header {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.booking-page .brand-logo {
    background: rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Progress Bar - Glass like Footer */
body.booking-page .progress-bar {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 20px !important;
}

/* Online Booking Badge - Glass like Footer */
body.booking-page .online-booking-badge {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 20px !important;
}

/* ============================================
   BOOKING PAGE - EXACT ABOUT-TAB DARK GLASS STYLE
   ============================================ */

/* Step Content - Subtle Glass like Footer */
body.booking-page .step-content {
    background: rgba(255, 255, 255, 0.01) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    padding: 30px 20px !important;
}

body.booking-page .step-content h2 {
    color: white !important;
}

body.booking-page .step-content p,
body.booking-page .step-content label {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Center Cards - Subtle Glass like Footer */
body.booking-page .center-card {
    background: rgba(255, 255, 255, 0.01) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 25px rgba(102, 126, 234, 0.25), 0 0 40px rgba(118, 75, 162, 0.2);
    animation: centerCardPulse 3s ease-in-out infinite;
}

@keyframes centerCardPulse {
    0%, 100% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.25), 0 0 40px rgba(118, 75, 162, 0.2);
        border-color: rgba(255, 255, 255, 0.06);
    }
    50% {
        box-shadow: 0 4px 35px rgba(102, 126, 234, 0.4), 0 0 60px rgba(118, 75, 162, 0.3), 0 0 80px rgba(167, 139, 250, 0.15);
        border-color: rgba(167, 139, 250, 0.2);
    }
}

body.booking-page .center-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(167, 139, 250, 0.3) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                0 0 60px rgba(102, 126, 234, 0.5),
                0 0 90px rgba(118, 75, 162, 0.35),
                inset 0 0 25px rgba(102, 126, 234, 0.15);
    animation: none;
}

body.booking-page .center-card:active {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 0 70px rgba(102, 126, 234, 0.6);
}

body.booking-page .center-card h3 {
    color: white !important;
}

body.booking-page .center-card p {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Slot Filters - Subtle Glass like Footer */
body.booking-page .slot-filters {
    background: rgba(255, 255, 255, 0.01) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
}

body.booking-page .filter-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page .filter-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border: 2px solid rgba(167, 139, 250, 0.25) !important;
    border-radius: 50px !important;
    padding: 10px 18px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.15);
}

body.booking-page .filter-btn:hover {
    background: rgba(102, 126, 234, 0.2) !important;
    color: white !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

body.booking-page .filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6), 0 0 40px rgba(118, 75, 162, 0.3) !important;
    transform: scale(1.08) !important;
    font-weight: 600 !important;
    animation: filterBtnActiveGlow 2.5s ease-in-out infinite;
}

@keyframes filterBtnActiveGlow {
    0%, 100% {
        box-shadow: 0 4px 25px rgba(102, 126, 234, 0.6), 0 0 40px rgba(118, 75, 162, 0.3);
    }
    50% {
        box-shadow: 0 4px 35px rgba(102, 126, 234, 0.8), 0 0 55px rgba(118, 75, 162, 0.45);
    }
}

/* Date Cards - Enhanced with Glow */
body.booking-page .date-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(167, 139, 250, 0.25) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.15);
}

body.booking-page .date-card:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.18) 100%) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(102, 126, 234, 0.25);
    transform: translateY(-3px);
}

body.booking-page .date-card h4 {
    color: white !important;
}

body.booking-page .date-card .day-name {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Slot Buttons - Enhanced with Glow */
body.booking-page .slot-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%) !important;
    backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(167, 139, 250, 0.3) !important;
    border-radius: 14px !important;
    color: white !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
}

body.booking-page .slot-btn .slot-time-text {
    color: white !important;
    font-weight: 600 !important;
}

body.booking-page .slot-btn .format-label {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 500 !important;
}

body.booking-page .slot-btn:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.22) 0%, rgba(118, 75, 162, 0.22) 100%) !important;
    border-color: rgba(167, 139, 250, 0.55) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.35), 0 0 35px rgba(118, 75, 162, 0.2) !important;
}

body.booking-page .slot-btn:active,
body.booking-page .slot-btn.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 5px 30px rgba(102, 126, 234, 0.6), 0 0 45px rgba(118, 75, 162, 0.35) !important;
    transform: scale(1.02) !important;
}

/* Confirmation/Success Cards - Exact about-tab style */
body.booking-page .success-card,
body.booking-page .cancel-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.booking-page .success-card h2,
body.booking-page .cancel-card h2 {
    color: white !important;
}

body.booking-page .success-card p,
body.booking-page .cancel-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Booking Details - Exact about-tab style */
body.booking-page .booking-details {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.booking-page .detail-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page .detail-value {
    color: white !important;
}

/* Form Inputs - Dark Glass style */
body.booking-page .step-content input,
body.booking-page .step-content textarea,
body.booking-page .form-group input,
body.booking-page .form-group textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

body.booking-page .step-content input::placeholder,
body.booking-page .step-content textarea::placeholder,
body.booking-page .form-group input::placeholder,
body.booking-page .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

body.booking-page .step-content input:focus,
body.booking-page .step-content textarea:focus,
body.booking-page .form-group input:focus,
body.booking-page .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(102, 126, 234, 0.4) !important;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

/* Consent Checkbox - Dark Glass style */
body.booking-page .consent-checkbox-wrapper {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.booking-page .consent-checkbox-wrapper label {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page .consent-checkbox-wrapper a {
    color: rgba(102, 126, 234, 0.9) !important;
}

/* Waiting List Form - Dark Glass style */
body.booking-page #waiting-list-form {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.booking-page #waiting-list-form h3 {
    color: white !important;
}

body.booking-page #waiting-list-form p {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page #waiting-list-form input,
body.booking-page #waiting-list-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    font-size: 1rem;
    color: white !important;
}

/* Selected Center text */
body.booking-page .selected-center {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page .selected-center strong {
    color: white !important;
}

/* Back button - Enhanced Pill Style */
body.booking-page .back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(167, 139, 250, 0.3) !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.15);
}

body.booking-page .back-btn:hover {
    color: white !important;
    background: rgba(102, 126, 234, 0.2) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

/* Loading text */
body.booking-page .loading {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Confirmation note */
body.booking-page .confirmation-note {
    color: rgba(255, 255, 255, 0.8) !important;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container--wide {
    max-width: 920px;
}

/* Header */
header {
    text-align: center;
    padding: var(--space-xl) 0;
    color: white;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
}

header .subtitle {
    font-size: var(--font-lg);
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.brand-tagline {
    font-size: var(--font-sm);
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Online Booking Badge - Glassmorphism */
.online-booking-badge {
    display: block;
    width: fit-content;
    margin: 24px auto 20px;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.5);
}

.step.active {
    color: white;
}

.step.completed {
    color: rgba(255, 255, 255, 0.9);
}

.step-circle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    overflow: hidden;
}

.step-circle .step-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-circle .step-number {
    position: relative;
    z-index: 1;
}

.step.active .step-circle {
    background: rgba(30, 20, 50, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.step.active .step-circle .step-particles {
    opacity: 1;
}

.step.completed .step-circle {
    background: rgba(30, 20, 50, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    color: white;
}

.step.completed .step-circle .step-particles {
    opacity: 1;
}

.step-line {
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    margin: 0 10px;
}

/* Step Content */
.step-content {
    display: none;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

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

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.step-content h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-dark);
    font-size: var(--font-xl);
    font-weight: 700;
}

/* Center Cards */
.center-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.center-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-light) 100%);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.center-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-dark);
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.2);
}

.center-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

/* Center Emoji */
.center-emoji {
    font-size: 3.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.center-card:hover .center-emoji {
    transform: scale(1.1);
}

.center-card h3 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.center-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Slots */
#slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.slot-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.slot-group h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.slot-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-btn:hover {
    border-color: #764ba2;
    background: #f8f5ff;
}

/* Format label in slot button */
.time-slots .slot-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
}

.slot-btn .slot-time-text {
    font-weight: 600;
    font-size: 1rem;
}

.slot-btn .format-label {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    white-space: nowrap;
}

/* Format Choice Modal */
#format-choice-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#format-choice-modal.show {
    display: flex;
}

.format-choice-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.format-choice-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.3rem;
}

.format-choice-slot {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 25px;
}

.format-choice-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.format-btn {
    flex: 1;
    padding: 20px 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.format-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.format-btn.online-btn:hover {
    border-color: #4caf50;
    background: #e8f5e9;
}

.format-btn.offline-btn:hover {
    border-color: #2196f3;
    background: #e3f2fd;
}

.format-desc {
    font-size: 0.75rem;
    color: #666;
}

.format-choice-content .btn-cancel {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.format-choice-content .btn-cancel:hover {
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #764ba2;
}

/* Buttons */
.btn-primary {
  display: inline-block;   /* ძალიან მნიშვნელოვანია */
  margin-top: 18px;        /* აშორებს ტექსტს ზემოდან */
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.26);
  box-shadow: 0 5px 20px rgba(118, 75, 162, 0.4);
}

/* Booking Form Button - Enhanced with Glow */
.btn-book,
#booking-form button[type="submit"],
form .btn-book {
    display: block !important;
    visibility: visible !important;
    width: 100%;
    padding: 18px 28px;
    margin-top: 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5), 0 0 40px rgba(118, 75, 162, 0.3);
    opacity: 1 !important;
    animation: bookBtnGlow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes bookBtnGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5), 0 0 40px rgba(118, 75, 162, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(102, 126, 234, 0.7), 0 0 60px rgba(118, 75, 162, 0.5), 0 0 80px rgba(167, 139, 250, 0.3);
    }
}

.btn-book:hover,
#booking-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(102, 126, 234, 0.7), 0 0 60px rgba(118, 75, 162, 0.5);
    animation: none;
}

.btn-book:disabled,
#booking-form button[type="submit"]:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed;
    transform: none;
    animation: none;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Selected Center Badge */
.selected-center-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    overflow: hidden;
}

.selected-center-badge .badge-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.selected-center-badge .badge-icon {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.selected-center-badge .badge-text {
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* All badges use the same brain animation colors */
.selected-center-badge.center-კამარა,
.selected-center-badge.center-დაო,
.selected-center-badge.center-კერძო {
    background: rgba(30, 20, 50, 0.85);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Success Card */
.success-card {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Messages */
.message {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
}

.message.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.message.success {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.hidden {
    display: none !important;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.selected-center,
.selected-slot {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

/* ===================================
   Admin Styles
   =================================== */

.admin-body {
    background: #1a1a2e;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-card h1 {
    margin-bottom: 30px;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Admin Panel */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Dark Admin Theme (with brain animation) */
.admin-dark {
    background: #050510;
    position: relative;
    overflow-x: hidden;
}

.admin-dark .admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 20px;
}

.admin-dark .admin-header h1 {
    color: white;
    display: flex;
    align-items: center;
}

.admin-dark .logout-btn {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-dark .logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Admin Tabs - Glass Style */
.admin-dark .admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-dark .tab-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-dark .tab-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
    color: white;
}

.admin-dark .tab-btn.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Tab Content - Glass Style */
.admin-dark .tab-content {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    color: white;
}

.admin-dark .tab-content h2 {
    color: white;
    margin-bottom: 20px;
}

.admin-dark .tab-content.active {
    display: block;
}

/* Today's Overview - Glass Style */
.admin-dark .today-overview {
    background: rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Patient Cards, Slot Items - Glass Style */
.admin-dark .patient-card,
.admin-dark .patient-item,
.admin-dark .waiting-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-dark .patient-card:hover,
.admin-dark .patient-item:hover,
.admin-dark .waiting-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.4);
}

/* Calendar in Dark Mode */
.admin-dark .calendar-grid,
.admin-dark .slots-calendar-grid {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dark .calendar-day,
.admin-dark .slots-day-column {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.admin-dark .calendar-day.today,
.admin-dark .slots-day-column.today {
    background: rgba(102, 126, 234, 0.15);
}

/* Stats Cards - Glass */
.admin-dark .stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-dark .stat-card .stat-value {
    color: #a78bfa;
}

/* Form Inputs in Dark Mode */
.admin-dark input,
.admin-dark select,
.admin-dark textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.admin-dark input::placeholder,
.admin-dark textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-dark input:focus,
.admin-dark select:focus,
.admin-dark textarea:focus {
    border-color: rgba(102, 126, 234, 0.5);
    outline: none;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.2);
}

/* Buttons in Dark Mode */
.admin-dark .btn-primary,
.admin-dark button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.admin-dark .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* Loading text */
.admin-dark .loading {
    color: rgba(255, 255, 255, 0.6);
}

/* Messages */
.admin-dark .message.success {
    background: rgba(74, 222, 128, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.admin-dark .message.error {
    background: rgba(248, 113, 113, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
}

/* Admin Section (inside tabs) - glass style */
.admin-dark .admin-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.admin-dark .admin-section h3 {
    color: rgba(255, 255, 255, 0.9);
}

/* Center Tabs (filter buttons) - glass style */
.admin-dark .center-tabs {
    background: transparent;
}

.admin-dark .center-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.admin-dark .center-tab:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.5);
}

.admin-dark .center-tab.active {
    background: rgba(167, 139, 250, 0.3);
    border-color: rgba(167, 139, 250, 0.6);
    color: #fff;
}

/* Calendar Navigation - glass style */
.admin-dark .calendar-nav {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.admin-dark .calendar-nav span {
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Chart - glass style */
.admin-dark .stats-chart {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dark .chart-bar-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Add Slot Form inputs */
.admin-dark .add-slot-form select,
.admin-dark .add-slot-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Legacy admin styles (non-dark) */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    margin-bottom: 20px;
}

.admin-header h1 {
    color: white;
}

.logout-btn {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Calendar Sync Button */
.calendar-sync-btn {
    color: white;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.calendar-sync-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .calendar-sync-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.2);
}

.tab-btn.active {
    background: white;
    color: #1a1a2e;
}

.tab-content {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 25px;
}

.tab-content.active {
    display: block;
}

/* Admin Sections */
.admin-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.admin-section h3 {
    margin-bottom: 15px;
}

.add-slot-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.add-slot-form input,
.add-slot-form select {
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
}

.add-slot-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0;
}

.add-slot-form .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Patient Card */
.patient-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.patient-card h4 {
    margin-bottom: 10px;
}

.patient-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.patient-time .format-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 8px;
    color: #2e7d32;
}

.email-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-edit-email {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.btn-edit-email:hover {
    opacity: 1;
}

.patient-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-success {
    background: #16a34a;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-warning {
    background: #eab308;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5), 0 0 30px rgba(185, 28, 28, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Sessions Calendar Navigation */
.sessions-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: rgba(255,255,255,0.3);
}

.nav-arrow {
    font-size: 1.2rem;
}

.sessions-week-display {
    text-align: center;
}

.week-label {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Sessions Calendar Grid - Glassmorphism Style */
/* Sessions Calendar Container */
.sessions-calendar-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sessions-calendar-grid {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 800px;
}

.sessions-week-header {
    display: grid;
    grid-template-columns: repeat(7, minmax(115px, 1fr));
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.sessions-day-header {
    text-align: center;
    padding: 15px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sessions-day-header:last-child {
    border-right: none;
}

.sessions-day-header.today {
    background: rgba(255, 255, 255, 0.2);
}

.sessions-day-header .day-name {
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0.9;
}

.sessions-day-header .day-date {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 4px 0;
}

.sessions-day-header .day-count {
    font-size: 0.75rem;
    opacity: 0.8;
}

.sessions-day-header .day-count.empty {
    opacity: 0.5;
}

.sessions-week-body {
    display: grid;
    grid-template-columns: repeat(7, minmax(115px, 1fr));
    min-height: 300px;
    background: rgba(255, 255, 255, 0.05);
}

.sessions-day-column {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    min-height: 200px;
    background: transparent;
}

.sessions-day-column:last-child {
    border-right: none;
}

.sessions-day-column.today {
    background: rgba(102, 126, 234, 0.1);
}

/* Session Card - Glass Style */
.session-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.session-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.session-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.session-format {
    margin-bottom: 6px;
}

.format-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.format-badge.online {
    background: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.format-badge.offline {
    background: rgba(167, 139, 250, 0.3);
    color: #c4b5fd;
}

.session-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-contact {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    overflow: hidden;
}

.session-contact span {
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Email Toggle - Click to Expand */
.email-toggle {
    cursor: pointer;
    transition: all 0.2s;
    display: block !important;
    width: 100%;
}

.email-toggle .email-text {
    display: inline;
}

.email-toggle:hover {
    color: #a5b4fc;
}

.email-toggle.expanded {
    white-space: normal !important;
    overflow: visible !important;
}

.email-toggle.expanded .email-text {
    word-break: break-all;
}

.email-edit-btn {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
    margin-left: 4px;
    display: inline;
}

.email-edit-btn:hover {
    opacity: 1;
    color: #fbbf24;
}

.session-actions {
    display: flex;
    gap: 4px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sm.btn-success {
    background: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.btn-sm.btn-warning {
    background: rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}

.btn-sm.btn-danger {
    background: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.btn-sm:hover {
    transform: scale(1.05);
}

.btn-sm.btn-dao-calendar {
    background: rgba(118, 75, 162, 0.4);
    color: #d8b4fe;
}

.btn-sm.btn-dao-calendar:hover {
    background: rgba(118, 75, 162, 0.6);
}

.btn-sm.btn-time-change {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.btn-sm.btn-time-change:hover {
    background: rgba(59, 130, 246, 0.5);
}

.no-sessions {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 20px;
    font-size: 1.2rem;
}

/* Responsive for sessions calendar */
@media (max-width: 768px) {
    .sessions-calendar-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .sessions-calendar-grid {
        min-width: 1120px;
    }

    .sessions-week-header,
    .sessions-week-body {
        grid-template-columns: repeat(7, minmax(160px, 1fr));
    }

    .sessions-day-header {
        padding: 10px 8px;
    }

    .sessions-day-header .day-name {
        font-size: 0.75rem;
    }

    .sessions-day-header .day-date {
        font-size: 1.1rem;
    }

    .sessions-day-column {
        padding: 8px;
        min-height: 150px;
        min-width: 160px;
    }

    .session-card {
        padding: 10px;
        font-size: 0.85rem;
    }

    .session-name {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .session-time {
        font-size: 0.8rem;
    }

    .session-actions {
        flex-wrap: wrap;
        gap: 3px;
    }

    .session-actions .btn-sm {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .btn-nav .nav-text {
        display: none;
    }

    .sessions-calendar-nav {
        padding: 12px;
        gap: 10px;
    }

    .btn-nav {
        padding: 8px 12px;
    }

    .week-label {
        font-size: 0.95rem;
    }
}

/* Slot Item */
.slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
}

.slot-item.booked {
    background: #fef2f2;
    border-color: #fecaca;
}

.slot-item.open {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: #16a34a;
}

.notification.error {
    background: #dc2626;
}

@keyframes slideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Center Tabs for Slots */
.center-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.center-tab {
    padding: 10px 20px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.center-tab:hover {
    background: #f0f0ff;
}

.center-tab.active {
    background: #667eea;
    color: white;
}

.center-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 8px;
}

/* Cancel Page */
.cancel-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.cancel-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.cancel-card h2 {
    margin-bottom: 15px;
    color: #333;
}

.cancel-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

#cancel-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

#cancel-actions button {
    min-width: 150px;
}

/* Patient Card Improvements */
.date-header {
    color: #667eea;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.patient-time {
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.patient-card {
    position: relative;
}

/* Calendar Styles */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

.calendar-nav span {
    font-weight: bold;
    color: #333;
}

.calendar-grid {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.calendar-day-header {
    padding: 15px 5px;
    text-align: center;
}

.calendar-day-header.today {
    background: rgba(255,255,255,0.2);
}

.day-name {
    font-size: 0.85rem;
    opacity: 0.9;
}

.day-date {
    font-size: 1.5rem;
    font-weight: bold;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 300px;
}

.calendar-day {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px;
    min-height: 150px;
}

.calendar-day.today {
    background: #f0f7ff;
}

.calendar-day:last-child {
    border-right: none;
}

.calendar-event {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.event-time {
    font-weight: bold;
    display: block;
}

.event-name {
    display: block;
    opacity: 0.9;
}

.event-center {
    display: inline-block;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.25);
    font-weight: 500;
}

/* Center-specific colors for calendar events */
.calendar-event.center-კამარა {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.calendar-event.center-დაო {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.calendar-event.center-კერძო {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.calendar-event.center-კერძო .event-center {
    background: rgba(0, 0, 0, 0.15);
}

.no-events {
    color: #ccc;
    text-align: center;
    padding: 20px;
}

/* Statistics Styles */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    color: #666;
    margin-top: 5px;
}

.stats-chart {
    background: white;
    border-radius: 15px;
    padding: 20px;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    padding: 20px 0;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-bar {
    width: 40px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px 5px 0 0;
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.chart-label {
    margin-top: 10px;
    color: #666;
    font-size: 0.85rem;
}

/* New Statistics Page Styles - Glassmorphism */
.stats-glassmorphism {
    background: linear-gradient(135deg, #5a67d8 0%, #805ad5 50%, #d53f8c 100%);
    min-height: 100vh;
    padding: 20px;
    border-radius: 15px;
}

.stats-glassmorphism h2 {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 700;
}

.stats-section.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.stats-section.glass-card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.stats-section.glass-card h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.stats-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stats-period-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.stats-period-card.total-card {
    background: rgba(236, 72, 153, 0.5);
    border-color: rgba(236, 72, 153, 0.7);
}

.period-header {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.period-total {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.period-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.center-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
}

.center-stat.kamara {
    background: rgba(255, 193, 7, 0.3);
}

.center-stat.dao {
    background: rgba(76, 175, 80, 0.3);
}

.center-stat.private {
    background: rgba(33, 150, 243, 0.3);
}

.center-name {
    font-weight: 500;
}

.center-count {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Salary Section */
.salary-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(139, 195, 74, 0.1) 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.month-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.month-selector .nav-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.month-selector .nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.current-month {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    min-width: 180px;
    text-align: center;
}

.salary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.salary-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.salary-card:hover {
    transform: translateY(-5px);
}

.salary-card.kamara-salary {
    border-top: 4px solid #ffc107;
}

.salary-card.dao-salary {
    border-top: 4px solid #4caf50;
}

.salary-card.private-salary {
    border-top: 4px solid #2196f3;
}

.salary-card.total-salary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-top: none;
}

.salary-header {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.salary-card.total-salary .salary-header {
    color: white;
}

.salary-sessions {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 5px;
}

.salary-card.total-salary .salary-sessions {
    color: rgba(255, 255, 255, 0.9);
}

.salary-rate {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
}

.salary-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #4caf50;
}

.salary-card.kamara-salary .salary-amount {
    color: #ff9800;
}

.salary-card.dao-salary .salary-amount {
    color: #4caf50;
}

.salary-card.private-salary .salary-amount {
    color: #2196f3;
}

.salary-total-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

/* History Section */
.history-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.history-tab {
    padding: 10px 25px;
    border: 2px solid #667eea;
    background: transparent;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.history-tab.active, .history-tab:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.history-content {
    min-height: 200px;
}

.history-month-card, .history-week-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.history-period-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.history-period-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.history-period-dates {
    font-size: 0.9rem;
    color: #666;
}

.history-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.history-stat {
    text-align: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    min-width: 80px;
}

.history-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.history-stat-label {
    font-size: 0.8rem;
    color: #666;
}

.history-stat.kamara .history-stat-value { color: #ff9800; }
.history-stat.dao .history-stat-value { color: #4caf50; }
.history-stat.private .history-stat-value { color: #2196f3; }
.history-stat.total .history-stat-value { color: #667eea; }

.history-salary {
    background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
}

.history-salary-amount {
    font-size: 1.5rem;
    font-weight: bold;
}

.history-salary-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Glassmorphism History Cards */
.stats-glassmorphism .history-month-card,
.stats-glassmorphism .history-week-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-glassmorphism .history-period-name,
.stats-glassmorphism .history-period-dates {
    color: white;
}

.stats-glassmorphism .history-stat {
    background: rgba(255, 255, 255, 0.2);
}

.stats-glassmorphism .history-stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stats-glassmorphism .history-tab {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.stats-glassmorphism .history-tab.active,
.stats-glassmorphism .history-tab:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* History Pagination */
.history-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

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

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-page {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-page:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pagination-page.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.pagination-ellipsis {
    color: rgba(255, 255, 255, 0.6);
    padding: 0 5px;
}

/* Expected Salary Section */
.expected-salary-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.expected-salary-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.expected-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.expected-item.total {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

.expected-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.expected-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.expected-value.booked {
    color: #81d4fa;
}

/* Custom Salary Calculator Section */
.custom-salary-section {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(3, 169, 244, 0.1) 100%);
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.custom-salary-centers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-salary-row {
    display: grid;
    grid-template-columns: 80px 200px 100px 1fr;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.custom-salary-row.kamara {
    border-left: 4px solid #667eea;
}

.custom-salary-row.dao {
    border-left: 4px solid #f093fb;
}

.custom-salary-row.private {
    border-left: 4px solid #4facfe;
}

.custom-salary-row.total-row {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: none;
    border-radius: 12px;
}

.center-name-col {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.period-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.period-col label {
    color: #666;
    font-size: 0.9rem;
}

.period-day {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
}

.period-day:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.rate-col {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rate-col span {
    color: #666;
    font-weight: bold;
}

.rate-input {
    width: 70px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.rate-input:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.result-col {
    font-size: 0.95rem;
    color: #333;
}

.result-col .custom-sessions {
    font-weight: bold;
    color: #667eea;
}

.result-col .custom-rate {
    color: #4caf50;
}

.result-col strong {
    color: #333;
    font-size: 1.1rem;
}

.total-row .result-col strong {
    font-size: 1.3rem;
    color: #667eea;
}

/* Mobile responsive for custom salary calculator */
@media (max-width: 768px) {
    .custom-salary-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .period-col {
        justify-content: center;
    }

    .rate-col {
        justify-content: center;
    }

    .result-col {
        padding-top: 10px;
        border-top: 1px dashed #ddd;
    }

    .center-name-col {
        font-size: 1.1rem;
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
    }
}

/* No-Show Section */
.noshow-section {
    background: rgba(244, 67, 54, 0.15) !important;
    border-color: rgba(244, 67, 54, 0.3) !important;
}

.noshow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.noshow-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.noshow-card.total {
    background: rgba(244, 67, 54, 0.3);
    border-color: rgba(244, 67, 54, 0.5);
}

.noshow-header {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.noshow-count {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.noshow-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcdd2;
}

.noshow-card.total .noshow-amount {
    color: #ff8a80;
}

/* Chart Section */
.chart-section {
    background: rgba(255, 255, 255, 0.15) !important;
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    min-height: 300px;
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: 280px !important;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-item.kamara .legend-color {
    background: #ffc107;
}

.legend-item.dao .legend-color {
    background: #4caf50;
}

.legend-item.private .legend-color {
    background: #2196f3;
}

.legend-item.total .legend-color {
    background: #e91e63;
}

/* Glassmorphism Salary Cards */
.stats-glassmorphism .salary-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.stats-glassmorphism .salary-header {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.stats-glassmorphism .salary-sessions {
    color: white;
    font-weight: 600;
}

.stats-glassmorphism .salary-rate {
    color: rgba(255, 255, 255, 0.9);
}

.stats-glassmorphism .salary-amount {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stats-glassmorphism .salary-card.kamara-salary {
    border-top: 5px solid #ffc107;
    background: rgba(255, 193, 7, 0.25);
}

.stats-glassmorphism .salary-card.kamara-salary .salary-amount {
    color: #ffd54f;
}

.stats-glassmorphism .salary-card.dao-salary {
    border-top: 5px solid #4caf50;
    background: rgba(76, 175, 80, 0.25);
}

.stats-glassmorphism .salary-card.dao-salary .salary-amount {
    color: #81c784;
}

.stats-glassmorphism .salary-card.private-salary {
    border-top: 5px solid #2196f3;
    background: rgba(33, 150, 243, 0.25);
}

.stats-glassmorphism .salary-card.private-salary .salary-amount {
    color: #64b5f6;
}

.stats-glassmorphism .salary-card.total-salary {
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.stats-glassmorphism .salary-total-amount {
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.stats-glassmorphism .current-month {
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.stats-glassmorphism .month-selector .nav-btn {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.stats-glassmorphism .month-selector .nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .progress-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-line {
        display: none;
    }

    .center-cards {
        grid-template-columns: 1fr;
    }

    .admin-tabs {
        flex-direction: column;
    }

    .add-slot-form {
        flex-direction: column;
    }
}

/* ===================================
   About page - modern refined design
   =================================== */

.header-link {
  position: relative;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.18) 100%);
  border: 1px solid rgba(167, 139, 250, 0.35);
  transition: all 0.3s ease;
  animation: capsulePulse 3s ease-in-out infinite;
}

.header-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.8);
  animation: capsuleGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.header-link:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  border-color: rgba(167, 139, 250, 0.5);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

/* Neural Pulse Effect for The Capsule Link */
.header-link-capsule {
  position: relative;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.18) 0%, rgba(118, 75, 162, 0.18) 100%);
  border: 1px solid rgba(167, 139, 250, 0.35);
  transition: all 0.3s ease;
  animation: capsulePulse 3s ease-in-out infinite;
}

.header-link-capsule::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0.8);
  animation: capsuleGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.header-link-capsule:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  border-color: rgba(167, 139, 250, 0.5);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

@keyframes capsulePulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5), 0 0 35px rgba(118, 75, 162, 0.3);
  }
}

@keyframes capsuleGlow {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* Mobile responsive styles for header navigation */
@media (max-width: 600px) {
  header .subtitle {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    line-height: 2.2;
  }

  .header-link,
  .header-link-capsule {
    font-size: 0.8rem;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
  }
}

.about-header { padding: 18px 0 10px; }

.top-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.about-hero {
  display: flex;
  gap: 24px;
  align-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

@media (max-width: 600px) {
  .about-hero {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .about-hero .chips {
    justify-content: center;
  }
}



.about-name {
  color: white;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.about-hero-text {
  flex: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.95);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.chip:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}


.clean-list {
  margin-top: 10px;
  padding-left: 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
}

.about-paragraph {
  color: rgba(255,255,255,0.92);
  line-height: 1.8;
  margin-top: 10px;
}

.footer-note {
  margin: 16px 0 10px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  font-size: 13px;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.16);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-avatar--lg {
  width: 160px;
  height: 160px;
  border-radius: 28px;
}

.about-card h2,
.about-card h3 {
  color: #fff;
  margin: 0 0 10px 0;
}

.about-card h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin-top: 10px;
  background: rgba(255,255,255,0.28);
  border-radius: 999px;
}

.about-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 8px;
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
}

.about-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

/* ===================================
   Consent page styles
   =================================== */

.consent-hero {
  text-align: center;
  padding: 24px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  backdrop-filter: blur(12px);
}

.consent-title {
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.consent-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 12px;
}

.consent-author {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-style: italic;
}

.consent-intro {
  font-size: 15px;
  text-align: center;
}

.consent-note {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-top: -5px;
  margin-bottom: 10px;
}

.consent-confirmation {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
  text-align: center;
}

/* Consent checkbox in booking form */
.consent-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px solid #e9ecef;
}

.consent-checkbox-wrapper input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #764ba2;
}

.consent-checkbox-wrapper label {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  cursor: pointer;
}

.consent-checkbox-wrapper a {
  color: #764ba2;
  text-decoration: underline;
  font-weight: 500;
}

.consent-checkbox-wrapper a:hover {
  color: #667eea;
}

/* ===================================
   Slot Filters
   =================================== */

.slot-filters {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  min-width: 70px;
}

.filter-btn {
  padding: 8px 14px;
  border: 2px solid #e9ecef;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  color: #666;
}

.filter-btn:hover {
  border-color: #764ba2;
  color: #764ba2;
}

.filter-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: white;
}

/* ===================================
   Calendar-Style Slots View
   =================================== */

.calendar-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
}

.date-card {
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.date-card:hover {
  border-color: #667eea;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
}

.date-card.today {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  border-color: #667eea;
}

.date-card .date-header {
  padding: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.date-card.today .date-header {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.date-info {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}

.date-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.date-month {
  font-size: 1rem;
  opacity: 0.9;
}

.date-weekday {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.slot-count {
  font-size: 0.8rem;
  opacity: 0.8;
}

.today-badge {
  display: inline-block;
  background: rgba(255,255,255,0.3);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  margin-left: 5px;
}

.time-slots {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.time-slots .slot-btn {
  width: 100%;
  text-align: center;
}

/* ===================================
   Confirmation Page Styles
   =================================== */

.confirmation-card {
  max-width: 500px;
  margin: 0 auto;
}

.booking-details {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
  gap: 10px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}

.detail-value {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  word-break: break-all;
  overflow-wrap: break-word;
  max-width: 60%;
}

.confirmation-note {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.confirmation-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.confirmation-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5), 0 0 40px rgba(118, 75, 162, 0.3);
}

/* Add to Calendar Section */
.add-to-calendar-section {
  margin: 25px 0;
  padding: 20px;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.calendar-section-title {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
  font-weight: 500;
}

.calendar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.calendar-btn svg {
  flex-shrink: 0;
}

.calendar-btn.google-calendar {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
  color: white;
}

.calendar-btn.google-calendar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

.calendar-btn.apple-calendar {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: white;
}

.calendar-btn.apple-calendar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.calendar-btn.other-calendar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.calendar-btn.other-calendar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

@media (max-width: 480px) {
  .calendar-buttons {
    flex-direction: column;
  }

  .calendar-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Responsive for filters */
@media (max-width: 768px) {
  .filter-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-label {
    margin-bottom: 5px;
  }

  .calendar-slots {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Admin Slots Calendar View
   =================================== */

.slots-calendar-nav {
  margin-top: 15px;
}

.slots-calendar-grid {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slots-calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.slots-day-header {
  padding: 15px 5px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.slots-day-header:last-child {
  border-right: none;
}

.slots-day-header.today {
  background: rgba(255,255,255,0.2);
}

.slots-day-name {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.slots-day-date {
  font-size: 1.5rem;
  font-weight: bold;
}

.slots-calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 350px;
}

.slots-day-column {
  border-right: 1px solid #eee;
  padding: 10px;
  min-height: 200px;
  background: white;
}

.slots-day-column:last-child {
  border-right: none;
}

.slots-day-column.today {
  background: #f0f7ff;
}

.slots-day-column.past {
  background: #fafafa;
  opacity: 0.7;
}

.slot-calendar-item {
  position: relative;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.slot-calendar-item.slot-open {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 1px solid #34d399;
}

.slot-calendar-item.slot-open:hover {
  box-shadow: 0 2px 8px rgba(52, 211, 153, 0.3);
}

.slot-calendar-item.slot-booked {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fbbf24;
}

.slot-time {
  font-weight: 700;
  color: #333;
  font-size: 0.95rem;
}

.slot-center-label {
  display: inline-block;
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.slot-status-badge {
  font-size: 0.75rem;
  color: #666;
}

.slot-calendar-item.slot-open .slot-status-badge {
  color: #059669;
}

.slot-calendar-item.slot-booked .slot-status-badge {
  color: #d97706;
}

.slot-delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border: none;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.slot-calendar-item:hover .slot-delete-btn {
  opacity: 1;
}

.slot-delete-btn:hover {
  background: #b91c1c;
  transform: scale(1.1);
}

/* Force Free Button (for orphaned booked slots) */
.btn-force-free {
  margin-top: 5px;
  padding: 4px 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-force-free:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-force-free:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-slots {
  color: #ccc;
  text-align: center;
  padding: 30px 10px;
  font-size: 1.2rem;
}

/* Duplicate Day Button */
.duplicate-day-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.duplicate-day-btn:hover {
  background: #667eea;
  color: white;
  opacity: 1;
  transform: scale(1.1);
}

/* Format Day Button */
.format-day-btn {
  position: absolute;
  top: 5px;
  right: 30px;
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(118, 75, 162, 0.2);
  color: #764ba2;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.format-day-btn:hover {
  background: #764ba2;
  color: white;
  opacity: 1;
  transform: scale(1.1);
}

/* Week Format Button */
.btn-week-format {
  margin-left: 15px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-week-format:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Format Dropdown */
.format-dropdown {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 10px;
  min-width: 180px;
  animation: dropdownFadeIn 0.2s ease;
}

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

.format-dropdown-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}

.format-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #333;
  transition: all 0.2s ease;
}

.format-option:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.format-option.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Format Confirmation Modal */
.format-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.format-confirm-content {
  background: white;
  border-radius: 16px;
  padding: 25px;
  max-width: 350px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

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

.format-confirm-content h3 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.2rem;
}

.format-confirm-content p {
  margin: 0 0 20px 0;
  color: #555;
}

.format-confirm-option {
  margin-bottom: 20px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.format-confirm-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #333;
}

.format-confirm-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #667eea;
}

.format-confirm-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.format-confirm-buttons .btn-cancel {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: white;
  color: #666;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.format-confirm-buttons .btn-cancel:hover {
  background: #f5f5f5;
}

.format-confirm-buttons .btn-confirm {
  padding: 10px 20px;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.format-confirm-buttons .btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Editable format badge */
.format-badge.editable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.format-badge.editable:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Editable Format Icon */
.slot-format-icon.editable {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.slot-format-icon.editable:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(1.2);
}

/* Single Slot Duplicate Button */
.btn-duplicate-slot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(102, 126, 234, 0.15);
  color: #667eea;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
}

.slot-calendar-item:hover .btn-duplicate-slot {
  opacity: 1;
}

.btn-duplicate-slot:hover {
  background: #667eea;
  color: white;
  transform: scale(1.1);
}

.slot-calendar-item {
  position: relative;
}

.slots-day-header {
  position: relative;
}

/* Responsive for slots calendar */
@media (max-width: 900px) {
  .slots-calendar-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .slots-calendar-grid {
    min-width: 840px;
  }

  .slots-calendar-header,
  .slots-calendar-body {
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    min-width: 840px;
  }

  /* Main patient calendar horizontal scroll */
  .calendar-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .calendar-grid {
    min-width: 840px;
  }

  .calendar-header,
  .calendar-body {
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    min-width: 840px;
  }
}

@media (max-width: 600px) {
  .slots-calendar-grid {
    min-width: 700px;
  }

  .slots-calendar-header,
  .slots-calendar-body {
    grid-template-columns: repeat(7, minmax(100px, 1fr));
    min-width: 700px;
  }

  .slots-day-column {
    min-height: 120px;
  }

  /* Main patient calendar on mobile */
  .calendar-grid {
    min-width: 700px;
  }

  .calendar-header,
  .calendar-body {
    grid-template-columns: repeat(7, minmax(100px, 1fr));
    min-width: 700px;
  }

  .calendar-day {
    min-height: 100px;
  }
}

/* Touch drag visual feedback */
.touch-dragging {
  opacity: 0.6;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.drag-over {
  background: rgba(102, 126, 234, 0.15) !important;
  border: 2px dashed #667eea !important;
}

/* ===================================
   Today's Overview Section
   =================================== */

.today-overview {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

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

.today-header h2 {
  margin: 0;
  font-size: 1.3rem;
}

.today-date {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.today-appointments {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
}

.today-empty {
  text-align: center;
  padding: 20px;
  opacity: 0.9;
  font-size: 1rem;
}

.today-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.today-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 15px;
  position: relative;
  transition: all 0.2s ease;
}

.today-item:hover {
  background: rgba(255, 255, 255, 0.25);
}

.today-item.next-appointment {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.today-time {
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 60px;
}

.today-item.next-appointment .today-time {
  color: #667eea;
}

.today-details {
  flex: 1;
}

.today-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
}

.today-center {
  font-size: 0.8rem;
  color: #667eea;
  margin-bottom: 5px;
  font-weight: 500;
}

.today-contact {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.today-item.next-appointment .today-contact {
  color: #666;
}

.next-badge {
  background: #22c55e;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.today-summary {
  text-align: right;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Today's Action Buttons */
.today-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.today-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.today-btn:hover {
  transform: scale(1.1);
}

.today-btn-success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.today-btn-success:hover {
  background: #16a34a;
}

.today-btn-warning {
  background: rgba(234, 179, 8, 0.9);
  color: white;
}

.today-btn-warning:hover {
  background: #ca8a04;
}

.today-btn-danger {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

.today-btn-danger:hover {
  background: #dc2626;
}

/* For highlighted (next) appointment - darker buttons */
.today-item.next-appointment .today-btn-success {
  background: #16a34a;
}

.today-item.next-appointment .today-btn-warning {
  background: #eab308;
}

.today-item.next-appointment .today-btn-danger {
  background: #ef4444;
}

/* Responsive for today's overview */
@media (max-width: 600px) {
  .today-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .today-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .today-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    margin-top: 5px;
  }

  .next-badge {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}

/* ===================================
   Recurring Booking UI
   =================================== */

.recurring-section {
  margin-top: 24px;
  padding: 20px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.recurring-section h3 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recurring-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.recurring-slots-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.recurring-slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.recurring-slot-item:hover {
  border-color: var(--primary);
}

.recurring-slot-item.selected {
  background: rgba(102, 126, 234, 0.1);
  border-color: var(--primary);
}

.recurring-slot-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  accent-color: var(--primary);
}

.recurring-slot-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.recurring-slot-date {
  font-weight: 600;
  color: var(--text-dark);
}

.recurring-slot-time {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.recurring-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-book-recurring {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-book-recurring:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

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

.recurring-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 8px;
}

/* Booking page recurring - Exact about-tab style */
body.booking-page .recurring-section {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.booking-page .recurring-section h4 {
  color: white !important;
}

body.booking-page .recurring-section p,
body.booking-page .recurring-info {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page .recurring-slot-item {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.booking-page .recurring-slot-item:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(102, 126, 234, 0.4) !important;
}

body.booking-page .recurring-slot-item.selected {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(102, 126, 234, 0.4) !important;
}

body.booking-page .recurring-slot-text {
  color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page .recurring-week-badge {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
}

body.booking-page .btn-recurring {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  margin-top: 12px;
}

body.booking-page .btn-recurring:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(102, 126, 234, 0.4) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(102, 126, 234, 0.2);
}

body.booking-page .btn-recurring:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body.booking-page .recurring-loading {
  color: rgba(255, 255, 255, 0.8) !important;
  text-align: center;
  padding: 16px;
}

body.booking-page .recurring-success {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

body.booking-page .recurring-hint {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 8px;
}

/* No recurring slots message */
.recurring-none {
  text-align: center;
  padding: 16px;
  color: var(--text-muted);
  font-style: italic;
}

/* Recurring booking success */
.recurring-success {
  margin-top: 16px;
  padding: 16px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.recurring-success h4 {
  color: #16a34a;
  margin-bottom: 8px;
}

.recurring-success ul {
  list-style: none;
  padding: 0;
}

.recurring-success li {
  padding: 4px 0;
  color: var(--text-dark);
}

.recurring-success li::before {
  content: "✓ ";
  color: #16a34a;
}

.recurring-calendar-buttons {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(34, 197, 94, 0.2);
  text-align: center;
}

.btn-calendar-small {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
}

.btn-calendar-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-calendar-small.btn-google {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
}

.btn-calendar-small.btn-google:hover {
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.4);
}

body.booking-page .btn-calendar-small {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

/* ===================================
   About Page - Dark Theme with Brain
   =================================== */

body.about-page {
  background: #050510;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.about-page .brain-background {
  opacity: 1;
}

.about-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.back-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(102, 126, 234, 0.4);
  color: white;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

/* Profile Section */
.profile-section {
  text-align: center;
  margin-bottom: 50px;
}

.profile-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  color: white;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.profile-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.profile-chip {
  background: rgba(102, 126, 234, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(102, 126, 234, 0.3);
  backdrop-filter: blur(10px);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
              0 0 25px rgba(102, 126, 234, 0.3);
}

.social-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: white;
}

.social-spotify:hover {
  background: #1DB954;
  border-color: transparent;
  color: white;
}

/* About Tabs Grid */
.about-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.about-tab {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.about-tab:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 30px rgba(102, 126, 234, 0.2);
}

.tab-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.about-tab h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.about-tab p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
  text-align: justify;
}

.about-tab p:last-of-type {
  margin-bottom: 0;
}

.about-tab ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-tab li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-tab li:last-child {
  border-bottom: none;
}

.about-tab li b {
  color: rgba(102, 126, 234, 0.9);
  display: block;
  margin-bottom: 2px;
}

.research-project {
  font-style: italic;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
}

.tab-link {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.tab-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Full-width NeuroStat Tab */
.about-tabs-center {
  margin-top: 20px;
}

.about-tab--featured {
  width: 100%;
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
  text-align: center;
}

.about-tab--featured p {
  text-align: center;
}

.about-tab--featured .tab-link {
  display: inline-block;
  margin-top: 20px;
}

/* Responsive About Page */
@media (max-width: 768px) {
  .profile-name {
    font-size: 1.8rem;
  }

  .profile-photo {
    width: 130px;
    height: 130px;
  }

  .about-tabs {
    grid-template-columns: 1fr;
  }

  .about-tab {
    padding: 22px;
  }

  .profile-chip {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* ===================================
   No Slots Message (Booking Page)
   =================================== */

.no-slots-message {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  color: #ffffff !important;
  margin: 20px 0;
}

.no-slots-message .no-slots-emoji {
  font-size: 3rem;
  margin-bottom: 15px;
}

.no-slots-message .no-slots-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff !important;
  margin-bottom: 15px;
}

.no-slots-message p {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.7;
  margin: 12px 0;
}

.no-slots-message .no-slots-thanks {
  color: #a5b4fc !important;
  font-weight: 500;
  margin-top: 20px;
}

.no-slots-message strong {
  color: #ffffff !important;
}

/* Button to check private slots */
.btn-check-private {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 15px 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-check-private:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* Booking page waiting list form styling */
.booking-page #waiting-list-form {
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 25px;
  margin-top: 20px;
}

.booking-page #waiting-list-form h3 {
  color: #ffffff !important;
  margin-bottom: 10px;
}

.booking-page #waiting-list-form p {
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 20px;
}

.booking-page #waiting-list-form input,
.booking-page #waiting-list-form textarea {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-radius: 10px;
  padding: 12px 15px;
  width: 100%;
  margin-bottom: 12px;
  font-size: 1rem;
}

.booking-page #waiting-list-form input::placeholder,
.booking-page #waiting-list-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.booking-page #waiting-list-form input:focus,
.booking-page #waiting-list-form textarea:focus {
  outline: none;
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.booking-page #waiting-list-form .btn-book {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.booking-page #waiting-list-form .btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* ===================================
   Bulk Actions & Selection (Admin)
   =================================== */

.bulk-actions-bar {
  display: none;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  margin-bottom: 15px;
  animation: slideDown 0.3s ease;
}

.bulk-actions-bar.visible {
  display: flex;
}

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

.selected-count {
  color: white;
  font-weight: 600;
}

.btn-bulk-delete {
  background: #ef4444;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-bulk-delete:hover {
  background: #dc2626;
  transform: scale(1.05);
}

.btn-bulk-clear {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-bulk-clear:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slots-day-actions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.select-day-btn {
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.select-day-btn:hover {
  background: #667eea;
  color: white;
  opacity: 1;
}

.slot-checkbox {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #667eea;
}

.slot-calendar-item {
  position: relative;
}

.slot-calendar-item.selected {
  background: rgba(102, 126, 234, 0.3) !important;
  border-color: #667eea !important;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

/* ===================================
   Drag and Drop Styles
   =================================== */

.slot-calendar-item[draggable="true"],
.calendar-event[draggable="true"] {
  cursor: grab;
}

.slot-calendar-item[draggable="true"]:active,
.calendar-event[draggable="true"]:active {
  cursor: grabbing;
}

.slot-calendar-item.dragging,
.calendar-event.dragging {
  opacity: 0.5;
  transform: scale(0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slots-day-column.drag-over,
.calendar-day.drag-over {
  background: rgba(102, 126, 234, 0.15) !important;
  border: 2px dashed #667eea !important;
  border-radius: 8px;
}

/* Calendar event draggable */
.calendar-event {
  transition: all 0.2s ease;
}

.calendar-event:hover {
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Slot Unavailable Message
   =================================== */

.slot-unavailable-message {
  max-width: 450px;
  margin: 20px auto;
}

.stay-waiting-option {
  background: rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  padding: 15px 20px;
  margin: 20px 0;
}

.stay-waiting-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.stay-waiting-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #667eea;
  cursor: pointer;
}

.stay-waiting-label span {
  flex: 1;
}

/* ============================================
   ARTICLES ADMIN STYLES
   ============================================ */

.article-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.article-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-form label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-form input,
.article-form textarea,
.article-form select {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.95rem;
}

.article-form input::placeholder,
.article-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.article-form input:focus,
.article-form textarea:focus,
.article-form select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.article-form .form-row.checkboxes {
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
}

.article-form .checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #667eea;
}

/* Trigger Stats */
.trigger-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.trigger-stat {
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
}

.trigger-stat.threat { color: #FF4B4B; }
.trigger-stat.executive { color: #00FFFF; }
.trigger-stat.reward { color: #FFD700; }
.trigger-stat.attachment { color: #FF00FF; }

/* Articles Table */
.articles-table {
  overflow-x: auto;
}

.articles-table table {
  width: 100%;
  border-collapse: collapse;
}

.articles-table th,
.articles-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.articles-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.articles-table td {
  color: rgba(255, 255, 255, 0.9);
}

.articles-table td.published {
  color: #4CAF50;
}

.articles-table td.draft {
  color: #FFC107;
}

.articles-table .btn-delete {
  background: rgba(255, 75, 75, 0.2);
  border: 1px solid rgba(255, 75, 75, 0.3);
  color: #FF4B4B;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
}

.articles-table .btn-delete:hover {
  background: rgba(255, 75, 75, 0.4);
}

.articles-table .btn-edit {
  background: rgba(102, 126, 234, 0.2);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 5px;
}

.articles-table .btn-edit:hover {
  background: rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
  .article-form .form-row {
    grid-template-columns: 1fr;
  }

  .trigger-stats {
    gap: 10px;
  }
}

/* Markdown Toolbar */
.markdown-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(30, 30, 50, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  margin-bottom: -1px;
}

.markdown-toolbar button {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.markdown-toolbar button:hover {
  background: rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.5);
}

.markdown-toolbar button:active {
  transform: scale(0.95);
}

.toolbar-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
  align-self: center;
}

.markdown-toolbar + textarea {
  border-radius: 0 0 8px 8px;
}

/* Exclude from Stats Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content.exclude-modal {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    border-radius: 16px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content.exclude-modal h3 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 1.3rem;
}

.modal-content.exclude-modal p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.exclude-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.exclude-checkbox-label:hover {
    background: rgba(255, 193, 7, 0.25);
}

.exclude-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffc107;
}

.exclude-checkbox-label span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-buttons .btn-cancel {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.modal-buttons .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-buttons .btn-confirm {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-buttons .btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* ===================================
   Credits Footer
   =================================== */

.credits-footer {
    margin-top: 60px;
    padding: 30px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px 20px 0 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.5s ease,
                box-shadow 0.5s ease;
}

.credits-footer:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 -4px 20px rgba(102, 126, 234, 0.08),
                0 -1px 8px rgba(167, 139, 250, 0.06);
}

.credits-footer .credits-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.credits-footer .credits-name {
    font-family: 'Orbitron', 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    padding-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.5)) drop-shadow(0 0 20px rgba(118, 75, 162, 0.3));
    position: relative;
}

.credits-footer .credits-name-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
}

.credits-footer .credits-circuit-line {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 1px;
    margin: 0 auto;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent 0%, #667eea 20%, #a78bfa 50%, #667eea 80%, transparent 100%);
    box-shadow: 0 0 4px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: visible;
}

.credits-footer .credits-circuit-line::before,
.credits-footer .credits-circuit-line::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4px;
    line-height: 1;
    color: #7b93f0;
    text-shadow: 0 0 3px rgba(102, 126, 234, 0.7);
}

.credits-footer .credits-circuit-line::before {
    left: 35px;
}

.credits-footer .credits-circuit-line::after {
    right: 35px;
}

.credits-footer .credits-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.credits-footer .credits-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.credits-footer .credits-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Admin header "By Pikria" */
.admin-header .brand-subtitle {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    vertical-align: middle;
}

/* ===================================
   Mobile Responsive Fixes
   =================================== */

@media (max-width: 768px) {
    /* 1. Admin Header - Stack vertically on mobile */
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
    }

    .admin-header h1 {
        font-size: 1.5rem;
    }

    .admin-header > div {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .calendar-sync-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .logout-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* 2. Calendar events - text overflow fix */
    .calendar-event {
        overflow: hidden;
        word-break: break-word;
    }

    .event-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .event-time {
        white-space: nowrap;
    }

    .event-center {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Calendar grid horizontal scroll */
    .calendar-container,
    .admin-calendar-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .calendar-grid {
        min-width: 900px;
    }

    .calendar-header,
    .calendar-body {
        grid-template-columns: repeat(7, minmax(130px, 1fr));
    }

    .calendar-day {
        min-width: 130px;
        padding: 8px;
        overflow: hidden;
    }

    /* 3. Slots calendar - text overflow fix */
    .slots-calendar-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .slots-calendar-grid {
        min-width: 900px;
    }

    .slots-calendar-header,
    .slots-calendar-body {
        grid-template-columns: repeat(7, minmax(130px, 1fr));
    }

    .slots-day-column {
        min-width: 130px;
        padding: 8px;
        overflow: hidden;
    }

    .slot-calendar-item {
        overflow: hidden;
        word-break: break-word;
    }

    .slot-center-label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
    }

    .slot-status-badge {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 4. Sessions management - email/text overflow fix */
    .session-card {
        overflow: hidden;
        word-break: break-word;
    }

    .session-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
    }

    .session-phone,
    .session-email {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
        font-size: 0.75rem;
    }

    .session-info {
        overflow: hidden;
    }

    .session-info span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }

    /* Session actions buttons */
    .session-actions {
        flex-wrap: wrap;
        gap: 3px;
        margin-top: 5px;
    }

    .session-actions .btn-sm {
        padding: 4px 6px;
        font-size: 0.7rem;
    }

    /* 5. Calendar navigation fix (both regular and slots) */
    .calendar-nav {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        padding: 15px 10px;
    }

    .calendar-nav .btn-secondary {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex: 0 0 auto;
    }

    .calendar-nav > span {
        flex: 0 0 100%;
        text-align: center;
        order: -1;
        margin-bottom: 5px;
    }

    .btn-week-format {
        flex: 0 0 100%;
        margin-left: 0 !important;
        margin-top: 10px;
        text-align: center;
    }

    /* 6. Completed sessions table - horizontal scroll */
    #completed-sessions-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #completed-sessions-list .data-table {
        min-width: 700px;
    }

    #completed-sessions-list table {
        min-width: 700px;
    }

    #completed-sessions-list th,
    #completed-sessions-list td {
        padding: 10px 8px !important;
        font-size: 0.85rem;
    }

    /* Tab content padding fix for mobile */
    .tab-content {
        padding: 15px !important;
        overflow-x: auto;
    }

    .admin-section {
        overflow-x: auto;
    }
}

/* ===================================
   Language Toggle Button
   =================================== */

.lang-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
}

.lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-toggle-btn:active {
    transform: translateY(0);
}

/* Light background pages */
body:not(.booking-page):not(.about-page):not(.cortex-page) .lang-toggle-btn {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

body:not(.booking-page):not(.about-page):not(.cortex-page) .lang-toggle-btn:hover {
    background: rgba(102, 126, 234, 0.2);
}

/* Mobile positioning */
@media (max-width: 768px) {
    .lang-toggle-btn {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ===================================
   PERSONALIZED WELCOME TOAST
   =================================== */

.welcome-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
}

.welcome-toast.show {
    transform: translateX(0);
}

.welcome-wave {
    font-size: 28px;
    animation: wave 1s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.welcome-text {
    font-size: 15px;
}

.welcome-text strong {
    color: #fbbf24;
}

@media (max-width: 768px) {
    .welcome-toast {
        top: 70px;
        right: 10px;
        left: 10px;
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ===================================
   COMMAND PALETTE (⌘K)
   =================================== */

.command-palette {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    justify-content: center;
    padding-top: 15vh;
}

.command-palette.show {
    display: flex;
}

.command-palette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.command-palette-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: commandSlideIn 0.2s ease-out;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
}

@keyframes commandSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.command-palette-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    gap: 12px;
}

.command-search {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
    color: #1f2937;
}

.command-search::placeholder {
    color: #9ca3af;
}

.command-shortcut {
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.command-list {
    overflow-y: auto;
    max-height: calc(60vh - 120px);
}

.command-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    gap: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
}

.command-item:hover {
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 100%);
}

.command-item.hidden {
    display: none;
}

.command-icon {
    font-size: 22px;
    width: 32px;
    text-align: center;
}

.command-text {
    flex: 1;
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

.command-hint {
    font-size: 12px;
    color: #9ca3af;
}

.command-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #6b7280;
}

/* ===================================
   MOOD CHECK-IN TRACKER
   =================================== */

.mood-checkin-section {
    margin: 24px 0;
    padding: 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.mood-checkin-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mood-icon {
    font-size: 24px;
}

.mood-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.mood-options {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.mood-btn {
    flex: 1;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mood-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.mood-btn.selected {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.5) 0%, rgba(59, 130, 246, 0.5) 100%);
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4), 0 0 40px rgba(147, 51, 234, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mood-btn.selected .mood-label {
    color: white;
}

.mood-btn.pulse {
    animation: moodPulse 0.3s ease;
}

@keyframes moodPulse {
    0%, 100% { transform: translateY(-3px) scale(1); }
    50% { transform: translateY(-3px) scale(1.1); }
}

.mood-emoji {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease, filter 0.3s ease;
}

.mood-emoji svg {
    width: 32px;
    height: 32px;
    stroke: white !important;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.8));
    transition: all 0.3s ease;
}

.mood-btn:hover .mood-emoji svg {
    stroke: white !important;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.9)) drop-shadow(0 0 20px rgba(167, 139, 250, 0.6));
    transform: scale(1.1);
}

.mood-btn.selected .mood-emoji svg {
    stroke: white;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.9)) drop-shadow(0 0 20px rgba(167, 139, 250, 0.7)) drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
    transform: scale(1.15);
}

.mood-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-align: center;
}

@media (max-width: 480px) {
    .mood-options {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }

    .mood-btn {
        min-width: unset;
        min-height: 80px;
        padding: 8px 4px;
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Last 2 items centered: offset by half column */
    .mood-btn:nth-child(4) {
        grid-column: 2 / 4;
    }

    .mood-btn:nth-child(5) {
        grid-column: 4 / 6;
    }

    .mood-emoji {
        width: 26px;
        height: 26px;
    }

    .mood-emoji svg {
        width: 22px;
        height: 22px;
    }

    .mood-label {
        font-size: 9px;
        line-height: 1.2;
        white-space: nowrap;
    }
}

/* ===================================
   SESSION PREPARATION TIPS MODAL
   =================================== */

.prep-tips-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.prep-tips-modal.show {
    display: flex;
}

.prep-tips-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.prep-tips-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: tipsSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes tipsSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.prep-tips-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px;
    text-align: center;
}

.prep-tips-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.prep-tips-header h3 {
    color: white;
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

.prep-tips-list {
    padding: 24px;
}

.prep-tip {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.prep-tip:last-child {
    border-bottom: none;
}

.tip-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.tip-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    padding-top: 4px;
}

.prep-tips-close {
    display: block;
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    padding: 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
}

.prep-tips-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

/* ===================================
   POST-SESSION FEEDBACK
   =================================== */

.feedback-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
}

.feedback-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.feedback-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
}

.feedback-header h2 {
    color: white;
    font-size: 22px;
    margin: 0;
}

.feedback-body {
    padding: 30px;
}

.rating-section {
    margin-bottom: 30px;
}

.rating-question {
    font-size: 16px;
    color: #374151;
    margin-bottom: 20px;
    text-align: center;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star-btn {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #d1d5db;
}

.star-btn:hover,
.star-btn.active {
    color: #fbbf24;
    transform: scale(1.15);
}

.feedback-comment {
    margin-bottom: 24px;
}

.feedback-comment label {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.feedback-comment textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    resize: vertical;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
    transition: border-color 0.2s ease;
}

.feedback-comment textarea:focus {
    outline: none;
    border-color: #764ba2;
}

.feedback-actions {
    display: flex;
    gap: 12px;
}

.feedback-submit {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
}

.feedback-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.feedback-skip {
    padding: 14px 24px;
    background: #f3f4f6;
    border: none;
    border-radius: 12px;
    color: #6b7280;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
}

.feedback-skip:hover {
    background: #e5e7eb;
}

.feedback-thanks {
    text-align: center;
    padding: 40px;
}

.feedback-thanks-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.feedback-thanks h3 {
    color: #10b981;
    font-size: 20px;
    margin: 0;
}

/* ===================================
   MOOD BADGE IN ADMIN
   =================================== */

.mood-badge {
    display: inline-block;
    font-size: 16px;
    margin-left: 6px;
    vertical-align: middle;
    cursor: help;
}

.session-time .mood-badge {
    font-size: 14px;
}

/* ===================================
   CAPSULE MOVIES ADMIN
   =================================== */

.capsule-movie-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.capsule-movie-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.capsule-movie-item.inactive {
    opacity: 0.6;
    border-left: 3px solid #ef4444;
}

.movie-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.movie-item-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.movie-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.movie-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}

.movie-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.movie-status.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.movie-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.movie-item-title .movie-year {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.movie-item-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.movie-item-director {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 0 0 8px 0;
}

.movie-item-therapeutic {
    font-size: 13px;
    color: #a78bfa;
    line-height: 1.5;
    margin: 0 0 15px 0;
    padding: 10px 12px;
    background: rgba(167, 139, 250, 0.1);
    border-radius: 8px;
    border-left: 3px solid #a78bfa;
}

.movie-item-therapeutic .therapeutic-icon {
    margin-right: 6px;
}

.movie-item-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-movie {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
}

.btn-movie.btn-edit {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.btn-movie.btn-edit:hover {
    background: rgba(59, 130, 246, 0.35);
}

.btn-movie.btn-toggle {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.btn-movie.btn-toggle:hover {
    background: rgba(245, 158, 11, 0.35);
}

.btn-movie.btn-delete {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.btn-movie.btn-delete:hover {
    background: rgba(239, 68, 68, 0.35);
}

/* Pagination */
.capsule-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.pagination-btn {
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(167, 139, 250, 0.2);
    color: #a78bfa;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(167, 139, 250, 0.35);
}

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

.pagination-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Category Checkboxes */
.category-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.category-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-checkbox:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-checkbox:has(input:checked) {
    background: rgba(167, 139, 250, 0.2);
    border-color: #a78bfa;
}

.category-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #a78bfa;
    cursor: pointer;
}

.category-checkbox .checkbox-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   BROADCAST SECTION MOBILE RESPONSIVE
   =================================== */

/* Broadcast Section Base Styles */
#broadcast-tab .admin-section {
    padding: 20px;
}

#broadcast-tab h2 {
    margin-bottom: 20px;
}

#broadcast-tab h3 {
    font-size: 16px;
}

/* Mobile Responsive for Broadcast */
@media (max-width: 900px) {
    /* Main broadcast grid - stack vertically */
    #broadcast-tab .admin-section > div[style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    /* Broadcast Tab Container */
    #broadcast-tab {
        padding: 10px;
    }

    #broadcast-tab h2 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 15px;
    }

    #broadcast-tab .admin-section {
        padding: 15px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    /* User Selection Tab Buttons */
    #broadcast-tab div[style*="display: flex"][style*="gap: 10px"][style*="margin-bottom: 15px"] {
        flex-direction: column !important;
    }

    #broadcast-tab-all,
    #broadcast-tab-newsletter {
        width: 100% !important;
        padding: 14px !important;
        font-size: 14px !important;
    }

    /* Select All Checkbox Area */
    #broadcast-tab label[style*="display: flex"][style*="align-items: center"][style*="gap: 10px"] {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }

    #broadcast-selected-count {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
        text-align: center !important;
    }

    /* User List Container */
    #broadcast-users-list {
        max-height: 300px !important;
        padding: 8px !important;
    }

    /* Email Content Section */
    #broadcast-subject,
    #broadcast-body {
        font-size: 16px !important;
        padding: 14px !important;
    }

    #broadcast-body {
        min-height: 150px !important;
    }

    /* Button Link and Text Grid */
    #broadcast-tab div[style*="grid-template-columns: 2fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    #broadcast-link,
    #broadcast-button-text {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
    }

    /* Preview & Send Buttons */
    #broadcast-tab div[style*="display: flex"][style*="gap: 15px"]:has(button[onclick*="preview"]) {
        flex-direction: column !important;
    }

    #broadcast-tab button[onclick*="previewBroadcastEmail"],
    #broadcast-tab button[onclick*="sendBroadcastEmails"] {
        width: 100% !important;
        padding: 16px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }

    /* Newsletter Section Header */
    #broadcast-tab h3[style*="display: flex"] {
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    #broadcast-tab h3 button[onclick*="loadNewsletterSubscribers"],
    #broadcast-tab h3 button[onclick*="loadUnsubscribedUsers"],
    #broadcast-tab h3 button[onclick*="loadBroadcastHistory"] {
        margin-left: 0 !important;
        width: 100% !important;
        margin-top: 10px !important;
        padding: 12px !important;
    }

    /* Newsletter Search and Add Form */
    #broadcast-tab div[style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 15px"][style*="margin-bottom: 15px"] {
        flex-direction: column !important;
        gap: 12px !important;
    }

    #newsletter-search {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
    }

    /* Add subscriber form row */
    #broadcast-tab div[style*="display: flex"][style*="gap: 8px"][style*="flex-wrap: wrap"]:has(#newsletter-add-email) {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #newsletter-add-email,
    #newsletter-add-name {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
    }

    #broadcast-tab button[onclick*="addNewsletterSubscriber"] {
        width: 100% !important;
        padding: 14px !important;
        font-size: 15px !important;
    }

    /* Newsletter Subscribers Container */
    #newsletter-subscribers-container,
    #newsletter-unsubscribed-container {
        max-height: 250px !important;
        padding: 12px !important;
    }

    /* Broadcast History Container */
    #broadcast-history-container {
        padding: 0 !important;
    }

    /* Broadcast History Cards */
    .broadcast-history-card {
        padding: 15px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
    }

    .broadcast-history-card > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .broadcast-history-card .subject-line {
        font-size: 14px !important;
        word-break: break-word !important;
    }

    /* Broadcast stats in history cards */
    .broadcast-history-card div[style*="display: flex"][style*="gap"] {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* Tip Box */
    #broadcast-tab div[style*="background: rgba(59, 130, 246, 0.1)"] {
        padding: 15px !important;
        font-size: 13px !important;
    }

    #broadcast-tab div[style*="background: rgba(59, 130, 246, 0.1)"] code {
        display: inline-block !important;
        margin-top: 4px !important;
    }

    /* User Info Box */
    #broadcast-user-info {
        text-align: center !important;
        padding: 12px !important;
    }

    /* Preview Modal */
    #broadcast-preview-modal .modal-content,
    #broadcast-details-modal .modal-content {
        max-width: 95% !important;
        margin: 10px !important;
        max-height: 90vh !important;
    }

    #broadcast-preview-content {
        padding: 15px !important;
    }

    /* Section Headers with count badges */
    #newsletter-count,
    #unsubscribed-count {
        font-size: 12px !important;
        padding: 3px 10px !important;
    }
}

@media (max-width: 480px) {
    #broadcast-tab h2 {
        font-size: 1.15rem;
    }

    #broadcast-tab .admin-section {
        padding: 12px;
        border-radius: 12px;
    }

    #broadcast-tab h3 {
        font-size: 14px !important;
    }

    /* Make form labels bigger for touch */
    #broadcast-tab label {
        font-size: 13px !important;
    }

    /* User checkboxes in list */
    #broadcast-users-list label {
        padding: 12px 10px !important;
        margin-bottom: 6px !important;
    }

    #broadcast-users-list input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
    }

    /* Buttons */
    #broadcast-tab button {
        font-size: 14px !important;
    }

    /* Newsletter subscriber items */
    .newsletter-subscriber-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    .newsletter-subscriber-item button {
        width: 100% !important;
        margin-top: 8px !important;
    }

    /* Broadcast history - pagination */
    #broadcast-pagination {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #broadcast-pagination button {
        width: 100% !important;
        padding: 12px !important;
    }
}

/* Broadcast History Card Styling */
.broadcast-history-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.broadcast-history-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Newsletter Subscriber Item Styling */
.newsletter-subscriber-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-subscriber-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.newsletter-subscriber-item .subscriber-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.newsletter-subscriber-item .subscriber-email {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    word-break: break-all;
}

.newsletter-subscriber-item .subscriber-name {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.newsletter-subscriber-item .subscriber-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.newsletter-subscriber-item button {
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    color: #f87171;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.newsletter-subscriber-item button:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Unsubscribed User Item Styling */
.unsubscribed-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.unsubscribed-user-item .user-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    word-break: break-all;
}

.unsubscribed-user-item .unsubscribe-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

/* Broadcast User Item in List */
.broadcast-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.broadcast-user-item:hover {
    background: rgba(168, 85, 247, 0.1);
}

.broadcast-user-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #a855f7;
    flex-shrink: 0;
}

.broadcast-user-item .user-info {
    flex: 1;
    min-width: 0;
}

.broadcast-user-item .user-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.broadcast-user-item .user-email {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .broadcast-user-item {
        padding: 14px 12px;
    }

    .broadcast-user-item .user-name {
        font-size: 13px;
    }

    .broadcast-user-item .user-email {
        font-size: 11px;
    }
}

/* ===================================
   BROADCAST CARD STYLES (with classes)
   =================================== */

.broadcast-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
}

.broadcast-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.broadcast-card-subject {
    flex: 1;
    min-width: 0;
}

.broadcast-subject-text {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.broadcast-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.broadcast-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.broadcast-btn {
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.broadcast-btn-details {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
}

.broadcast-btn-delete {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.broadcast-card-stats {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.broadcast-stat {
    text-align: center;
    min-width: 60px;
}

.broadcast-stat-value {
    font-size: 18px;
    font-weight: 700;
}

.broadcast-stat-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-top: 2px;
}

.broadcast-stat-conversion {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

/* Recipients Section */
.broadcast-recipients-section {
    margin-top: 15px;
}

.broadcast-recipients-toggle {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 10px 16px;
    border-radius: 8px;
    color: #a5b4fc;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.broadcast-recipients-list {
    margin-top: 12px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.broadcast-recipient {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    gap: 10px;
}

.broadcast-recipient.clicked {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.broadcast-recipient-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.broadcast-recipient-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.broadcast-recipient-details {
    min-width: 0;
}

.broadcast-recipient-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.broadcast-recipient-email {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.broadcast-recipient-status {
    text-align: right;
    flex-shrink: 0;
}

.broadcast-click-status {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
}

.broadcast-click-status.clicked {
    color: #4ade80;
    font-weight: 500;
}

.broadcast-click-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}

/* Mobile Responsive for Broadcast Cards */
@media (max-width: 768px) {
    .broadcast-card {
        padding: 15px;
    }

    .broadcast-card-header {
        flex-direction: column;
        gap: 12px;
    }

    .broadcast-card-subject {
        width: 100%;
    }

    .broadcast-card-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .broadcast-btn {
        justify-content: center;
        padding: 12px;
    }

    .broadcast-card-stats {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .broadcast-stat {
        background: rgba(0, 0, 0, 0.15);
        padding: 10px 8px;
        border-radius: 8px;
    }

    .broadcast-stat-value {
        font-size: 16px;
    }

    .broadcast-stat-conversion {
        padding: 10px 8px;
    }

    /* Recipients on mobile */
    .broadcast-recipient {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .broadcast-recipient-info {
        width: 100%;
    }

    .broadcast-recipient-status {
        width: 100%;
        text-align: left;
        padding-left: 26px;
    }

    .broadcast-recipient-name,
    .broadcast-recipient-email {
        white-space: normal;
        word-break: break-all;
    }
}

/* ===================================
   UNSUBSCRIBED USERS - MOBILE FIX
   =================================== */

/* Container for unsubscribed users - make grid on mobile */
#newsletter-unsubscribed-container > div[style*="display: flex"][style*="flex-wrap: wrap"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

@media (max-width: 768px) {
    /* Each unsubscribed user item */
    #newsletter-unsubscribed-container > div > div[style*="background: rgba(239, 68, 68, 0.1)"] {
        width: 100% !important;
        flex-wrap: wrap !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }

    /* Email text - allow wrap */
    #newsletter-unsubscribed-container > div > div > span[style*="color: rgba(255,255,255,0.9)"] {
        word-break: break-all !important;
        font-size: 12px !important;
    }

    /* Name in parentheses - new line */
    #newsletter-unsubscribed-container > div > div > span[style*="color: rgba(255,255,255,0.4)"] {
        display: block !important;
        width: 100% !important;
        margin-top: 4px !important;
        padding-left: 26px !important;
    }
}

/* ============================================
   ADMIN PANEL - MOBILE RESPONSIVE OVERRIDES
   ============================================
   These override inline styles set by admin.js
*/

@media (max-width: 768px) {

    /* --- GLOBAL: Tables become scrollable --- */
    #completed-sessions-list,
    #collection-list,
    #detailed-diagnostic-result,
    #unbooked-patients-result {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    #completed-sessions-list table,
    #collection-list table,
    #detailed-diagnostic-result table,
    #unbooked-patients-result table {
        min-width: 600px !important;
        font-size: 13px !important;
    }

    #completed-sessions-list table th,
    #completed-sessions-list table td,
    #collection-list table th,
    #collection-list table td {
        padding: 8px 6px !important;
    }

    /* --- GLOBAL: Force grids to single column --- */
    #dd-movies-list div[style*="grid-template-columns: 1fr 1fr"],
    #detailed-diagnostic-result div[style*="grid-template-columns"],
    div[style*="grid-template-columns: repeat(auto-fit, minmax(200px"] {
        grid-template-columns: 1fr !important;
    }

    /* --- GLOBAL: Reduce large stat fonts --- */
    div[style*="font-size: 28px"],
    div[style*="font-size: 32px"] {
        font-size: 20px !important;
    }

    /* --- Patient cards --- */
    #all-unique-patients-list div[style*="min-width: 200px"] {
        min-width: 0 !important;
        width: 100% !important;
    }

    /* --- Pagination buttons --- */
    #all-unique-patients-list div[style*="justify-content: center"] button,
    #completed-sessions-list div[style*="justify-content: center"] button {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }

    /* --- Modals --- */
    .modal-content {
        padding: 15px !important;
        max-width: calc(100vw - 20px) !important;
        margin: 10px !important;
    }

    /* --- Time change modal --- */
    #time-change-modal .modal-content {
        padding: 15px !important;
    }

    /* --- Broadcast email preview: fixed width table --- */
    #broadcast-preview-content table[width="550"],
    #broadcast-preview-content table[style*="max-width: 550px"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    #broadcast-preview-content td[style*="padding: 40px"] {
        padding: 20px 15px !important;
    }

    /* --- Broadcast stats boxes --- */
    #broadcasts-list div[style*="gap: 20px"] {
        gap: 8px !important;
    }

    #broadcasts-list div[style*="padding: 8px 15px"] {
        padding: 6px 10px !important;
    }

    /* --- Deep dive leads: break long emails --- */
    #dd-leads-list div[style*="font-size: 14px"] {
        word-break: break-all !important;
    }

    /* --- Subscriber badges: break long emails --- */
    #active-subscribers-list span[style*="font-size: 13px"],
    #unsubscribed-list span[style*="font-size: 13px"] {
        word-break: break-all !important;
    }

    /* --- Admin header --- */
    .admin-header {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .admin-header h1 {
        font-size: 20px !important;
    }

    /* --- Admin tabs: scrollable --- */
    .admin-tabs {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px !important;
    }

    .admin-tabs .tab-btn {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }

    /* --- Tab content padding --- */
    .tab-content {
        padding: 15px !important;
    }

    /* --- Broadcast details modal recipients --- */
    #broadcast-details-modal div[style*="display: flex"][style*="justify-content: space-between"] {
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
}

@media (max-width: 480px) {

    /* --- Extra small: tighter spacing --- */
    .admin-container {
        padding: 10px !important;
    }

    .tab-content {
        padding: 10px !important;
    }

    .admin-tabs .tab-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    /* --- Tables even smaller --- */
    #completed-sessions-list table,
    #collection-list table {
        font-size: 11px !important;
    }

    /* --- Modal full width --- */
    .modal-content {
        max-width: 100vw !important;
        margin: 5px !important;
        border-radius: 12px !important;
    }
}

/* ===================================
   DASHBOARD
   =================================== */

/* Tab Group Labels (Desktop) */
.tab-group-label {
    display: flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    padding: 0 6px;
    user-select: none;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

/* Dashboard Card */
.dash-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dash-card:active {
    transform: translateY(0);
}

.dash-card-icon {
    font-size: 2rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.dash-card-stats .dash-card-icon { background: rgba(102, 126, 234, 0.2); }
.dash-card-salary .dash-card-icon { background: rgba(74, 222, 128, 0.2); }
.dash-card-waiting .dash-card-icon { background: rgba(251, 191, 36, 0.2); }
.dash-card-patients .dash-card-icon { background: rgba(168, 85, 247, 0.2); }

.dash-card-body {
    flex: 1;
    min-width: 0;
}

.dash-card-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.dash-card-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.dash-card-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

/* Dashboard Quick Actions */
.dash-actions {
    margin-top: 8px;
}

.dash-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
}

.dash-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.dash-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.dash-action-btn:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    color: white;
}

.dash-action-icon {
    font-size: 1.2rem;
}

/* ===================================
   BOTTOM NAVIGATION (Mobile)
   =================================== */

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 0;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 4px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item.active {
    color: #a78bfa;
}

.bottom-nav-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.bottom-nav-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ===================================
   MORE MENU OVERLAY (Mobile)
   =================================== */

.more-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: flex-end;
    justify-content: center;
}

.more-menu-overlay.open {
    display: flex;
}

.more-menu {
    width: 100%;
    max-height: 75vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    padding-bottom: max(20px, calc(env(safe-area-inset-bottom) + 20px));
    overflow-y: auto;
    animation: slideUpMenu 0.3s ease;
}

@keyframes slideUpMenu {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.more-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.more-menu-header h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.more-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.more-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.more-menu-item:hover,
.more-menu-item:active {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.more-menu-icon {
    font-size: 1.5rem;
}

/* ===================================
   TOAST NOTIFICATIONS
   =================================== */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 380px;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: toastSlideIn 0.35s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toast.hiding {
    animation: toastSlideOut 0.3s ease forwards;
}

.toast-success {
    background: rgba(22, 163, 74, 0.9);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.toast-error {
    background: rgba(220, 38, 38, 0.9);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.toast-info {
    background: rgba(59, 130, 246, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.toast-warning {
    background: rgba(217, 119, 6, 0.9);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 2px;
    flex-shrink: 0;
}

.toast-close:hover {
    color: white;
}

@keyframes toastSlideIn {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100px); opacity: 0; }
}

/* Mobile Back Button - hidden on desktop */
.mobile-back-btn {
    display: none;
}

/* ===================================
   MOBILE OVERRIDES - Bottom Nav & Dashboard
   =================================== */

@media (max-width: 768px) {
    /* Show bottom nav on mobile */
    .bottom-nav {
        display: flex;
    }

    /* Hide desktop tabs on mobile */
    #desktop-tabs {
        display: none !important;
    }

    /* Add bottom padding for fixed nav */
    .admin-container {
        padding-bottom: 80px !important;
    }

    /* Dashboard grid: 2 columns on mobile */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .dash-card {
        padding: 14px;
        gap: 10px;
    }

    .dash-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        border-radius: 10px;
    }

    .dash-card-value {
        font-size: 1.3rem;
    }

    .dash-card-title {
        font-size: 0.72rem;
    }

    /* Quick actions: 2 columns on mobile */
    .dash-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .dash-action-btn {
        padding: 12px;
        font-size: 0.82rem;
    }

    /* Mobile back button */
    .mobile-back-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 8px 14px;
        margin-bottom: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        font-family: inherit;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-back-btn:active {
        background: rgba(102, 126, 234, 0.2);
    }

    /* Toast: full width on mobile */
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }

    /* Notification position above bottom nav */
    .notification {
        bottom: 75px !important;
    }
}

@media (max-width: 380px) {
    /* Very small screens: stack dashboard cards */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .more-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
