
    /* Studio Booking System - Modern Responsive Design */
#studio-booking-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.booking-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.booking-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #d0d0d0;
    z-index: 1;
}

.progress-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

.progress-step.active .step-number {
    background: #000;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.progress-step.completed .step-number {
    background: #222;
    color: white;
}

.booking-step {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

.booking-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h3 {
    color: #111;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.step-header p {
    color: #555;
    font-size: 14px;
}

.date-picker-container {
    text-align: center;
}

#booking-date {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
}

#booking-date:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
    outline: none;
}

.studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.studio-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.studio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    transition: left 0.5s;
}

.studio-card:hover::before {
    left: 100%;
}

.studio-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.studio-card.selected {
    border-color: #000;
    background: #f7f7f7;
    transform: translateY(-2px);
}


.studio-card.not-available {
    opacity: 0.6;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    cursor: not-allowed;
}

.studio-card.not-available:hover {
    transform: none;
    box-shadow: none;
    border-color: #e9ecef;
}

.studio-card.available {
    cursor: pointer;
}

.studio-availability {
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.studio-card.available .studio-availability {
    background: #d4edda;
    color: #155724;
}

.studio-card.not-available .studio-availability {
    background: #f8d7da;
    color: #721c24;
}


.available-times-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.available-times-section h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 16px;
}

.time-ranges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.time-range-item {
    background: white;
    padding: 12px 15px;
    border: 2px solid #28a745;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.time-range-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.time-range {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.duration-badge {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.available-summary {
    text-align: center;
    padding: 10px;
    background: #e8f5e8;
    border-radius: 6px;
    color: #155724;
    font-size: 14px;
}

.no-slots {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

.studio-image {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #eaeaea;
}

.studio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-card h4 {
    color: #111;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.studio-card .studio-description {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.studio-hours {
    background: #eee;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: #222;
    display: inline-block;
}


.durations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.duration-btn {
    background: white;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.duration-btn:hover {
    border-color: #000;
    transform: translateY(-2px);
}

.duration-btn.selected {
    background: #5555;
    color: white;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.duration-price {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 5px;
}


.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.slot-btn {
    background: white;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.slot-btn:hover {
    border-color: #000;
    transform: translateY(-2px);
}

.slot-btn.selected {
    background: #000;
    color: white;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}


.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #111;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
    outline: none;
}


.booking-summary {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid #000;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.1em;
    color: #111;
}


.nav-btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: white !important;
}

.btn-prev {
    background: #444 !important;
    color: white !important;
}

.btn-prev:hover {
    background: #222 !important;
    transform: translateX(-2px);
    color: white !important;
}

.btn-next {
    background: #000;
    color: white !important;
}

.btn-next:hover {
    transform: translateX(2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    color: white !important;
}

.btn-next:disabled {
    background: #aaa;
    cursor: not-allowed;
    color: black !important;
}

#btn-proceed-payment {
    background: #000;
    color: white;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    color: white !important;
}

#btn-proceed-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    color: white !important;
}

#btn-proceed-payment:disabled {
    background: #aaa;
    cursor: not-allowed;
    color: black !important;
}


.message-success {
    background: #e8e8e8;
    color: #111;
    border: 1px solid #ccc;
}

.message-error {
    background: #f0f0f0;
    color: #000;
    border: 1px solid #ccc;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #555;
}



.terms-agreement {
    transition: all 0.3s ease;
}

.terms-agreement:has(#terms-checkbox:checked) {
    background: #e8f5e9;
    border-left-color: #4caf50;
}

#terms-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#terms-checkbox:checked {
    accent-color: #4caf50;
}

#btn-proceed-payment:disabled {
    background: #cccccc !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

    .loading-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #667eea;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 15px;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        #studio-booking-form {
            margin: 10px;
        }
        
        .booking-step {
            padding: 20px;
        }
        
        .booking-progress {
            margin-bottom: 20px;
        }
        
        .step-label {
            font-size: 10px;
        }
        
        .studios-grid {
            grid-template-columns: 1fr;
        }
        
        .durations-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .slots-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .step-navigation {
            flex-direction: column;
            gap: 10px;
        }
        
        .nav-btn {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .durations-grid {
            grid-template-columns: 1fr;
        }
        
        .slots-grid {
            grid-template-columns: 1fr;
        }
        
        .step-number {
            width: 35px;
            height: 35px;
            font-size: 14px;
        }
    }


.info-message {
    background: #e7f3ff;
    border-left: 4px solid #2196F3;
    color: #0a4b78;
    font-size: 14px;
    margin: 15px 0;
    padding: 12px;
    border-radius: 5px;
}
    