body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.loading-overlay.active {
    display: flex;
}

.loading-card {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.hero-section {
    background: linear-gradient(135deg, #f76707 0%, #d9480f 100%);
    color: white;
    padding: 2rem 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-bottom: 2rem;
}

.schedule-slot-card {
    background: white;
    border: 2px solid #e6e8eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.schedule-slot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f76707, #ff922b);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.schedule-slot-card:hover {
    border-color: #f76707;
    box-shadow: 0 4px 16px rgba(247, 103, 7, 0.12);
    transform: translateY(-2px);
}

.schedule-slot-card:hover::before {
    opacity: 1;
}

.schedule-slot-card.selected {
    border-color: #f76707;
    background: linear-gradient(135deg, #fff8f1 0%, #fff2e6 100%);
    box-shadow: 0 4px 20px rgba(247, 103, 7, 0.18);
}

.schedule-slot-card.selected::before {
    opacity: 1;
}

.schedule-slot-card .slot-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.schedule-slot-card.selected .slot-check {
    border-color: #f76707;
    background: #f76707;
    color: white;
}

.schedule-slot-card .slot-time-range {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d273b;
    letter-spacing: 0.3px;
}

.schedule-slot-card .slot-day-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f76707;
    background: #fff2e6;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.schedule-slot-card .slot-duration {
    font-size: 0.75rem;
    color: #929dab;
}

.time-dropdown-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 300px;
}

.time-select-wrapper {
    flex: 1;
}

.time-select-wrapper select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4b5563;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.time-select-wrapper select:focus,
.time-select-wrapper select:hover {
    border-color: #f76707;
    box-shadow: 0 0 0 3px rgba(247, 103, 7, 0.1);
}

.btn-time-confirm {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.step-section {
    animation: slideDown 0.35s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-booking {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem;
    letter-spacing: 0.3px;
    transition: all 0.2s;
}

.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.flatpickr-day.is-full {
    position: relative;
    opacity: 0.8 !important;
    background-color: #fdf2f2 !important;
    border-color: #fdf2f2 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    color: #a1aab5 !important;
}

.full-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 900;
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.15);
    border-radius: 4px;
    padding: 2px 4px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.doctor-summary {
    background-color: #fff2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.doc-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #fff;
    color: #f76707;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.poli-badge {
    background-color: #ebfbee;
    color: #2f9e44;
    border: 1px solid #d3f9d8;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.doctor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d273b;
    margin: 0;
}

@media (max-width: 767.98px) {
    .doctor-summary {
        padding: 1rem;
    }

    .doctor-summary.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .doc-avatar {
        width: 72px;
        height: 72px;
    }

    .time-dropdown-group {
        flex-wrap: wrap;
        max-width: none;
    }

    .btn-time-confirm {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .container-xl {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    #datePicker,
    #search_value,
    #input_no_wa,
    #input_email,
    #input_tipe_pembayaran {
        font-size: 1rem;
    }
}