﻿/* Superhero Theme for FullCalendar */
#cal {
    max-width: 900px;
    margin: 0 auto;
}

/* Calendar Container */
.fc {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3), 0 0 20px rgba(0, 123, 255, 0.2);
}

    /* Header */
    .fc .fc-toolbar.fc-header-toolbar {
        background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .fc .fc-toolbar-title {
        color: #ffd700 !important;
        font-weight: bold !important;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.5);
        font-size: 1.5rem !important;
    }

    /* Navigation Buttons */
    .fc .fc-button-primary {
        background: linear-gradient(135deg, #e94560 0%, #c1272d 100%) !important;
        border: 2px solid #ffd700 !important;
        color: #fff !important;
        font-weight: bold !important;
        text-transform: uppercase;
        border-radius: 8px !important;
        box-shadow: 0 4px 10px rgba(233, 69, 96, 0.4);
        transition: all 0.3s ease !important;
    }

        .fc .fc-button-primary:hover {
            background: linear-gradient(135deg, #ff6b6b 0%, #e94560 100%) !important;
            border-color: #fff !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
        }

        .fc .fc-button-primary:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

    /* Calendar Grid */
    .fc .fc-scrollgrid {
        border: 2px solid #0f3460 !important;
        border-radius: 10px;
        overflow: hidden;
    }

    /* Day Headers */
    .fc .fc-col-header-cell {
        background: linear-gradient(135deg, #16213e 0%, #0f3460 100%) !important;
        border-color: #0f3460 !important;
        padding: 12px 0 !important;
    }

    .fc .fc-col-header-cell-cushion {
        color: #ffd700 !important;
        font-weight: bold !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }

    /* Day Cells */
    .fc .fc-daygrid-day {
        background: #16213e !important;
        border-color: #0f3460 !important;
        transition: all 0.3s ease;
    }

        .fc .fc-daygrid-day:hover {
            background: #1a2948 !important;
            box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.3);
        }

    .fc .fc-daygrid-day-number {
        color: #e0e0e0 !important;
        font-weight: bold !important;
        padding: 8px !important;
        font-size: 1.1rem;
    }

    /* Today's Date */
    .fc .fc-day-today {
        background: linear-gradient(135deg, #0f3460 0%, #16213e 100%) !important;
        box-shadow: inset 0 0 15px rgba(255, 215, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.3);
    }

        .fc .fc-day-today .fc-daygrid-day-number {
            color: #ffd700 !important;
            font-size: 1.3rem !important;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
        }

    /* Selected Date */
    .fc .fc-daygrid-day.fc-day-selected,
    .fc .fc-daygrid-day[style*="background-color"] {
        background: linear-gradient(135deg, #e94560 0%, #c1272d 100%) !important;
        box-shadow: 0 0 20px rgba(233, 69, 96, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.2);
    }

    /* Past/Disabled Dates */
    .fc .fc-day-past:not(.fc-day-today) {
        background: #0d1117 !important;
        opacity: 0.4;
        cursor: not-allowed;
    }

    .fc .fc-day-past .fc-daygrid-day-number {
        color: #555 !important;
    }

/* Time Slots Section */
.time-slots {
    margin-top: 30px;
    display: none;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

    .time-slots h3 {
        margin-bottom: 20px;
        text-align: center;
        color: #ffd700;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.5);
        font-size: 1.5rem;
    }

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.time-slot-btn {
    padding: 12px;
    border: 2px solid #0f3460;
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: #e0e0e0;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

    .time-slot-btn:hover {
        background: linear-gradient(135deg, #e94560 0%, #c1272d 100%);
        color: white;
        border-color: #ffd700;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
    }

    .time-slot-btn.selected {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: #1a1a2e;
        border-color: #e94560;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 4px 15px rgba(233, 69, 96, 0.4);
    }

/* Modal Superhero Theme Styling */
.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%) !important;
    border-bottom: 2px solid #ffd700 !important;
    border-radius: 13px 13px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    flex-direction: row-reverse !important;
}

    .modal-header .modal-title {
        color: #ffd700 !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.5) !important;
        margin: 0 !important;
        text-align: right !important;
    }

    .modal-header .close {
        color: #ffd700 !important;
        text-shadow: none !important;
        opacity: 1 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        font-size: 1.8rem !important;
        line-height: 1 !important;
        cursor: pointer !important;
        position: relative !important;
        width: auto;
    }

        .modal-header .close:hover {
            color: #fff !important;
        }

.modal-body {
    background: transparent;
    color: #e0e0e0;
}

    .modal-body h4 {
        color: #ffd700;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .modal-body .text-muted {
        color: #b0b0b0 !important;
    }

    .modal-body .form-label {
        color: #ffd700;
        font-weight: bold;
    }

    .modal-body .form-control {
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid #0f3460;
        color: #e0e0e0;
        border-radius: 8px;
    }

        .modal-body .form-control:focus {
            background: rgba(255, 255, 255, 0.15);
            border-color: #ffd700;
            color: #fff;
            box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
        }

        .modal-body .form-control::placeholder {
            color: #888;
        }

    .modal-body .alert-info {
        background: rgba(15, 52, 96, 0.5);
        border: 1px solid #0f3460;
        color: #b0b0b0;
    }

.modal-footer {
    background: transparent;
    border-top: 2px solid #0f3460;
}

/* Number Selector */
.number-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 10px;
    border: 1px solid #0f3460;
}

    .number-selector label {
        font-weight: bold;
        color: #ffd700;
        flex: 1;
    }

.number-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.number-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: #ffd700;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

    .number-btn:hover {
        background: linear-gradient(135deg, #e94560 0%, #c1272d 100%);
        border-color: #ffd700;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.6);
    }

.number-display {
    font-size: 20px;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    color: #ffd700;
}

.submit-booking-btn {
    background: linear-gradient(135deg, #e94560 0%, #c1272d 100%);
    border: 2px solid #ffd700;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    padding: 10px 25px;
    transition: all 0.3s;
}

    .submit-booking-btn:hover {
        background: linear-gradient(135deg, #ff6b6b 0%, #e94560 100%);
        border-color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
    }

.btn-secondary {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border: 2px solid #0f3460;
    color: #e0e0e0;
    font-weight: bold;
    border-radius: 8px;
}

    .btn-secondary:hover {
        background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
        border-color: #ffd700;
        color: #ffd700;
    }

/* Wizard Steps Styling */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 20px;
    margin-bottom: 30px;
}

    .wizard-steps::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 20%;
        right: 20%;
        height: 2px;
        background: #0f3460;
        z-index: 0;
    }

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #0f3460;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step-title {
    font-size: 14px;
    color: #888;
    text-align: center;
}

.step-item.active .step-number {
    background: linear-gradient(135deg, #e94560 0%, #c1272d 100%);
    border-color: #ffd700;
    color: white;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.6);
}

.step-item.active .step-title {
    color: #ffd700;
    font-weight: bold;
}

.step-item.completed .step-number {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border-color: #ffd700;
    color: #ffd700;
}

.step-item.completed .step-title {
    color: #ffd700;
}

.wizard-content {
    min-height: 300px;
    padding: 20px 0;
}

/* Summary Card Styling */
.summary-card {
    background: rgba(15, 52, 96, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #0f3460;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #0f3460;
}

    .summary-item:last-child {
        border-bottom: none;
    }

.summary-label {
    font-weight: bold;
    color: #ffd700;
}

.summary-value {
    color: #e0e0e0;
}

.summary-total {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    margin: 10px -20px -20px;
    padding: 15px 20px;
    border-radius: 0 0 8px 8px;
    font-size: 1.1rem;
    border-top: 2px solid #ffd700;
}

    .summary-total .summary-label {
        color: #ffd700;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

    .summary-total .summary-value {
        color: #ffd700;
        font-weight: bold;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }

/* OTP Modal Styling */
.otp-modal {
    z-index: 1060 !important;
}

    .otp-modal .modal-backdrop {
        z-index: 1055 !important;
    }

.otp-container {
    text-align: center;
    padding: 20px 0;
}

.otp-info {
    color: #b0b0b0;
    margin-bottom: 30px;
    font-size: 14px;
}

    .otp-info strong {
        color: #ffd700;
    }

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.otp-input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #0f3460;
    border-radius: 10px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
}

    .otp-input:focus {
        outline: none;
        border-color: #ffd700;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.4);
    }

    .otp-input.filled {
        border-color: #ffd700;
        background: rgba(255, 215, 0, 0.15);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    }

    .otp-input.error {
        border-color: #e94560;
        background: rgba(233, 69, 96, 0.15);
        animation: shake 0.5s;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.resend-otp {
    margin-top: 20px;
    color: #b0b0b0;
    font-size: 14px;
}

    .resend-otp button {
        background: none;
        border: none;
        color: #ffd700;
        text-decoration: underline;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.3s;
    }

        .resend-otp button:hover {
            color: #fff;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
        }

        .resend-otp button:disabled {
            color: #555;
            cursor: not-allowed;
            text-decoration: none;
        }

.countdown {
    color: #888;
    font-size: 14px;
    margin-top: 10px;
}
