#adminSubnav .admin-tab {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
}

#adminSubnav .admin-tab.active {
    background: #0056b3;
}

.admin-subview {
    display: none;
}

.admin-subview.active {
    display: block;
}

.calendar-toolbar {
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.calendar-month {
    background: #fff;
    color: #222;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
}

.calendar-month h3 {
    text-align: center;
    margin: 0 0 12px;
    font-size: 16px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.calendar-weekday {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 0;
}

.calendar-day {
    text-align: center;
    padding: 7px 0;
    border-radius: 4px;
    background: #f1f1f1;
    font-size: 13px;
}

.calendar-day.selected {
    background: #007bff;
    color: white;
    font-weight: bold;
}
.calendar-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;

    padding: 12px 16px;
    margin: 18px 0 16px;
}

.calendar-toolbar label {
    font-weight: 600;
    font-size: 15px;
    color: #222;
}

#calendarSeason {
    padding: 9px 34px 9px 12px;
    font-size: 15px;
    font-weight: 600;

    color: #222;
    background-color: #f8f9fa;

    border: 1px solid #bbb;
    border-radius: 5px;
    cursor: pointer;
}

#calendarSeason:hover {
    border-color: #007bff;
}

#calendarSeason:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.calendar-day {
    border: none;
    cursor: pointer;
    font-family: inherit;
	background-color: #DADADA;
}

.calendar-day:hover {
    outline: 2px solid #007bff;
}

.calendar-day.modified {
    background: #f59e0b;
    color: white;
    font-weight: bold;
}

.calendar-day:focus-visible {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.calendar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

#calendarChangeCount {
    margin-right: auto;
}

.calendar-actions button {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    background: #007bff;
    color: white;
    cursor: pointer;
}

.calendar-actions button:disabled {
    background: #aaa;
    cursor: default;
}

.calendar-day {
    position: relative;
}

.calendar-warning {
    position: absolute;
    top: -5px;
    right: -3px;
    font-size: 15px;
    line-height: 1;
	color: red;
    pointer-events: none;
}
