:root {
    --primary-color: #71A600;
    --secondary-color: #f8f9fa;
    --accent-color: #f5a623;
    --text-color: #333;
    --light-text: #777;
    --border-color: #ddd;
    --current-day: #e3f2fd;
    --other-month: #f0f0f0;
    --hover-color: #f0f7ff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
    color: var(--text-color);
    background-color: #fff;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	
}

.logo {
    height: 60px;
    margin-right: 20px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 500;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}

.calendar-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

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

.calendar-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.calendar-header button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;

}


.calendar-header button:hover {
    background-color: #15445e;
}

.calendar-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

#calendar {
    table-layout: fixed;
}

#calendar th {
    padding: 10px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

#calendar td {
    border: 1px solid var(--border-color);
    height: 100px;
    vertical-align: top;
    padding: 5px;
    position: relative;
}

#calendar td:hover {
    background-color: var(--hover-color);
}

#calendar .day-number {
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: bold;
}

#calendar .event {
    font-size: 0.8rem;
    background-color: var(--accent-color);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: 20px;
    margin-bottom: 2px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

#calendar .event:hover {
    background-color: #e6951f;
}

#calendar .other-month {
    background-color: var(--other-month);
    color: var(--light-text);
}

#calendar .today {
    background-color: var(--current-day);
}

#calendar .today .day-number {
    color: var(--primary-color);
    font-weight: bold;
}

.events-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
	
}

.events-container h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
	
}

.table-wrapper {
    overflow-x: auto;
}

#events-table {
    width: 100%;
}

#events-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    text-align: left;
    font-weight: 500;
}

#events-table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

#events-table tr:nth-child(even) {
    background-color: var(--secondary-color);
}

#events-table tr:hover {
    background-color: var(--hover-color);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--light-text);
    cursor: pointer;
}

.close:hover {
    color: var(--text-color);
}

#modal-date {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-event {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.modal-event:last-child {
    border-bottom: none;
}

.modal-event h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.modal-event-time {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 5px;
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left, 
.footer-center, 
.footer-right {
    flex: 1;
    min-width: 200px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 1.1rem;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-center {
    text-align: center;
    font-size: 0.9rem;
}

.footer-contacts p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-left, 
    .footer-center, 
    .footer-right {
        width: 100%;
    }
    
    .footer-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #calendar td {
        height: 70px;
    }

    #calendar .event {
        font-size: 0.7rem;
        padding: 1px 3px;
    }

    .description-column {
        display: none;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    #calendar th, #calendar td {
        padding: 2px;
    }

    #calendar td {
        height: 60px;
    }

    .day-number {
        font-size: 0.8rem;
    }

    .calendar-header h2 {
        font-size: 1.2rem;
    }

    .calendar-header button {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Обновим стили для событий */
#calendar .event {
    font-size: 0.8rem;
    background-color: var(--accent-color); /* Будет переопределено inline-стилем */
    color: white; /* Будет переопределено inline-стилем */
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: 20px;
    margin-bottom: 2px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.1); /* Добавим легкую границу */
    transition: opacity 0.2s;
}

#calendar .event:hover {
    opacity: 0.9;
}

/* Годовой календарь - вертикальная компоновка */
.year-calendar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.year-month {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.year-month h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.year-month table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Фиксированная ширина ячеек */
}

.year-month th {
    padding: 8px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    height: 30px;
}

.year-month td {
    border: 1px solid var(--border-color);
    height: 50px; /* Фиксированная высота ячеек */
    width: 14.28%; /* Равномерное распределение по 7 дням */
    vertical-align: top;
    padding: 2px;
    position: relative;
    font-size: 0.8rem;
    overflow: hidden;
}

.year-month .day-number {
    position: absolute;
    top: 2px;
    right: 2px;
    font-weight: bold;
    font-size: 0.7rem;
}

.year-month .event {
    font-size: 0.7rem;
    background-color: var(--accent-color);
    color: white;
    padding: 1px 3px;
    border-radius: 2px;
    margin-top: 15px;
    margin-bottom: 1px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 100%;
    display: block;
}

.year-month .event:hover {
    opacity: 0.9;
}

.year-month .today {
    background-color: var(--current-day);
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .year-month td {
        height: 40px;
        font-size: 0.7rem;
    }
    
    .year-month .event {
        font-size: 0.6rem;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .year-month {
        padding: 10px;
    }
    
    .year-month td {
        height: 30px;
        font-size: 0.6rem;
    }
    
    .year-month .day-number {
        font-size: 0.6rem;
    }
    
    .year-month .event {
        font-size: 0.5rem;
        margin-top: 8px;
        padding: 0 2px;
    }
    
    .year-month h3 {
        font-size: 1.1rem;
    }
}

/* Общие стили для кнопок навигации */
.calendar-header button,
.year-calendar-header button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.calendar-header button:hover,
.year-calendar-header button:hover {
    background-color: #5a8c00; /* Темнее основной цвет */
    transform: scale(1.05);
}

.calendar-header button:active,
.year-calendar-header button:active {
    transform: scale(0.95);
}

/* Стили для заголовков календаря */
.calendar-header,
.year-calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.calendar-header h2,
.year-calendar-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 15px;
    min-width: 200px;
    text-align: center;
}

/* Иконки в кнопках */
.calendar-header button i,
.year-calendar-header button i {
    font-size: 1.2rem;
}

/* Стили для переключателей вида */
.view-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.view-switcher button {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--light-text);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-switcher button.active {
    background-color: var(--primary-color);
    color: white;
}

.view-switcher button:hover:not(.active) {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .calendar-header h2,
    .year-calendar-header h2 {
        font-size: 1.3rem;
        min-width: 180px;
    }
    
    .calendar-header button,
    .year-calendar-header button {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .calendar-header h2,
    .year-calendar-header h2 {
        font-size: 1.1rem;
        min-width: 150px;
    }
    
    .calendar-header button,
    .year-calendar-header button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .view-switcher button {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* Стили для кнопки печати */
.print-button {
    background-color: var(--accent-color) !important;
    margin-left: 15px;
}

.print-button:hover {
    background-color: #e6951f !important;
}

/* Стили для печатной версии */
@media print {
    body * {
        visibility: hidden;
    }
    
    #print-container, #print-container * {
        visibility: visible;
    }
    
    #print-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 20px;
    }
    
    .print-calendar {
        width: 100%;
        border-collapse: collapse;
        font-size: 12pt;
    }
    
    .print-calendar th {
        background-color: var(--primary-color) !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .print-calendar td {
        border: 1px solid var(--border-color) !important;
        height: 100px;
        vertical-align: top;
        padding: 5px;
    }
    
    .print-day-number {
        font-weight: bold;
        text-align: right;
    }
    
    .print-event {
        font-size: 0.8rem;
        padding: 2px 5px;
        border-radius: 3px;
        margin-top: 20px;
        margin-bottom: 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        border: 1px solid rgba(0, 0, 0, 0.1);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .print-other-month {
        background-color: var(--other-month) !important;
        color: var(--light-text) !important;
    }
    
    .print-today {
        background-color: var(--current-day) !important;
    }
    
    .print-header {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .print-footer {
        text-align: center;
        margin-top: 20px;
        font-size: 0.9rem;
        color: var(--light-text);
    }
    
    @page {
        size: A4 landscape;
        margin: 1cm;
    }
}

/* Общие стили для всех кнопок печати */
.print-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.print-button:hover {
    background-color: #e6951f;
    transform: scale(1.05);
}

.print-button:active {
    transform: scale(0.95);
}

/* Стили для заголовка годового календаря */
.year-calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

/* Слайдер партнеров */
.partners-slider {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.partners-title {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.slider-container {
    width: calc(100% - 100px);
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.slider-item {
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.slider-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.slider-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.slider-btn {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-btn:hover {
    background-color: #5a8c00;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .slider-container {
        width: calc(100% - 80px);
    }
    
    .slider-item {
        min-width: 160px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .partners-title {
        font-size: 1.2rem;
    }
    
    .slider-container {
        width: calc(100% - 60px);
    }
    
    .slider-item {
        min-width: 120px;
        padding: 10px;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}
/* Стили для кнопки списка мероприятий */
.events-list-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    margin-left: auto;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.events-list-button:hover {
    background-color: #e6951f;
    transform: scale(1.02);
}

.events-list-button i {
    font-size: 1.1rem;
}

/* Стили для модального окна списка мероприятий */
.large-modal {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.events-list-container {
    overflow-x: auto;
}

#all-events-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#all-events-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    text-align: left;
    position: sticky;
    top: 0;
}

#all-events-table td {
    padding: 8px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

#all-events-table tr:nth-child(even) {
    background-color: var(--secondary-color);
}

#all-events-table tr:hover {
    background-color: var(--hover-color);
}

@media (max-width: 768px) {
    .events-list-button {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .large-modal {
        width: 95%;
    }
    
    #all-events-table th,
    #all-events-table td {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

/* Стили для кнопки записи */
.registration-button {
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 140px;
    white-space: nowrap;
    font-weight: 500;
}

.registration-button.active {
    background-color: #4CAF50; /* Зеленый */
    color: white;
}

.registration-button.active:hover {
    background-color: #3e8e41;
    transform: scale(1.02);
}

.registration-button.completed {
    background-color: #FFD700; /* Желтый */
    color: #333;
    cursor: not-allowed;
}

.registration-button.closed {
    background-color: #f44336; /* Красный */
    color: white;
    cursor: not-allowed;
    opacity: 0.9;
}

.registration-button.unavailable {
    background-color: #9E9E9E; /* Серый */
    color: white;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Адаптивные стили для кнопки записи */
@media (max-width: 768px) {
    .registration-button {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 120px;
    }
}

/* Базовые стили для header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    position: relative;
}

.menu-button-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* Стили для кнопки списка мероприятий */
.events-list-button {
    background-color: #71A600;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.events-list-button.mobile-version {
    padding: 8px;
    width: 40px;
    justify-content: center;
}

.events-list-button .button-text {
    display: inline;
}

.events-list-button:hover {
    background-color: #5a8c00;
}

/* Стили для бургер-кнопки (мобильное меню) */
.burger-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

/* Модальное окно - адаптивные стили */
.modal-content {
    width: 95%;
    max-width: 100%;
    margin: 10px auto;
    padding: 15px;
}

.large-modal {
    max-height: 80vh;
    overflow-y: auto;
}

.events-list-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#all-events-table {
    width: 100%;
    min-width: 300px;
    table-layout: fixed;
}

#all-events-table th, 
#all-events-table td {
    padding: 8px 10px;
    word-break: break-word;
    overflow-wrap: break-word;
}

#all-events-table th {
    min-width: 80px;
}

/* Стили для кнопок записи */
.registration-button {
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
    width: 100%;
    max-width: 150px;
    white-space: nowrap;
    font-weight: 500;
    box-sizing: border-box;
    text-align: center;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding: 8px 10px;
    }
    
    .burger-menu-button {
        display: flex;
    }
    
    .events-list-button {
        order: 2;
        margin-left: 0;
    }
    
    #all-events-table {
        font-size: 0.9rem;
    }
    
    #all-events-table th, 
    #all-events-table td {
        padding: 6px 8px;
    }
    
    .registration-button {
        min-width: 100px;
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .modal-content h3 {
        font-size: 1.2rem;
    }
}
.lk-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, rgba(113,166,0,0.8), rgba(113,166,0,0.6));
    border-radius: 8px;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2),
                -1px -1px 2px rgba(255,255,255,0.1);
    text-decoration: none;
}

.lk-button:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 7px rgba(0,0,0,0.2),
                -1px -1px 2px rgba(255,255,255,0.1);
}

.lk-button:active {
    transform: translateY(1px);
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.3);
}
/* iPhone 5/SE и другие маленькие экраны */
@media (max-width: 320px) {
    .events-list-button.mobile-version {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
    
    .burger-menu-button {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
    
    #all-events-table {
        font-size: 0.8rem;
    }
    
    .registration-button {
        min-width: 80px;
        font-size: 0.7rem;
    }
}

/* Планшеты и большие телефоны */
@media (min-width: 481px) and (max-width: 768px) {
    #all-events-table {
        font-size: 0.95rem;
    }
    
    .registration-button {
        min-width: 110px;
    }
}

/* Специфичные стили для iOS */
@supports (-webkit-touch-callout: none) {
    .modal-content {
        padding-bottom: constant(safe-area-inset-bottom);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Стили для состояний кнопок записи */
.registration-button.active {
    background-color: #4CAF50;
    color: white;
}

.registration-button.completed {
    background-color: #FFD700;
    color: #333;
    cursor: not-allowed;
}

.registration-button.closed {
    background-color: #f44336;
    color: white;
    cursor: not-allowed;
}

.registration-button.unavailable {
    background-color: #9E9E9E;
    color: white;
    cursor: not-allowed;
}
