/* Calendar Layout Styles */
.calendar-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    background: var(--color-primary, #6194ab);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #f0f0f0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.calendar-day:hover {
    background: var(--color-primary, #6194ab);
    color: white;
}

.calendar-day.selected {
    background: var(--color-primary, #6194ab);
    color: white;
    font-weight: 600;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.disabled:hover {
    background: white;
    color: #ccc;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
}

.calendar-weekday {
    padding: 0.5rem;
    text-align: center;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: var(--color-primary, #6194ab);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.calendar-nav-btn:hover {
    background: rgba(97, 148, 171, 0.1);
}

.calendar-month-year {
    font-weight: 600;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .calendar-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .calendar-day {
        font-size: 0.75rem;
    }
}