﻿

















:root {
    --primary-color: #0075ff;
    --primary-gradient: linear-gradient(135deg, #0075ff 0%, #13e2fc 100%);
    --secondary-color: #f6fafd;
    --accent-color: #f0f7ff;
    --text-color: #1e293b;
    --light-text: #6693b9;
    --error-color: #ff4d6d;
    --success-color: #20c997;
    --border-radius: 18px;
    --border-radius-sm: 12px;
    --box-shadow: 0 8px 32px rgba(0, 117, 255, 0.10), 0 1.5px 6px rgba(30,41,59,0.06);
    --transition: all 0.3s cubic-bezier(0.22,0.61,0.36,1);
    --glass-bg: rgba(255,255,255,0.88);
    --glass-border: 1.5px solid rgba(0,117,255,0.11);
    --glow: 0 0 24px 0 rgba(0,117,255,0.11);
    --focus-glow: 0 0 0 4px rgba(0,117,255,0.14);
    --shadow-inner: 0 2px 4px 0 rgba(19,226,252,0.08);
}

body {
    background: var(--primary-gradient);
    min-height: 100vh;
    color: var(--text-color);
    background-attachment: fixed;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.booking-container {
    width: 100%;
    max-width: 480px;
    margin: 2.5rem auto;
    padding: 2.4rem 2.2rem 2.7rem 2.2rem;
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow), var(--glow);
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s cubic-bezier(0.22,0.61,0.36,1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* STEP VISIBILITY: Only show .step.active by default */
.step {
    display: none;
    opacity: 0;
    pointer-events: none;
    animation: fadeInStep 0.5s cubic-bezier(0.22,0.61,0.36,1);
}

    .step.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
        animation: fadeInStep 0.5s cubic-bezier(0.22,0.61,0.36,1);
    }

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    color: var(--primary-color);
    text-align: center;
    font-weight: 800;
    font-size: 2.1rem;
    margin-bottom: 2.1rem;
    position: relative;
    letter-spacing: -0.8px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 18px #0075ff22;
    padding-bottom: 1rem;
}

    .step-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, #13e2fc, #0075ff);
        border-radius: 2px;
        opacity: 0.7;
    }

.option-card {
    border: 1.7px solid #dde4ea;
    border-radius: var(--border-radius-sm);
    padding: 1.6rem 1.2rem 1.5rem 1.2rem;
    margin-bottom: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-inner);
}

    .option-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 7px 22px #0075ff17;
        border-color: #b8e1fc;
    }

    .option-card.selected {
        border: 1.7px solid var(--primary-color);
        background-color: var(--secondary-color);
        box-shadow: 0 8px 22px #13e2fc24;
        transform: translateY(-3px) scale(1.015);
    }

        .option-card.selected::before {
            content: '✓';
            position: absolute;
            top: 5px;
            right: 5px;
            width: 28px;
            height: 28px;
            background: var(--primary-color);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: bold;
            box-shadow: 0 2px 8px #0075ff23;
            z-index: 2;
        }

.option-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2.1rem;
}

    .option-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background-color: #e0f1ff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
    }

.option-card[data-value*="Physical"] .option-title::before {
    content: '🩺';
    background-color: #e6f3ff;
}

.option-card[data-value*="Meet"] .option-title::before {
    content: '👋';
    background-color: #e0fafd;
}

.option-card[data-value*="Regular"] .option-title::before {
    content: '📅';
    background-color: #fff5e6;
}

.option-description {
    font-size: 0.98rem;
    color: var(--light-text);
    line-height: 1.7;
    padding-left: 2.1rem;
}

.btn-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2.3rem;
    gap: 1.15rem;
}

.btn {
    padding: 0.93rem 1.7rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px #0075ff13;
    background: var(--primary-gradient);
    color: #fff;
    margin-bottom: 0.18rem;
    position: relative;
    overflow: hidden;
}

.btn-next {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 16px #0075ff2e;
}

    .btn-next:disabled, .btn[disabled] {
        background: #dde4ea;
        color: #b8e1fc;
        box-shadow: none;
        cursor: not-allowed;
        opacity: 0.7;
    }

    .btn-next:hover:not(:disabled), .btn-next:focus:not(:disabled) {
        background: linear-gradient(135deg,#0061d6 0%,#03e9f4 100%);
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 4px 22px #0075ff22;
    }

.btn-back {
    background: #eaf6ff;
    color: #3987c5;
    border: 2px solid #b8e1fc;
    box-shadow: none;
}

    .btn-back:hover {
        background: #e0f7ff;
        color: #057cf2;
        border-color: #13e2fc;
    }

.calendar-container {
    margin: 2.3rem 0 1.2rem 0;
    background: #fff;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-inner);
}

.form-control {
    width: 100% !important;
    outline: none;
    border: none;
    height: 100%;
    border-radius: var(--border-radius-sm);
    padding: 1.1rem 1.35rem !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.08rem;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: 1.8px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-inner);
}

    .form-control:focus {
        border-color: #13e2fc;
        background-color: #fff;
        box-shadow: var(--focus-glow);
    }

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.05rem;
    margin-top: 1.6rem;
}

.time-slot {
    padding: 1.1rem 0.7rem;
    text-align: center;
    border: 1.6px solid #dde4ea;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    background: #fff;
    color: var(--text-color);
    font-size: 1.01rem;
    box-shadow: var(--shadow-inner);
    position: relative;
}

    .time-slot:hover {
        border-color: #13e2fc;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 4px 12px #13e2fc15;
        color: #057cf2;
    }

    .time-slot.selected {
        background: var(--primary-gradient);
        color: #fff;
        border-color: #13e2fc;
        box-shadow: 0 4px 16px #13e2fc33;
        transform: translateY(-2px) scale(1.01);
        animation: pulse 0.5s ease;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.time-slot.disabled {
    background: #f6fafd;
    color: #b8e1fc;
    cursor: not-allowed;
    position: relative;
    opacity: 0.6;
    border-color: #e0eaff;
}

    .time-slot.disabled::after {
        content: '✕';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.2rem;
        color: #ff4d6d;
        opacity: 0.5;
        pointer-events: none;
    }

.confirmation-details {
    background: var(--accent-color);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin: 2.5rem 0;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 12px #057cf214;
}

.detail-item {
    margin-bottom: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px dashed #dde4ea;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .detail-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.detail-label {
    font-weight: 700;
    color: #057cf2;
    min-width: 138px;
    font-size: 1.03rem;
    display: flex;
    align-items: center;
}

    .detail-label::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #13e2fc;
        margin-right: 0.65rem;
    }

.detail-value {
    color: #275b9f;
    font-weight: 600;
    padding-left: 1.1rem;
    font-size: 1.06rem;
}

.loading {
    display: inline-flex;
    align-items: center;
    color: #6693b9;
    font-style: italic;
    font-size: 1.1rem;
    padding: 2rem 0;
}

    .loading::after {
        content: '...';
        animation: dots 1.5s steps(5, end) infinite;
        letter-spacing: 2px;
    }

@keyframes dots {
    0%, 20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%, 100% {
        content: '...';
    }
}

.no-slots {
    color: #b8e1fc;
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

/* Responsive styles */
@media (max-width: 768px) {
    .booking-container {
        margin: 1.1rem;
        padding: 1.15rem 0.7rem 1.3rem 0.7rem;
        border-radius: var(--border-radius-sm);
    }

    .step-title {
        font-size: 1.35rem;
    }

    .btn-container {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem;
    }

    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-label {
        margin-bottom: 0.3rem;
        min-width: auto;
    }

    .detail-value {
        padding-left: 1.3rem;
    }

    .option-title, .option-description {
        padding-left: 0;
    }

        .option-title::before {
            position: relative;
            top: auto;
            transform: none;
            margin-right: 0.7rem;
        }
}

/* Decorative floating blobs background (to match login/signup) */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

body::before {
    width: 340px;
    height: 340px;
    top: -130px;
    left: -110px;
    background: radial-gradient(ellipse at center, #bfefff 0%, #9be2ff 60%, rgba(255,255,255,0.0) 100%);
    opacity: 0.55;
    filter: blur(3px);
}

body::after {
    width: 260px;
    height: 260px;
    bottom: -90px;
    right: -80px;
    background: radial-gradient(ellipse at center, #13e2fc 0%, #0075ff 80%, rgba(255,255,255,0.0) 100%);
    opacity: 0.20;
    filter: blur(7px);
}

/* Subtle animated border highlight on focus */
.form-control:focus {
    animation: inputGlow 0.25s;
}

@keyframes inputGlow {
    0% {
        box-shadow: 0 0 0 0 #13e2fc20;
    }

    100% {
        box-shadow: 0 0 0 4px #13e2fc20;
    }
}



















.booking-loader-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,117,255,0.10);
    justify-content: center;
    align-items: center;
    animation: fadeIn .3s;
}

.booking-loader {
    background: var(--glass-bg, #fff);
    border-radius: 18px;
    box-shadow: var(--box-shadow, 0 8px 32px rgba(0, 117, 255, 0.10));
    padding: 3rem 2.5rem;
    text-align: center;
    border: var(--glass-border, 1.5px solid rgba(0,117,255,0.11));
}

    .booking-loader .spinner {
        border: 6px solid #eaf6ff;
        border-top: 6px solid var(--primary-color, #0075ff);
        border-radius: 50%;
        width: 48px;
        height: 48px;
        margin: 0 auto 1.3rem;
        animation: spin 1s linear infinite;
    }

    .booking-loader .loader-text {
        font-weight: 600;
        color: var(--primary-color, #0075ff);
        font-size: 1.18rem;
        letter-spacing: 0.02em;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}






































/* ... existing CSS ... */

/* Loader animation for timeSlotsContainer */
#timeSlotsLoader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    margin: 20px 0;
}

.loader-appointment {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .loader-appointment .loader-bars {
        display: flex;
        gap: 4px;
        height: 32px;
    }

    .loader-appointment .loader-bar {
        width: 8px;
        height: 100%;
        border-radius: 4px;
        background: linear-gradient(120deg, #42e695, #3bb2b8);
        animation: loader-bar-bounce 1.2s infinite;
        opacity: 0.85;
    }

        .loader-appointment .loader-bar:nth-child(1) {
            animation-delay: 0s;
        }

        .loader-appointment .loader-bar:nth-child(2) {
            animation-delay: 0.2s;
        }

        .loader-appointment .loader-bar:nth-child(3) {
            animation-delay: 0.4s;
        }

        .loader-appointment .loader-bar:nth-child(4) {
            animation-delay: 0.6s;
        }

        .loader-appointment .loader-bar:nth-child(5) {
            animation-delay: 0.8s;
        }

@keyframes loader-bar-bounce {
    0%, 100% {
        transform: scaleY(0.4);
        background: linear-gradient(120deg, #42e695, #3bb2b8);
    }

    40% {
        transform: scaleY(1.0);
        background: linear-gradient(120deg, #f54ea2, #ff7676);
    }

    70% {
        transform: scaleY(0.7);
    }
}

.loader-appointment .loader-text {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #2e7571;
    letter-spacing: 0.03em;
    animation: loader-text-fade 1.4s infinite ease-in-out;
}

@keyframes loader-text-fade {
    0%, 100% {
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }
}