/* ============================================================
   GEETA'S CLINIC / QSMART CARECLINIC
   PREMIUM GLASSMORPHISM CSS
   ============================================================ */


/* ============================================================
   1. ROOT VARIABLES
   ============================================================ */

:root {

    --bg-dark: #070d18;

    --bg-gradient:
        radial-gradient(
            circle at 15% 20%,
            #123e65 0%,
            #081525 45%,
            #040810 100%
        );

    --glass-bg: rgba(255, 255, 255, 0.05);

    --glass-card: rgba(15, 25, 43, 0.72);

    --glass-border: rgba(255, 255, 255, 0.12);

    --glass-border-bright:
        rgba(255, 255, 255, 0.22);

    --accent-cyan: #00eaff;

    --accent-blue: #4facfe;

    --accent-emerald: #10b981;

    --accent-amber: #f59e0b;

    --accent-rose: #f43f5e;

    --accent-purple: #8b5cf6;

    --text-main: #f8fafc;

    --text-muted: #94a3b8;

    --text-dim: #64748b;

    --font-primary:
        'Plus Jakarta Sans',
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    --font-display:
        'Space Grotesk',
        monospace,
        sans-serif;
}


/* ============================================================
   2. RESET
   ============================================================ */

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


html {
    scroll-behavior: smooth;
}


body {

    font-family: var(--font-primary);

    background-image:
        url("background.png");

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    background-attachment: fixed;

    color: var(--text-main);

    min-height: 100vh;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}


/* ============================================================
   3. BACKGROUND GLOW ORBS
   ============================================================ */

.glow-orb {

    position: fixed;

    border-radius: 50%;

    filter: blur(110px);

    pointer-events: none;

    z-index: 0;

    opacity: 0.35;

    animation:
        floatOrb 18s ease-in-out infinite alternate;
}


.orb-1 {

    width: 500px;

    height: 500px;

    background:
        radial-gradient(
            circle,
            #0ea5e9,
            #2563eb
        );

    top: -150px;

    left: -100px;
}


.orb-2 {

    width: 450px;

    height: 450px;

    background:
        radial-gradient(
            circle,
            #059669,
            #0d9488
        );

    right: -100px;

    bottom: -120px;

    animation-delay: -5s;
}


.orb-3 {

    width: 350px;

    height: 350px;

    background:
        radial-gradient(
            circle,
            #6366f1,
            #a855f7
        );

    top: 40%;

    left: 45%;

    opacity: 0.22;

    animation-delay: -10s;
}


@keyframes floatOrb {

    0% {
        transform:
            translate(0, 0)
            scale(1);
    }

    50% {
        transform:
            translate(60px, 40px)
            scale(1.1);
    }

    100% {
        transform:
            translate(-40px, 70px)
            scale(0.95);
    }
}


/* ============================================================
   4. MAIN CONTAINER
   ============================================================ */

.app-container {

    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 1240px;

    margin: auto;

    padding:
        18px
        20px
        60px;

    min-height: 100vh;

    display: flex;

    flex-direction: column;
}


/* ============================================================
   5. HEADER
   ============================================================ */

.glass-header {

    background:
        rgba(15, 23, 42, 0.70);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    border:
        1px solid var(--glass-border);

    border-radius: 26px;

    padding:
        18px 24px 14px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 16px;

    margin-bottom: 30px;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.45),

        inset 0 1px 0
        rgba(255, 255, 255, 0.08);

    flex-wrap: nowrap;
}


/* ============================================================
   BRAND
   ============================================================ */

.brand {

    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 315px;
}


.logo-icon {

    width: 54px;

    height: 54px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--accent-cyan),
            var(--accent-blue)
        );

    display: flex;

    justify-content: center;

    align-items: center;

    color: #03111d;

    box-shadow:
        0 5px 25px
        rgba(0, 242, 254, 0.35);

    font-size: 30px;

    font-weight: 800;
}


.brand h1 {

    font-size: 2.02rem;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 8px;

    letter-spacing: -0.06em;

    margin: 0;
}


.badge-clinic {

    font-size: 0.66rem;

    padding:
        5px 8px;

    border-radius: 7px;

    color: var(--accent-cyan);

    background:
        rgba(0, 242, 254, 0.10);

    border:
        1px solid
        rgba(0, 242, 254, 0.30);

    font-weight: 700;

    letter-spacing: 0.08em;
}


.brand-sub {

    color: rgba(226, 232, 240, 0.8);

    font-size: 0.82rem;

    margin-top: 4px;

    letter-spacing: -0.01em;
}


/* ============================================================
   6. NAVIGATION TABS
   ============================================================ */

.nav-tabs {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 6px;

    border-radius: 16px;

    background:
        rgba(5, 12, 24, 0.70);

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    flex: 1;

    max-width: 720px;
}


.tab-btn {

    border: none;

    outline: none;

    background: transparent;

    color: rgba(226, 232, 240, 0.85);

    padding:
        15px 18px;

    border-radius: 12px;

    font-family: inherit;

    font-size: 1rem;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 10px;

    transition:
        all 0.25s ease;

    flex: 1;

    justify-content: center;

    height: 62px;
}


.tab-btn:hover {

    color: white;

    background:
        rgba(255, 255, 255, 0.06);
}


.tab-btn.active {

    color: var(--accent-cyan);

    background:
        linear-gradient(
            135deg,
            rgba(79, 172, 254, 0.24),
            rgba(0, 242, 254, 0.10)
        );

    border:
        1px solid
        rgba(0, 242, 254, 0.35);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 6px 22px rgba(47, 155, 255, 0.12);
}


/* ============================================================
   CLINIC STATUS
   ============================================================ */

.clinic-status-indicator {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 0.78rem;

    color: var(--text-muted);

    white-space: nowrap;
}


.status-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background:
        var(--accent-emerald);
}


.status-dot.pulsing {

    animation:
        pulseGreen 2s infinite;

    box-shadow:
        0 0 0 0
        rgba(16, 185, 129, 0.7);
}


@keyframes pulseGreen {

    0% {

        box-shadow:
            0 0 0 0
            rgba(16, 185, 129, 0.7);
    }

    70% {

        box-shadow:
            0 0 0 8px
            rgba(16, 185, 129, 0);
    }

    100% {

        box-shadow:
            0 0 0 0
            rgba(16, 185, 129, 0);
    }
}


/* ============================================================
   7. PAGE / SECTION SYSTEM
   ============================================================ */

.content-viewport {

    width: 100%;

    flex: 1;
}


.tab-content {

    display: none;

    animation:
        pageFade 0.35s ease;
}


.tab-content.active {

    display: block;
}


@keyframes pageFade {

    from {

        opacity: 0;

        transform:
            translateY(12px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ============================================================
   8. WELCOME PAGE
   ============================================================ */

.welcome-page {

    min-height:
        calc(100vh - 180px);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 50px 20px;
}


.welcome-icon {

    width: 62px;

    height: 62px;

    border-radius: 18px;

    display: grid;

    place-items: center;

    margin-bottom: 16px;

    font-size: 30px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid
        rgba(255,255,255,0.08);

    box-shadow:
        0 0 35px
        rgba(69, 196, 255, 0.18);

    filter:
        drop-shadow(
            0 0 15px
            rgba(0, 234, 255, 0.4)
        );
}


.welcome-page h1 {

    font-size:
        clamp(
            2rem,
            5vw,
            3.2rem
        );

    font-weight: 800;

    letter-spacing: -0.04em;

    margin-bottom: 10px;
}


.welcome-page p {

    font-size: 1.05rem;

    color: var(--text-muted);

    margin-bottom: 28px;
}


/* ============================================================
   GET STARTED BUTTON
   ============================================================ */

.get-started-btn {

    min-width: 190px;

    padding:
        15px 28px;

    border: none;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--accent-cyan),
            var(--accent-blue)
        );

    color: #03111d;

    font-family: inherit;

    font-size: 1rem;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    box-shadow:
        0 8px 30px
        rgba(0, 242, 254, 0.35);

    transition:
        all 0.25s ease;
}


.get-started-btn span {

    font-size: 1.3rem;

    transition:
        transform 0.25s ease;
}


.get-started-btn:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 38px
        rgba(0, 242, 254, 0.55);
}


.get-started-btn:hover span {

    transform:
        translateX(5px);
}


/* ============================================================
   9. GLASS CARD
   ============================================================ */

.glass-card {

    background:
        var(--glass-card);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    border:
        1px solid var(--glass-border);

    border-radius: 24px;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.45),

        inset 0 1px 0
        rgba(255, 255, 255, 0.08);

    position: relative;

    overflow: hidden;
}


.glass-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );
}


/* ============================================================
   10. LOGIN PAGE
   ============================================================ */

.login-page-wrapper {

    min-height:
        calc(100vh - 180px);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px 20px;
}


.login-card {

    width: 100%;

    max-width: 620px;

    padding: 35px;
}


.card-header {

    margin-bottom: 25px;
}


.card-header h2 {

    font-size: 1.8rem;

    margin-top: 10px;

    margin-bottom: 7px;

    letter-spacing: -0.03em;
}


.card-desc {

    color: var(--text-muted);

    font-size: 0.92rem;

    line-height: 1.5;
}


.pill-tag {

    display: inline-block;

    font-size: 0.70rem;

    font-weight: 800;

    letter-spacing: 0.07em;

    text-transform: uppercase;

    padding:
        5px 10px;

    border-radius: 20px;

    color: var(--accent-cyan);

    background:
        rgba(0, 242, 254, 0.10);

    border:
        1px solid
        rgba(0, 242, 254, 0.30);
}


.red-tag {

    color: var(--accent-rose);

    background:
        rgba(244, 63, 94, 0.10);

    border-color:
        rgba(244, 63, 94, 0.35);
}


.blue-tag {

    color: #a5b4fc;

    background:
        rgba(99, 102, 241, 0.12);

    border-color:
        rgba(99, 102, 241, 0.30);
}


/* ============================================================
   11. FORM
   ============================================================ */

.kiosk-form {

    display: flex;

    flex-direction: column;

    gap: 20px;
}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 9px;
}


.form-group label {

    font-size: 0.88rem;

    font-weight: 600;

    color: #e2e8f0;
}


.input-glass-wrap {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;
}


.input-icon {

    position: absolute;

    left: 16px;

    font-size: 17px;

    color: var(--text-dim);

    z-index: 2;

    pointer-events: none;
}


.input-glass-wrap input {

    width: 100%;

    padding:
        14px
        16px
        14px
        48px;

    border-radius: 14px;

    border:
        1px solid
        var(--glass-border);

    outline: none;

    background:
        rgba(7, 15, 28, 0.70);

    color: white;

    font-family: inherit;

    font-size: 0.95rem;

    transition:
        all 0.25s ease;
}


.input-glass-wrap input::placeholder {

    color: #64748b;
}


.input-glass-wrap input:focus {

    border-color:
        var(--accent-cyan);

    background:
        rgba(8, 18, 32, 0.90);

    box-shadow:
        0 0 0 3px
        rgba(0, 242, 254, 0.12);
}

#loginError {

    min-height: 1.25rem;

    margin-top: 4px;

    color: var(--accent-rose);

    font-size: 0.88rem;

    text-align: center;

}


/* ============================================================
   12. MAIN BUTTON
   ============================================================ */

.glow-button {

    width: 100%;

    border: none;

    padding:
        15px 24px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--accent-cyan),
            var(--accent-blue)
        );

    color: #03111d;

    font-family: inherit;

    font-size: 1rem;

    font-weight: 800;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    box-shadow:
        0 7px 25px
        rgba(0, 242, 254, 0.30);

    transition:
        all 0.25s ease;
}


.glow-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(0, 242, 254, 0.50);
}


.back-button {

    display: block;

    margin:
        20px auto 0;

    border: none;

    background: transparent;

    color: var(--text-muted);

    font-family: inherit;

    cursor: pointer;

    font-size: 0.85rem;
}


.back-button:hover {

    color: var(--accent-cyan);
}


/* ============================================================
   13. PAGE 3 DASHBOARD
   ============================================================ */

.dashboard-view {

    display: none;

    animation:
        pageFade 0.35s ease;
}


.dashboard-view.active-dashboard {

    display: block;
}


/* ============================================================
   TOKEN DASHBOARD CONTAINER
   ============================================================ */

.token-dashboard-container {

    max-width: 900px;

    margin:
        30px auto;

    padding:
        12px;
}


/* ============================================================
   13B. TAKE-A-TOKEN KIOSK FORM
   ============================================================ */

.main-card {

    max-width: 760px;

    margin: 10px auto 0;

    padding: 35px;

    overflow: visible;

    z-index: 2;
}


/* Plain (unwrapped) inputs and selects used by the kiosk form */

.form-group > input,
.form-group > select {

    width: 100%;

    padding:
        14px 16px;

    border-radius: 14px;

    border:
        1px solid
        var(--glass-border);

    outline: none;

    background:
        rgba(7, 15, 28, 0.70);

    color: white;

    font-family: inherit;

    font-size: 0.95rem;

    transition:
        all 0.25s ease;

    color-scheme: dark;
}


.form-group > input::placeholder {

    color: #64748b;
}


.form-group > input:focus,
.form-group > select:focus {

    border-color:
        var(--accent-cyan);

    background:
        rgba(8, 18, 32, 0.90);

    box-shadow:
        0 0 0 3px
        rgba(0, 242, 254, 0.12);
}


.form-group > select option {

    background: #101b2c;

    color: white;
}


.appointment-calendar {

    position: relative;

    z-index: 3;

}

.appointment-calendar > input {

    width: 100%;

    padding-right: 130px;

    padding-top: 14px;

    padding-bottom: 14px;

    padding-left: 16px;

    border-radius: 14px;

    border: 1px solid var(--glass-border);

    outline: none;

    background: rgba(7, 15, 28, 0.70);

    color: white;

    font-family: inherit;

    font-size: 0.95rem;

    color-scheme: dark;

    appearance: none;

    -webkit-appearance: none;

    transition: all 0.25s ease;

}

.appointment-calendar > input::placeholder {

    color: #64748b;

}

.appointment-calendar > input:focus {

    border-color: var(--accent-cyan);

    background: rgba(8, 18, 32, 0.90);

    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.12);

}

.calendar-toggle {

    position: absolute;

    top: 7px;

    right: 7px;

    padding: 8px 12px;

    border: 1px solid var(--glass-border);

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.08);

    color: var(--text-main);

    font: inherit;

    font-size: 0.78rem;

    cursor: pointer;

}

.calendar-picker {

    position: absolute;

    top: calc(100% + 8px);

    left: 0;

    z-index: 5;

    width: min(100%, 330px);

    padding: 14px;

    border: 1px solid var(--glass-border-bright);

    border-radius: 14px;

    background: rgba(15, 25, 43, 0.98);

    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);

}

.calendar-header,
.calendar-weekdays,
.calendar-days {

    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 6px;

    align-items: center;

}

.calendar-header {

    grid-template-columns: 36px 1fr 36px;

    margin-bottom: 14px;

    text-align: center;

}

.calendar-nav,
.calendar-day {

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: var(--text-main);

    cursor: pointer;

}

.calendar-nav {

    height: 30px;

    font-size: 1.1rem;

}

.calendar-nav:hover,
.calendar-day:hover {

    background: rgba(0, 234, 255, 0.16);

}

.calendar-weekdays {

    margin-bottom: 6px;

    color: var(--text-muted);

    font-size: 0.7rem;

    text-align: center;

}

.calendar-day {

    min-height: 32px;

    font: inherit;

}

.calendar-day.selected {

    background: var(--accent-cyan);

    color: #03111d;

    font-weight: 800;

}


/* Doctor picker */

.doctor-cards-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(210px, 1fr));

    gap: 14px;
}


.doctor-select-card {

    padding: 18px;

    border-radius: 16px;

    border:
        1px solid
        var(--glass-border);

    background:
        rgba(15, 25, 43, 0.55);

    cursor: pointer;

    transition:
        all 0.25s ease;
}


.doctor-select-card:hover {

    border-color:
        rgba(0, 242, 254, 0.30);

    transform:
        translateY(-2px);
}


.doctor-select-card.selected {

    border-color:
        var(--accent-cyan);

    background:
        rgba(0, 242, 254, 0.08);

    box-shadow:
        0 10px 26px
        rgba(0, 242, 254, 0.16);
}


.doc-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 12px;
}


.doc-room-badge {

    font-size: 0.66rem;

    font-weight: 700;

    padding:
        5px 9px;

    border-radius: 8px;

    background:
        rgba(79, 172, 254, 0.10);

    color:
        var(--accent-blue);

    border:
        1px solid
        rgba(79, 172, 254, 0.30);

    white-space: nowrap;
}


.doc-name {

    font-size: 1.02rem;

    font-weight: 800;

    margin-bottom: 4px;
}


.doc-dept {

    color: var(--text-muted);

    font-size: 0.80rem;

    margin-bottom: 14px;
}


.doc-queue-brief {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding-top: 12px;

    border-top:
        1px dashed
        rgba(255,255,255,0.12);

    font-size: 0.76rem;

    color: #94a3b8;

    font-weight: 600;
}


.doc-queue-brief strong {

    font-family: var(--font-display);

    color: var(--accent-cyan);

    font-size: 0.95rem;
}

/* ============================================================
   14. DIGITAL TOKEN TICKET
   ============================================================ */

.glass-ticket {

    background:
        rgba(10, 19, 34, 0.82);

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 30px 70px
        rgba(0, 0, 0, 0.55),

        inset 0 0 35px
        rgba(0, 242, 254, 0.035);
}


/* ============================================================
   TOKEN HEADER
   ============================================================ */

.ticket-header {

    padding:
        25px 30px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    border-bottom:
        1px dashed
        rgba(255,255,255,0.15);

    background:
        rgba(255,255,255,0.025);
}


.clinic-sub-label {

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    color: var(--accent-cyan);

    text-transform: uppercase;

    margin-bottom: 5px;
}


.ticket-header h3 {

    font-size: 1.35rem;

    font-weight: 800;
}


.ticket-dept {

    color: var(--text-muted);

    font-size: 0.82rem;

    margin-top: 4px;
}


.doctor-status {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 7px;

    color: var(--text-muted);

    font-size: 0.80rem;
}


.active-badge {

    color: var(--accent-emerald);

    border:
        1px solid
        rgba(16,185,129,0.35);

    background:
        rgba(16,185,129,0.08);

    border-radius: 20px;

    padding:
        5px 10px;

    font-size: 0.68rem;

    font-weight: 800;
}


/* ============================================================
   15. TOKEN MAIN
   ============================================================ */

.token-main {

    padding:
        35px 30px 30px;

    text-align: center;
}


.token-label {

    color:
        #8ea1ba;

    font-size: 0.78rem;

    letter-spacing: 0.08em;

    font-weight: 700;

    margin-bottom: 5px;
}


.big-token-number {

    font-family:
        var(--font-display);

    font-size:
        clamp(
            4rem,
            10vw,
            6rem
        );

    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.05em;

    color: var(--accent-cyan);

    text-shadow:
        0 0 15px
        rgba(0,242,254,0.45),

        0 0 35px
        rgba(0,242,254,0.20);

    margin:
        10px 0;
}


.patient-token-name {

    font-size: 1rem;

    color: #dbe5f1;

    margin-bottom: 28px;
}


.patient-token-name span {

    font-weight: 700;

    color: white;
}


/* ============================================================
   16. TOKEN INFORMATION CARDS
   ============================================================ */

.token-info-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    text-align: left;
}


.token-info-card {

    min-height: 90px;

    padding:
        16px;

    border-radius: 16px;

    background:
        rgba(22, 34, 55, 0.78);

    border:
        1px solid
        rgba(255,255,255,0.08);

    display: flex;

    align-items: center;

    gap: 12px;

    transition:
        all 0.25s ease;
}


.token-info-card:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(0,242,254,0.25);
}


.info-icon {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    border-radius: 12px;

    display: flex;

    justify-content: center;

    align-items: center;

    color: var(--accent-cyan);

    background:
        rgba(0,242,254,0.07);

    border:
        1px solid
        rgba(0,242,254,0.10);

    font-size: 18px;
}


.token-info-card span {

    display: block;

    color: #899bb2;

    font-size: 0.68rem;

    font-weight: 700;

    margin-bottom: 5px;
}


.token-info-card strong {

    font-family:
        var(--font-display);

    font-size: 1.25rem;

    color: #f8fafc;
}


.serving-card {

    border-color:
        rgba(0,242,254,0.40);
}


.waiting-card {

    border-color:
        rgba(245,158,11,0.35);
}


/* ============================================================
   17. QUEUE PROGRESS
   ============================================================ */

.queue-progress-section {

    margin-top: 24px;

    padding:
        15px 18px;

    border-radius: 14px;

    background:
        rgba(5,13,25,0.55);

    text-align: left;
}


.queue-progress-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: #8fa1b7;

    font-size: 0.78rem;

    margin-bottom: 10px;
}


.progress-bar {

    height: 9px;

    width: 100%;

    background:
        #202c3e;

    border-radius: 20px;

    overflow: hidden;
}


.progress-fill {

    height: 100%;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #00d9ff,
            #10dca5
        );

    box-shadow:
        0 0 15px
        rgba(0,242,254,0.35);

    transition:
        width 0.5s ease;
}


/* ============================================================
   18. QUEUE STATUS
   ============================================================ */

.queue-status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 22px;

    padding:
        8px 18px;

    border-radius: 20px;

    border:
        1px solid
        rgba(0,242,254,0.30);

    background:
        rgba(0,242,254,0.07);

    color: var(--accent-cyan);

    font-size: 0.82rem;

    font-weight: 700;
}


/* ============================================================
   19. TOKEN FOOTER
   ============================================================ */

.ticket-footer {

    padding:
        20px 28px;

    border-top:
        1px dashed
        rgba(255,255,255,0.12);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    background:
        rgba(255,255,255,0.018);
}


.ticket-message {

    max-width: 550px;

    color: #8294aa;

    font-size: 0.80rem;

    line-height: 1.5;
}


.ticket-actions {

    display: flex;

    gap: 10px;
}


.secondary-button,
.new-token-button {

    border-radius: 12px;

    padding:
        11px 18px;

    font-family: inherit;

    font-weight: 700;

    font-size: 0.78rem;

    cursor: pointer;

    transition:
        all 0.25s ease;
}


.secondary-button {

    background:
        rgba(255,255,255,0.05);

    border:
        1px solid
        rgba(255,255,255,0.12);

    color: #94a3b8;
}


.secondary-button:hover {

    background:
        rgba(244,63,94,0.10);

    border-color:
        rgba(244,63,94,0.35);

    color: #fda4af;
}


.new-token-button {

    background:
        rgba(0,242,254,0.08);

    border:
        1px solid
        var(--accent-cyan);

    color:
        var(--accent-cyan);
}


.new-token-button:hover {

    background:
        var(--accent-cyan);

    color:
        #03111d;

    box-shadow:
        0 5px 20px
        rgba(0,242,254,0.30);
}


/* ============================================================
   20. WAITING HALL DISPLAY
   ============================================================ */

.waiting-hall-card {

    padding:
        26px 28px 22px;

    margin:
        20px auto 28px;

    max-width:
        1250px;

    background:
        rgba(11, 24, 38, 0.78);

    border:
        1px solid
        rgba(148, 163, 184, 0.14);

    border-radius: 26px;

    box-shadow:
        0 24px 58px
        rgba(2, 6, 23, 0.34),
        inset 0 1px 0
        rgba(255, 255, 255, 0.05);
}


.waiting-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding-bottom: 25px;

    border-bottom:
        1px solid
        rgba(255,255,255,0.08);

    margin-bottom: 28px;
}


.waiting-header h2 {

    font-size: 1.7rem;

    margin-top: 10px;

    margin-bottom: 5px;
}


.large-clock {

    font-family:
        var(--font-display);

    font-size: 1.55rem;

    color:
        var(--accent-cyan);

    padding:
        12px 22px;

    border:
        1px solid
        rgba(0,242,254,0.30);

    border-radius: 15px;

    background:
        rgba(0,242,254,0.04);

    box-shadow:
        0 0 20px
        rgba(0,242,254,0.06);

    white-space: nowrap;

    display: flex;

    align-items: center;

    gap: 10px;

    letter-spacing: 0.02em;
}


.large-clock::before {

    content: '';

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--accent-emerald);

    box-shadow:
        0 0 0 0
        rgba(16, 185, 129, 0.7);

    animation:
        pulseGreen 2s infinite;

    flex-shrink: 0;
}


/* ============================================================
   21. DOCTOR BOARD GRID
   ============================================================ */

.doctor-board-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    align-items: stretch;
}


.doctor-board-card {

    --room-accent: var(--accent-cyan);

    --room-accent-soft: rgba(0, 234, 255, 0.12);

    --room-accent-border: rgba(0, 234, 255, 0.38);

    border:
        1px solid
        rgba(255,255,255,0.14);

    border-top:
        3px solid
        var(--room-accent);

    border-radius: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(16, 29, 44, 0.92),
            rgba(12, 22, 35, 0.82)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;

    min-height: 318px;
}


.doctor-board-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(255,255,255,0.22);

    box-shadow:
        0 16px 34px
        var(--room-accent-soft);
}


.doctor-board-card.accent-purple,
.current-consultation.accent-purple {

    --room-accent: var(--accent-purple);

    --room-accent-soft: rgba(139, 92, 246, 0.14);

    --room-accent-border: rgba(139, 92, 246, 0.40);
}


.doctor-board-card.accent-amber,
.current-consultation.accent-amber {

    --room-accent: var(--accent-amber);

    --room-accent-soft: rgba(245, 158, 11, 0.14);

    --room-accent-border: rgba(245, 158, 11, 0.40);
}


.doctor-board-card.accent-cyan,
.current-consultation.accent-cyan {

    --room-accent: var(--accent-cyan);

    --room-accent-soft: rgba(0, 234, 255, 0.12);

    --room-accent-border: rgba(0, 234, 255, 0.38);
}


/* Doctor board header */

.doctor-board-header {

    padding:
        22px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    background:
        rgba(255,255,255,0.035);

    border-bottom:
        1px solid
        rgba(255,255,255,0.08);
}


.doctor-id-group {

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}


.doctor-avatar {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: var(--font-display);

    font-weight: 700;

    font-size: 0.88rem;

    color: var(--room-accent);

    background: var(--room-accent-soft);

    border:
        1px solid
        var(--room-accent-border);
}


.doctor-board-header h3 {

    font-size: 1.05rem;

    margin-bottom: 4px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.doctor-board-header p {

    color:
        var(--text-muted);

    font-size: 0.75rem;
}


.room-badge {

    color:
        var(--room-accent, var(--accent-cyan));

    font-size: 0.68rem;

    font-weight: 700;

    padding:
        6px 9px;

    border-radius: 8px;

    background:
        var(--room-accent-soft, rgba(79,172,254,0.08));

    border:
        1px solid
        var(--room-accent-border, rgba(79,172,254,0.30));

    white-space: nowrap;
}


/* Currently serving */

.currently-serving-area {

    padding:
        30px 20px;

    text-align: center;
}


.currently-serving-area span {

    display: block;

    color:
        var(--room-accent, var(--accent-cyan));

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    margin-bottom: 10px;
}


.currently-serving-area strong {

    display: block;

    font-family:
        var(--font-display);

    font-size: 3.3rem;

    line-height: 1;

    color: white;

    text-shadow:
        0 0 24px
        var(--room-accent-border, rgba(0,242,254,0.35));
}


.currently-serving-area p {

    color:
        #b6c3d2;

    font-size: 0.82rem;

    margin-top: 10px;
}


/* Next queue */

.next-queue {

    min-height: 60px;

    padding:
        15px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    border-top:
        1px solid
        rgba(255,255,255,0.08);

    background:
        rgba(255,255,255,0.018);

    color:
        #8b9cb1;

    font-size: 0.75rem;
}


.next-queue div {

    display: flex;

    gap: 7px;

    flex-wrap: wrap;

    justify-content: flex-end;
}


.next-queue div span {

    padding:
        6px 9px;

    border-radius: 7px;

    background:
        rgba(255,255,255,0.08);

    color:
        #e5edf6;

    font-weight: 700;

    font-family: var(--font-display);

    font-size: 0.78rem;
}


.next-queue div span:first-child:not(.queue-empty) {

    background: var(--room-accent-soft, rgba(0,242,254,0.10));

    color: var(--room-accent, var(--accent-cyan));

    border: 1px solid var(--room-accent-border, transparent);
}


.queue-empty {

    background: transparent !important;

    color:
        #64748b !important;
}


/* ============================================================
   22. STAFF DASHBOARD
   ============================================================ */

.staff-dashboard {

    display: grid;

    grid-template-columns:
        410px minmax(0, 1fr);

    gap: 22px;

    margin-top: 25px;

    align-items: stretch;
}


.staff-selection,
.queue-management {

    padding: 28px 26px 24px;

    background:
        linear-gradient(
            180deg,
            rgba(11, 18, 31, 0.90),
            rgba(15, 23, 42, 0.78)
        );

    border:
        1px solid
        rgba(148, 163, 184, 0.18);

    border-radius: 22px;

    box-shadow:
        0 18px 40px
        rgba(2, 6, 23, 0.28),
        inset 0 1px 0
        rgba(255,255,255,0.05);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}


.staff-selection {

    min-height: 620px;

    display: flex;

    flex-direction: column;
}


.queue-management {

    min-height: 620px;
}


.staff-selection h2 {

    font-size: 1.75rem;

    line-height: 1.2;

    margin:
        10px 0 22px;

    letter-spacing: -0.03em;

    font-weight: 800;
}


.glass-select {

    width: 100%;

    height: 52px;

    padding:
        15px 16px;

    border-radius: 12px;

    border:
        1px solid
        rgba(148, 163, 184, 0.18);

    background:
        rgba(8,16,29,0.78);

    color: white;

    font-family: inherit;

    outline: none;

    cursor: pointer;

    font-size: 1rem;
}


.glass-select:focus {

    border-color:
        var(--accent-cyan);

    box-shadow:
        0 0 0 3px
        rgba(0,242,254,0.10);
}


.glass-select option {

    background:
        #101b2c;

    color: white;
}


/* Current consultation */

.current-consultation {

    --room-accent: var(--accent-cyan);

    --room-accent-soft: rgba(0, 234, 255, 0.12);

    --room-accent-border: rgba(0, 234, 255, 0.38);

    text-align: center;

    padding:
        24px 18px 20px;

    margin-top: 22px;

    border-radius: 18px;

    border:
        1px solid
        var(--room-accent-border);

    background:
        radial-gradient(
            circle at top,
            var(--room-accent-soft),
            rgba(7,18,32,0.95)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,0.04),
        0 12px 24px
        rgba(2, 6, 23, 0.24);

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;

    transition: border-color 0.25s ease, background 0.25s ease;
}


.current-consultation > span {

    display: block;

    color:
        var(--room-accent);

    font-size: 0.70rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    margin-bottom: 10px;
}


.current-consultation strong {

    display: block;

    font-family:
        var(--font-display);

    font-size: 3.6rem;

    line-height: 1;

    color: white;

    text-shadow:
        0 0 22px
        var(--room-accent-border);

    letter-spacing: -0.04em;

    margin-top: 4px;
}


.current-consultation p {

    margin-top: 10px;

    color:
        #9aabc0;

    font-size: 0.80rem;
}


.consult-timer {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 14px;

    color: var(--accent-amber);

    font-size: 0.78rem;

    font-weight: 700;
}


.timer-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--accent-amber);

    box-shadow:
        0 0 0 0
        rgba(245, 158, 11, 0.65);

    animation:
        pulseAmber 1.8s infinite;

    flex-shrink: 0;
}


@keyframes pulseAmber {

    0% {

        box-shadow:
            0 0 0 0
            rgba(245, 158, 11, 0.55);
    }

    70% {

        box-shadow:
            0 0 0 7px
            rgba(245, 158, 11, 0);
    }

    100% {

        box-shadow:
            0 0 0 0
            rgba(245, 158, 11, 0);
    }
}


/* ============================================================
   23. STAFF ACTION BUTTONS
   ============================================================ */

.call-next-button {

    width: 100%;

    margin-top: 20px;

    padding:
        16px 18px;

    border: none;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #62e2ff,
            #4fa8ff
        );

    color:
        #061b2d;

    font-family: inherit;

    font-weight: 800;

    font-size: 1.05rem;

    cursor: pointer;

    box-shadow:
        0 12px 30px
        rgba(79, 140, 255, 0.26);

    transition:
        all 0.25s ease;

    height: 58px;
}


.call-next-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(0,242,254,0.45);
}


.staff-action-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;

    margin-top: 14px;
}


.recall-button,
.complete-button {

    min-height: 84px;

    border-radius: 14px;

    font-family: inherit;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 6px;

    transition:
        all 0.25s ease;

    font-size: 0.92rem;

    line-height: 1.2;
}


.recall-button {

    color:
        var(--accent-amber);

    background:
        rgba(245,158,11,0.08);

    border:
        1px solid
        rgba(245,158,11,0.35);
}


.recall-button:hover {

    background:
        rgba(245,158,11,0.15);

    transform:
        translateY(-2px);
}


.complete-button {

    color:
        var(--accent-emerald);

    background:
        rgba(16,185,129,0.08);

    border:
        1px solid
        rgba(16,185,129,0.35);
}


.complete-button:hover {

    background:
        rgba(16,185,129,0.15);

    transform:
        translateY(-2px);
}


/* ============================================================
   24. QUEUE MANAGEMENT
   ============================================================ */

.queue-management {

    padding:
        24px 22px 20px;

    min-width: 0;
}


.staff-tabs {

    display: flex;

    gap: 8px;

    padding:
        8px;

    border-radius: 14px;

    background:
        rgba(10, 16, 28, 0.72);

    border:
        1px solid
        rgba(148, 163, 184, 0.12);

    overflow-x: auto;

    margin-bottom: 18px;
}


.staff-tab {

    border: none;

    background: transparent;

    color:
        #8b9bb0;

    font-family: inherit;

    font-weight: 600;

    font-size: 0.85rem;

    padding:
        10px 14px;

    border-radius: 10px;

    cursor: pointer;

    white-space: nowrap;

    flex: 1;

    transition:
        all 0.2s ease;
}


.staff-tab:hover:not(.active) {

    color: #dce5ef;

    background: rgba(255,255,255,0.04);
}


.staff-tab.active {

    color:
        #dffcff;

    background:
        linear-gradient(
            180deg,
            rgba(34, 211, 238, 0.18),
            rgba(14, 116, 144, 0.12)
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(103, 232, 249, 0.25),
        0 6px 16px
        rgba(34, 211, 238, 0.08);
}


/* ============================================================
   25. QUEUE TABLE
   ============================================================ */

.queue-table-wrapper {

    overflow-x: auto;

    margin-top: 8px;

    border-radius: 16px;

    border:
        1px solid
        rgba(148, 163, 184, 0.14);

    background:
        rgba(7, 13, 22, 0.42);

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,0.04);

    min-height: 380px;
}


.queue-table {

    width: 100%;

    border-collapse: collapse;

    min-width: 620px;
}


.queue-table thead {

    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.92),
            rgba(15, 23, 42, 0.72)
        );
}


.queue-table th {

    text-align: left;

    color:
        #8ea0b8;

    font-size: 0.68rem;

    font-weight: 700;

    padding:
        12px 10px;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.queue-table td {

    padding:
        14px 10px;

    border-top:
        1px solid
        rgba(255,255,255,0.06);

    color:
        #dce5ef;

    font-size: 0.95rem;

    font-weight: 600;
}


.queue-table tbody tr {

    transition:
        background 0.2s ease;
}


.queue-table tbody tr:hover {

    background:
        rgba(148, 163, 184, 0.04);
}


.table-token {

    color:
        var(--accent-cyan);

    background:
        rgba(0,242,254,0.08);

    padding:
        6px 9px;

    border-radius: 7px;

    font-family:
        var(--font-display);

    font-weight: 800;
}


.patient-cell {

    display: flex;

    align-items: center;

    gap: 10px;
}


.patient-avatar {

    width: 30px;

    height: 30px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family: var(--font-display);

    font-weight: 700;

    font-size: 0.68rem;

    color: var(--accent-blue);

    background: rgba(79, 172, 254, 0.14);

    border:
        1px solid
        rgba(79, 172, 254, 0.30);
}


.wait-pill {

    display: inline-block;

    padding:
        5px 11px;

    border-radius: 20px;

    font-size: 0.78rem;

    font-weight: 700;

    color: #b7c4d6;

    background: rgba(148, 163, 184, 0.10);

    border:
        1px solid
        rgba(148, 163, 184, 0.18);
}


.wait-pill.wait-now {

    color: var(--accent-emerald);

    background: rgba(16, 185, 129, 0.12);

    border-color: rgba(16, 185, 129, 0.35);
}


.queue-empty-state {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 4px;

    min-height: 380px;

    padding: 40px 20px;

    color: #93a4ba;
}


.queue-empty-icon {

    font-size: 2.4rem;

    color: var(--text-dim);

    margin-bottom: 8px;
}


.queue-empty-state strong {

    color: #e2e8f0;

    font-size: 1.05rem;

    font-weight: 700;
}


.queue-empty-state p {

    font-size: 0.85rem;

    color: #8294aa;

    max-width: 280px;
}


.call-now-button {

    padding:
        7px 12px;

    border-radius: 9px;

    border:
        1px solid
        rgba(103, 232, 249, 0.18);

    background:
        rgba(103, 232, 249, 0.06);

    color:
        #dffcff;

    font-family: inherit;

    font-size: 0.72rem;

    cursor: pointer;

    transition:
        all 0.2s ease;
}


.call-now-button:hover {

    color:
        var(--accent-cyan);

    border-color:
        rgba(0,242,254,0.35);

    background:
        rgba(0,242,254,0.07);
}


/* ============================================================
   26. HIDDEN
   ============================================================ */

.hidden {

    display: none !important;
}


/* ============================================================
   27. MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

    .glass-header {

        justify-content: center;

    }

    .brand {

        width: 100%;

        justify-content: center;

    }

    .nav-tabs {

        order: 3;

        width: 100%;

        justify-content: center;

    }

    .clinic-status-indicator {

        display: none;
    }


    .doctor-board-grid {

        grid-template-columns:
            1fr;
    }


    .staff-dashboard {

        grid-template-columns:
            1fr;
    }

}


@media (max-width: 750px) {

    .app-container {

        padding:
            12px
            12px
            40px;
    }


    .glass-header {

        padding:
            14px;

        border-radius: 16px;
    }


    .brand h1 {

        font-size: 1.1rem;
    }


    .brand-sub {

        font-size: 0.70rem;
    }


    .nav-tabs {

        overflow-x: auto;

        justify-content: flex-start;
    }


    .tab-btn {

        padding:
            9px 12px;

        font-size: 0.72rem;
    }


    .token-info-grid {

        grid-template-columns:
            1fr;
    }


    .ticket-header {

        flex-direction: column;

        align-items: flex-start;
    }


    .doctor-status {

        align-items: flex-start;

        flex-direction: row;

        width: 100%;

        justify-content: space-between;
    }


    .ticket-footer {

        flex-direction: column;

        align-items: flex-start;
    }


    .ticket-actions {

        width: 100%;
    }


    .secondary-button,
    .new-token-button {

        flex: 1;
    }


    .waiting-hall-card {

        padding:
            20px;
    }


    .waiting-header {

        flex-direction: column;

        align-items: flex-start;
    }


    .large-clock {

        font-size: 1.2rem;
    }


    .login-card {

        padding:
            25px 20px;
    }


    .staff-selection,
    .queue-management {

        padding:
            22px;
    }


    .staff-tab {

        flex: none;
    }


    .doctor-avatar {

        width: 36px;

        height: 36px;

        font-size: 0.78rem;
    }


    .current-consultation strong {

        font-size: 3rem;
    }

}


@media (max-width: 480px) {

    .welcome-page h1 {

        font-size:
            2rem;
    }


    .welcome-page p {

        font-size:
            0.9rem;
    }


    .get-started-btn {

        width: 100%;

        max-width: 280px;
    }


    .big-token-number {

        font-size:
            4rem;
    }


    .token-main {

        padding:
            28px 18px;
    }


    .ticket-header {

        padding:
            20px;
    }


    .ticket-footer {

        padding:
            18px;
    }


    .staff-action-grid {

        grid-template-columns:
            1fr;
    }


    .current-consultation strong {

        font-size:
            2.7rem;
    }

}


/* ============================================================
   END OF STYLE.CSS
   ============================================================ */
/* ============================================================
    STAFF AUTH UI
   ============================================================ */

.staff-auth-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #cbd5e1;
}

.staff-auth-btn {
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.35);
    color: #00f2fe;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s ease;
}

.staff-auth-btn:hover {
    background: rgba(0, 242, 254, 0.22);
}

.staff-auth-name {
    color: #94a3b8;
}
