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

body {
    font-family: 'Roboto', sans-serif;
    background: #f9f9f9;
    color: #333;
}

.main-header {
    padding: 16px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-decoration: none; /* Убираем подчёркивание */
    color: inherit; /* Сохраняем цвет текста от дочерних элементов */
}

.logo:hover {
    text-decoration: none; /* Убираем подчёркивание при наведении */
}

.oyna {
    color: #6C63FF;
}

.space {
    color: #666;
    margin-left: 3px;
}

.oyna {
    color: #6C63FF; /* Основной цвет Oyna */
}

.space {
    color: #666;
    margin-left: 3px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}


.booking-section {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #f7f9fc, #ffffff);
}

.booking-section h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.booking-section p {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
}

.booking-form {
    background: linear-gradient(180deg, #F9FBFF 0%, #EDF4FA 100%);
    padding: 32px 24px 24px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    max-width: 500px;
    margin: -48px auto 0 auto;
    position: relative;
    z-index: 2;
}

.booking-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.booking-form input[type="datetime-local"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.booking-form p {
    font-size: 16px;
    margin: 15px 0;
}

.booking-form button {
    margin-top: 20px;
    background: #FF6A28; /* Цвет кнопки Oyna */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.booking-form button:hover {
    background: #e05b2c;
}

#booking-result {
    margin-top: 20px;
}

.calendar-section {
    padding: 40px 20px;
    background: #eef2f7;
    text-align: center;
}

.calendar-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#calendar {
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.burger {
    font-size: 26px;
    cursor: pointer;
    display: none;
    z-index: 1001;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.pending-slot {
    background-color: rgba(255, 193, 7, 0.6); /* мягкий жёлтый */
    border: 1px solid #ffc107;
    color: black;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        padding: 10px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        padding: 10px 15px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
    }
        .nav-links a:last-child {
        border-bottom: none;
    }

    .burger {
        display: block;
    }

    .booking-section, .calendar-section {
        padding: 20px 10px;
    }
    .desc-toggle-link {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}


}

.booking-info-banner {
    background: linear-gradient(120deg, #5D7EFF 15%, #D0ECFF 100%);
    color: white;
    padding: 32px 24px 64px 24px;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* ← СТАВИМ ВЕРТИКАЛЬНО */
    align-items: center;     /* ← ЦЕНТРИРУЕМ ГОРИЗОНТАЛЬНО */
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}


.banner-icon {
    font-size: 24px;
}

.banner-text {
    font-size: 16px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center; /* ← ЭТО ТОЖЕ */
    text-align: center;
}



.fc-event.booked-slot {
    background-color: #FF8C4B !important;
    border: none !important;
    color: white !important;
    font-weight: 500;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 14px;
    text-align: center;
}

.fc-bgevent {
    background-color: #ccc !important;
    opacity: 0.6;
}


@media (max-width: 768px) {
    .calendar-section .fc-event {
        font-size: 12px;
    }
    .calendar-section .fc-daygrid-day-number {
        font-size: 14px;
    }
    .calendar-section .fc-col-header-cell {
        font-size: 14px;
    }
    .calendar-section .fc-timegrid-slot-label {
        font-size: 12px;
    }
    .calendar-section .fc-toolbar-title {
        font-size: 16px;
    }
    .calendar-section .fc-button {
        font-size: 10px;
        padding: 3px 6px;
        min-width: auto;
    }
}



