/* club-pilates-manager/assets/css/frontend-planning-grid.css */
.pilates-calendar-grid {
    max-width: 1200px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-button {
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.nav-button:hover {
    background: #005a87;
}

.calendar {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #0073aa;
    color: white;
    text-align: center;
    font-weight: bold;
}

.header-day {
    padding: 10px;
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 150px;
    border: 1px solid #eee;
    padding: 10px;
    font-size: 14px;
    background: white;
}

.calendar-day.empty {
    background: #f9f9f9;
    border: none;
}

.day-number {
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 5px;
}

.course-item {
    margin: 8px 0;
    padding: 8px;
    background: #f9f9f9;
    border-left: 3px solid #0073aa;
    border-radius: 4px;
    font-size: 13px;
}

.course-item.full {
    border-left-color: #d63638;
    background: #fdeaea;
}

.course-item.registered {
    border-left-color: #0073aa;
    background: #e6f7ff;
}

.course-item small {
    color: #666;
}

.course-item .book {
    background: #0073aa;
    color: white;
    border: none;
    padding: 4px 8px;
    font-size: 12px;
    width: 100%;
    margin-top: 5px;
    border-radius: 4px;
}

.course-item .cancel {
    background: #a00;
    color: white;
    border: none;
    padding: 4px 8px;
    font-size: 12px;
    width: 100%;
    margin-top: 5px;
    border-radius: 4px;
}

.past {
    opacity: 0.6;
    background: #f5f5f5 !important;
}

@media (max-width: 768px) {
    .calendar-body {
        grid-template-columns: 1fr;
    }
    .calendar-day {
        min-height: auto;
    }
}