/* Treatments Slider */
.treatments-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.treatments-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.treatment-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.treatment-slide.active {
    opacity: 1;
}

.treatment-card-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.treatment-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.treatment-card-large:hover .treatment-image img {
    transform: scale(1.05);
}

.treatment-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.treatment-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.treatment-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0.9;
}

.treatment-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-item.price {
    color: #ffd700;
}

.select-treatment-btn {
    align-self: center;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    transition: all 0.3s ease;
}

.select-treatment-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slider-btn i {
    font-size: 1.2rem;
    color: #333;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Booking Steps */
.booking-steps {
    margin-top: 50px;
    animation: slideInUp 0.5s ease;
}

.booking-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.booking-step.active {
    display: block;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #333;
    flex: 1;
}

.selected-treatment-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.selected-treatment-info span {
    font-size: 0.9rem;
    color: #666;
}

.back-step-btn {
    background: rgba(255,255,255,0.8);
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-step-btn:hover {
    background: white;
    transform: translateX(5px);
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.calendar-month-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.available {
    background: #4CAF50;
}

.legend-color.booked {
    background: #f44336;
}

.legend-color.disabled {
    background: #ccc;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day-header {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
}

.calendar-day {
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.calendar-day.available {
    background: #e8f5e8;
    color: #2e7d32;
}

.calendar-day.available:hover {
    background: #4CAF50;
    color: white;
    transform: scale(1.1);
}

.calendar-day.booked {
    background: #ffebee;
    color: #c62828;
    cursor: not-allowed;
}

.calendar-day.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: #667eea;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Time Slots */
.selected-date-display {
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.time-slot {
    padding: 15px 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    background: white;
}

.time-slot:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
}

.time-slot.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}

.time-slot.unavailable:hover {
    transform: none;
    background: #f5f5f5;
    border-color: #ddd;
}

/* Form Styles */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.booking-summary-mobile {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.booking-summary-mobile h4 {
    margin: 0 0 15px 0;
    text-align: center;
}

.summary-content {
    display: grid;
    gap: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-item.total {
    border-top: 1px solid rgba(255,255,255,0.3);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control.error {
    border-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-payment {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .treatments-slider-container {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .treatment-card-large {
        min-height: 400px;
        border-radius: 0;
    }
    
    .treatment-content {
        padding: 20px;
    }
    
    .treatment-content h3 {
        font-size: 1.5rem;
    }
    
    .treatment-details {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .step-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .step-header h3 {
        font-size: 1.4rem;
    }
    
    .selected-treatment-info {
        align-items: center;
    }
    
    .calendar-container {
        padding: 15px;
    }
    
    .calendar-legend {
        gap: 10px;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .calendar-day {
        padding: 8px;
        min-height: 35px;
        font-size: 0.9rem;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .time-slot {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .booking-summary-mobile {
        padding: 15px;
    }
    
    .btn-payment {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .treatment-content h3 {
        font-size: 1.3rem;
    }
    
    .treatment-description {
        font-size: 1rem;
    }
    
    .select-treatment-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .calendar-grid {
        gap: 3px;
    }
    
    .calendar-day {
        padding: 6px;
        min-height: 30px;
        font-size: 0.8rem;
    }
    
    .time-slots-grid {
        grid-template-columns: 1fr;
    }
}
