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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
}

.booking-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    text-align: center;
}

.booking-card h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.booking-card.success-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.booking-card.success-card h1 {
    color: white;
}

.question {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.instruction {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.message {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-yes {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-no {
    background: #f0f0f0;
    color: #333;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.success-card .btn-primary {
    background: white;
    color: #667eea;
}

.success-card .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.icon {
    font-size: 1.2em;
}

/* Calendar Styles */
.calendar-container {
    margin: 30px 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h2 {
    color: #333;
    font-size: 1.5em;
}

.nav-btn {
    background: #f0f0f0;
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.day-header {
    font-weight: 700;
    color: #667eea;
    text-align: center;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 8px;
}

.day {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.day.empty {
    background: transparent;
}

.day.disabled {
    color: #ccc;
    background: #f5f5f5;
}

.day.today {
    background: #667eea;
    color: white;
}

.day.available a {
    background: white;
    color: #333;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.day.available a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

/* Time Slots Styles */
.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.time-slot-group input[type="radio"] {
    display: none;
}

.time-slot-card {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    display: block;
    text-align: center;
}

.time-slot-card:hover {
    background: #e8e8e8;
    transform: translateY(-3px);
}

.time-slot-group input[type="radio"]:checked + .time-slot-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.time-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.time-slot-card h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #333;
}

.time-slot-group input[type="radio"]:checked + .time-slot-card h3 {
    color: white;
}

.time-slot-card p {
    font-size: 0.9em;
    color: #666;
}

.time-slot-group input[type="radio"]:checked + .time-slot-card p {
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

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

.booking-summary {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    text-align: left;
}

.booking-summary h2 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.booking-summary p {
    color: #555;
    margin-bottom: 8px;
    font-size: 1em;
}

.booking-summary strong {
    color: #667eea;
}

/* Success Page Styles */
.success-icon {
    width: 80px;
    height: 80px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 auto 20px;
}

.confirmation-details {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    text-align: left;
}

.confirmation-details h2 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.confirmation-details ul {
    list-style: none;
}

.confirmation-details li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-size: 1em;
}

/* Error Messages */
.message.error {
    background: #fee;
    color: #c33;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #fcc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-card {
        padding: 30px 20px;
    }
    
    .booking-card h1 {
        font-size: 2em;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .calendar-grid {
        gap: 3px;
    }
    
    .day {
        height: 40px;
        font-size: 0.9em;
    }
    
    .day-header {
        font-size: 0.8em;
        padding: 8px;
    }
    
    .time-slots-container {
        grid-template-columns: 1fr;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 15px;
    }
}