/* ===== ОБЩИЙ КОНТЕЙНЕР ===== */
#schedule-calendar {
    background: #3c3c3c;
    border-radius: 20px;
    padding: 20px;
}

/* ===== ЗАГОЛОВОК ===== */
.fc-toolbar-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

/* Кнопки */
.fc-button {
    background: #2b2b2b !important;
    border: 1px solid #00ac86 !important;
    color: #00ac86 !important;
    border-radius: 8px !important;
}

.fc-button:hover {
    background: #00ac86 !important;
    color: #0e0e0e !important;
}

/* ===== ШАПКА ДНЕЙ ===== */
.fc-col-header-cell {
    background: #00ac86;
    color: #ffffff;
    font-weight: 500;
    border: none;
}

.fc-col-header-cell-cushion {
    padding: 10px 0;
}

.fc-col-header {
    margin: 0 !important;
}

.fc-scrollgrid {
    border-color: #00ac86 !important;
}

.fc-scrollgrid-sync-table {
    margin: 0 !important;
}

/* ===== ЯЧЕЙКИ ДНЕЙ ===== */
.fc-daygrid-day {
    background: #444;
    border: 1px solid #00ac8633;
}

.fc-day-today {
    background: #2b3f39 !important;
}

/* Число дня */
.fc-daygrid-day-number {
    color: #00ac86;
    font-size: 14px;
}

.fc-theme-standard td, .fc-theme-standard th {
    border-color: #00ac86 !important;
}

/* ===== СОБЫТИЯ ===== */
.fc-daygrid-event {
    background: #00ac86;
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fc-daygrid-event:hover {
    transform: scale(1.01);
    background-color: #787F86;
    box-shadow: 0 4px 14px rgb(0 0 0 / 45%);
}

/* Текст события */
.fc-event-title {
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schedule-event-popup {
    position: absolute;
    background: #3c3c3c;
    border: rgb(77 77 77 / .76) solid 3px;
    border-radius: 14px;
    padding: 18px;
    max-width: 420px;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
    animation: fadeIn 0.15s ease;
}

.popup-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.popup-date,
.popup-type {
    font-size: 14px;
    color: #d0d0d0;
    margin-bottom: 6px;
}

.popup-btn {
    display: inline-block;
    margin-top: 14px;
    background: #00ac86;
    color: #0e0e0e;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
}

.popup-btn:hover {
    background: #00d1a0;
}

.popup-type,
.popup-trainer {
    font-size: 14px;
    color: #d0d0d0;
    margin-top: 6px;
}

.fc-toolbar-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}

.fc-toolbar-title::first-letter {
    text-transform: uppercase;
}

.fc .fc-button-group {
    gap: 10px;
}


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