﻿
/* HERO SECTION */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    color: #fff;
    padding: 87px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-block;
    background: rgba(59,130,246,0.2);
    border: 1px solid rgba(96,165,250,0.3);
    padding: 8px 16px;
    border-radius: 30px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 750px;
    margin: auto auto 30px;
    font-size: 16px;
    line-height: 28px;
}

.book-btn {
    background: #2563eb;
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    transition: 0.3s;
}

    .book-btn:hover {
        background: #1d4ed8;
        color: #fff;
    }

/* FEATURE CARD */
.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
}

.feature-title {
    color: #1e3a8a;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
}

/* MODAL */
.modalBackground {
    background-color: rgba(0,0,0,0.65);
    position: fixed !important;
    inset: 0;
    z-index: 9998;
}

.modalPopup30 {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 95%;
    max-width: 50%;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
    border-radius: 20px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    -webkit-overflow-scrolling: touch;
}

.booking-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 15px;
}
/* Smooth scrollbar */
.modalPopup30::-webkit-scrollbar {
    width: 8px;
}

.modalPopup30::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {

    .modalPopup30 {
        width: 96%;
        max-width: 100%;
        border-radius: 16px;
    }

    .booking-wrapper {
        padding: 18px;
        border-radius: 18px;
    }
}

/* DATE */
.calendar-wrapper {
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.calendar-slider {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

    .calendar-slider::-webkit-scrollbar {
        height: 6px;
    }

    .calendar-slider::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 20px;
    }
    .date-card {
    min-width: 50px;
    border: 2px solid #dcdcdc;
    border-radius: 5px;
    padding: 1px;
    text-align: center;
    background: #ffffff;
    transition: 0.3s;
    flex-shrink: 0;
    }

    .date-card:hover {
        transform: translateY(-2px);
    }

    .active-date {
    background: #198754;
    color: #ffffff;
    border-color: #198754;
    }

    .active-date small,
    .active-date span {
        color: #ffffff;
    }

    .calendar-slider {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-behavior: smooth;
        padding-bottom: 10px;
        font-size:12px;
        font-weight:bold;
    }

    .calendar-slider::-webkit-scrollbar {
        display: none;
    }

@media(max-width:576px) {

    .date-card {
        min-width: 75px;
        padding: 10px;
    }

        .date-card h3 {
            font-size: 20px;
        }
}
/* TIME */
.time-label {
    font-size: 14px;
    font-weight: 700;
    color: #198754;
    margin-bottom: 1px;
    display: block;
}

.time-input {
    border-radius: 1px;
    height: 10px;
    border: 1px solid #cfe5d8;
    font-size: 14px;
    font-weight: 600;
}

/* SLOT */
.slot-container {
    border: 2px solid #cfe5d8;
    border-radius: 5px;
    padding: 7px;
    margin-top: 20px;
}

.slot-btn {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 2px solid #e5e5e5;
    background: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

    .slot-btn:hover {
        transform: scale(1.03);
        border-color: #198754;
    }

.selected-slot {
    background: #596275;
    color: #fff;
    border: none;
}

.booked-slot {
    background: #e62222;
    color: #000;
    border: none;
    cursor: not-allowed;
}

/* PAYMENT */
.payment-card {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

    .payment-card:hover {
        border-color: #1e3a8a;
    }

.payment-active {
    border-color: #1e3a8a;
    background: #eff6ff;
}

/* SUMMARY */
.summary-box {
    background: #f8fafc;
    border-radius: 2px;
    padding: 1px 14px;
    border: 1px solid #29aa05;
    font-size:12px;
}

.booking-footer {
    background: #fff;
}
.expired-slot {
    background-color: #e9ecef !important;
    border: 1px solid #ced4da !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.expired-slot:hover {
    background-color: #e9ecef !important;
}

/* MOBILE */
@media (max-width: 768px) {

    .hero-title {
        font-size: 32px;
    }

    .hero-section {
        padding: 30px 20px;
    }

    .modalPopup30 {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
    }

    .booking-wrapper {
        height: 100vh;
        max-height: 100vh;
        padding: 15px 15px 120px;
    }

    .modal-header-custom {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .booking-footer {
        position: sticky;
        bottom: 0;
        z-index: 1000;
        padding-top: 15px;
    }

    .slot-btn {
        height: 25px;
        font-size: 11px;
    }

    .time-input {
        height: 33px;
        font-size: 11px;
    }

    .date-card {
        min-width: 45px;
    }
}
