.calendar-container {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);;
    max-width: 100%;
    overflow-x: auto;
}

.calendar-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.nav-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    border: 1px solid #0056b3;
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #0056b3;
}

.calendar-wrapper {
    display: flex;
    gap: 0;
}

.weeks-column {
    display: flex;
    flex-direction: column;
    background: #6c757d;
}

.week-header {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.week-cell {
    background: #6c757d;
    color: white;
    font-weight: 600;
    font-size: 12px;
    padding: 12px 8px;
    text-align: center;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5a6268;
    min-width: 60px;
}

.calendar-main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    background: #f8f9fa;
}

.day-header {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    border: 1px solid #ddd;
    min-width: 70px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-body {
    display: flex;
    flex-direction: column;
}

.week-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}

.day-cell {
    background: white;
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #333;
    border: 1px solid #ddd;
}

.day-cell:hover {
    background: #f0f0f0;
    transform: scale(1.05);
    z-index: 10;
}

.day-cell.other-month {
    color: #ccc;
    background: #fafafa;
}

.day-cell.weekend {
    background: #fff8f0;
}

.day-cell.today {
    background: #fff3cd;
    border: 2px solid #ffc107;
    font-weight: bold;
}

.months-column {
    display: flex;
    flex-direction: column;
    background: #6c757d;
}

.month-header-cell {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    min-width: 100px;
}

.month-cell {
    background: #6c757d;
    color: white;
    font-weight: 600;
    font-size: 11px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 8px 4px;
    border: 1px solid #5a6268;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Couleurs pour les kinés - à personnaliser */
.day-cell.kine-1 {
    background: #e3f2fd;
    color: #0d47a1;
}

.day-cell.kine-2 {
    background: #f3e5f5;
    color: #4a148c;
}

.day-cell.kine-3 {
    background: #e8f5e9;
    color: #1b5e20;
}

.day-cell.kine-4 {
    background: #fff3e0;
    color: #e65100;
}

.day-cell.kine-5 {
    background: #fce4ec;
    color: #880e4f;
}

@media (max-width: 1200px) {
    .calendar-container {
        padding: 10px;
    }
}