/* calendar.css - moved from pwa-calendar.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background: #f3f4f6;
    margin: 0;
    padding: 0;
}

.calendar-container {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #3b82f6;
    color: #fff;
    padding: 16px;
    position: relative;
}

.nav-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 12px;
    transition: color 0.2s;
}

.nav-btn:hover {
    color: #2563eb;
}

.month-year {
    font-size: 1.2rem;
    font-weight: 700;
}

.year-selector {
    position: absolute;
    right: 16px;
    top: 56px;
    background: #fff;
    color: #222;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: none;
    z-index: 10;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
}

.year-grid div {
    padding: 6px 0;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
    transition: background 0.2s;
}

.year-grid div:hover {
    background: #e0e7ef;
}

.weekdays {
    display: flex;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    padding: 8px 0;
}

.weekday {
    flex: 1;
    text-align: center;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 12px;
}

.day {
    background: #f9fafb;
    color: #222;
    border-radius: 4px;
    text-align: center;
    padding: 12px 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.day.today {
    background: #3b82f6;
    color: #fff;
    font-weight: 700;
}

.day.selected {
    background: #2563eb;
    color: #fff;
}

.day.other-month {
    color: #b0b0b0;
}
