/* Основной контейнер */
.visit-wrapper {
    height: calc(100vh - 10px);
    overflow: hidden;
}

/* Столбцы */
.calendar-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doctor-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Статус-блок */
.calendar-status {
    background: linear-gradient(90deg, #007bff, #00c6ff);
    padding: 10px 15px;
    font-size: 0.875rem;
}

/* Календарь */
.calendar-body {
    flex-grow: 1;
    overflow-y: auto;
}

#calendar .fc-center h2 {
    font-size: 1.2rem !important;
    margin: 0;
}

.fc-event, .fc-time-grid-event {
    font-size: 13px !important;
    line-height: 1.3;
}

.rowFeature {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

#free { background: #28a745; }
#wait { background: #ffc107; }
#success { background: #007bff; }

.fc-event.free_working_ajax {
    background-color: rgba(78, 179, 5, 0.5);
    color: #fff;
    cursor: pointer;
}
.fc-event.wait_working {
    background-color: rgba(0, 123, 255, 0.6);
    color: #fff;
}
.fc-event {
    display: flex;
    justify-content: center; /* по горизонтали */
    align-items: center;     /* по вертикали */
    text-align: center;
}
.fc-event-main {
    color: #0a2540 !important;
    font-weight: normal !important; /* обычная толщина */
    font-size: 0.85rem !important;   /* чуть меньше стандартного размера */
}
.fc-event-main b {
    font-weight: normal !important; /* убираем жирность */
    font-size: 0.85rem !important;   /* уменьшаем шрифт */
}
/* Врачи */
.doctor-wrapper {
    height: 100%;
    overflow: hidden;
}

.doctor-header {
    background: linear-gradient(45deg, #00c6ff, #007bff);
    padding: 10px;
    font-size: 1rem;

}

.doctor-scrollable {
    overflow-y: auto;
    padding: 10px 15px;
    flex-grow: 1;
}

.doctor-photo {
    width: 80px;
    height: 100px;
    object-fit: cover;
}

.doctor-rank {
    font-size: 13px;
    color: #6c757d;
}

/* Active выделение */
.doctor-card.active {
    border: 2px solid #ffc107 !important;
    background-color: #fffbea;
}
/* Плавное появление галочки */
.doctor-checkmark {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease-in-out;
}

.doctor-checkmark.show {
    opacity: 1;
    transform: scale(1);
}

.calendar-status div{
    color: #0b3e6f;
}
