* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header h1 i {
    color: #3498db;
    margin-right: 15px;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Step Container */
.step {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

.step.active {
    display: block;
}

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

/* Step Header */
.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
}

.step-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group label i {
    margin-right: 10px;
    color: #3498db;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.error-message {
    color: #e74c3c;
    margin-top: 8px;
    font-size: 0.9rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1c5d87);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #ecf0f1;
    color: #7f8c8d;
}

.btn-secondary:hover {
    background: #d5dbdb;
    transform: translateY(-2px);
}

/* Type Selection */
.type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.type-option {
    background: white;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-option:hover {
    border-color: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.type-option.selected {
    border-color: #3498db;
    background: #f8fafc;
}

.type-option i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 15px;
}

.type-option h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.type-option p {
    color: #7f8c8d;
    margin-bottom: 15px;
}

.type-badge {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Day Selection */
.instruction {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: center;
}

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

.day-option {
    padding: 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.day-option:hover:not(.disabled) {
    border-color: #3498db;
    transform: translateY(-2px);
}

.day-option.selected {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.day-option.disabled {
    background: #f5f5f5;
    color: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Time Selection */
.time-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
}

.time-info p {
    margin-bottom: 10px;
    color: #2c3e50;
}

.time-info i {
    color: #3498db;
    margin-right: 10px;
}

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

.time-slot {
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.time-slot:hover:not(.booked) {
    border-color: #3498db;
    transform: translateY(-2px);
}

.time-slot.selected {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.time-slot.booked {
    background: #f8f9fa;
    color: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.booked::after {
    content: 'Booked';
    display: block;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 5px;
}

/* Confirmation */
.confirmation-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.detail-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.detail-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.detail-card h3 i {
    margin-right: 10px;
    color: #3498db;
}

.detail-card p {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Success Message */
#success-message {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: left;
    display: inline-block;
}

.success-details p {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

footer .note {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 10px;
    color: #856404;
    font-size: 1rem;
}

footer .note i {
    margin-right: 10px;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.loading p {
    color: #7f8c8d;
    margin: 5px 0;
}

.loading .small-note {
    font-size: 0.9rem;
    color: #95a5a6;
    font-style: italic;
}

.error {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
    background: #fff5f5;
    border-radius: 10px;
    border: 2px solid #fed7d7;
}

.error i {
    font-size: 2.5rem;
    color: #e53e3e;
    margin-bottom: 15px;
}

.error p {
    color: #718096;
    margin: 10px 0;
}

.no-slots {
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
    background: #f7fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.no-slots i {
    font-size: 2.5rem;
    color: #a0aec0;
    margin-bottom: 15px;
}

.no-slots p {
    color: #718096;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .type-options {
        grid-template-columns: 1fr;
    }
    
    .day-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .step-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .day-options {
        grid-template-columns: 1fr;
    }
}