.calendar-container {
    max-width: 25rem;
    margin: 0 auto;
}

.calendar-header {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    padding: 0.625rem;
    background: var(--bg);
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--muted);
}

.calendar-table td {
    padding: 0.625rem;
    border: 1px solid var(--border);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calendar-date:hover {
    background: var(--accent);
    color: white;
}

.calendar-date.selected {
    background: var(--success);
    color: white;
}

@media (max-width: 1440px) {
    .calendar-container {
        max-width: 23.75rem;
    }
    .calendar-header {
        font-size: 1.4375rem;
        margin-bottom: 1.125rem;
    }
    .calendar-table th, .calendar-table td {
        padding: 0.5625rem;
    }
}

@media (max-width: 1024px) {
    .calendar-container {
        max-width: 22.5rem;
    }
    .calendar-header {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }
    .calendar-table th, .calendar-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .calendar-container {
        max-width: 20rem;
    }
    .calendar-header {
        font-size: 1.3125rem;
        margin-bottom: 0.875rem;
    }
    .calendar-table th, .calendar-table td {
        padding: 0.4375rem;
    }
}

@media (max-width: 480px) {
    .calendar-container {
        max-width: 17.5rem;
    }
    .calendar-header {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    .calendar-table th, .calendar-table td {
        padding: 0.375rem;
    }
}

@media (max-width: 375px) {
    .calendar-container {
        max-width: 15rem;
    }
    .calendar-header {
        font-size: 1.1875rem;
        margin-bottom: 0.625rem;
    }
    .calendar-table th, .calendar-table td {
        padding: 0.3125rem;
    }
}
