/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'cormorantregular';
}

body {
    background: #f0f2f5;
    color: #333;
    line-height: 1.6;
	padding: 0px;
	font-family: 'cormorantregular';
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.5em;
}

/* Форма бронирования */
.booking-form {
    display: grid;
    grid-gap: 20px;
    margin-bottom: 40px;
}

.form-group {
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

select, 
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

select:focus,
input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

/* Календарь */
.calendar-wrapper {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 15px;
}

.day {
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.day:hover:not(.booked) {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.booked {
    background: #ff4757;
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.selected {
    background: #2ecc71;
    color: white;
}

/* Кнопка */
button[type="submit"] {
    background: #3498db;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

button[type="submit"]:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Сообщения */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.alert-success {
    background: #2ecc71;
    color: white;
}

.alert-error {
    background: #ff4757;
    color: white;
}

.alert-icon {
    margin-right: 10px;
    font-size: 20px;
}
/* Стили для поля телефона */
input[type="tel"] {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23999" viewBox="0 0 16 16"><path d="M11 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h6zM5 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H5z"/><path d="M8 14a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>') no-repeat 95% center/15px;
}

input:invalid:not(:placeholder-shown) {
    border-color: #ff4757;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .booking-container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    button[type="submit"] {
        width: 100%;
    }
}