#month_picker {
    background: var(--bg, #0a1b18);
    color: var(--ink, #f3f6f4);
    font-family: "Inter", system-ui, sans-serif;
    padding: 16px;
    min-height: 100vh;
}

#month_picker label {
    font-weight: 600;
    margin-right: 8px;
    color: var(--ink, #f3f6f4);
}

table {
    border-collapse: separate;
    border-spacing: 3px 3px;
    width: 100%;
    background-color: var(--bg, #0a1b18);
    table-layout: fixed;
    min-width: 700px;
}

td {
    padding: 8px;
    text-align: center;
    vertical-align: top;
    border-radius: 6px;
    background-color: #ffffff;
}

tr {
    background-color: #d7ecea;
}

tr:nth-child(6) {
    background-color: #a9d8d1;
}

tr:nth-child(5) {
    background-color: #b7ded7;
}

tr:nth-child(4) {
    background-color: #c4e3dd;
}

tr:nth-child(3) {
    background-color: #cfe8e3;
}

tr:nth-child(2) {
    background-color: #d7ecea;
}

tr:first-child {
    background-color: #0e5f51;
    color: white;
}

/* The generic td background-color above was painting over the header row
   too, hiding the white day labels behind a solid white cell. Keep header
   cells transparent so the teal tr background (and white text) shows. */
tr:first-child td {
    background-color: transparent;
    font-weight: 600;
}

#search {
    font-size: 1.4em;
    font-family: "Oswald", "Arial Narrow", sans-serif;
    margin-bottom: 10px;
    top: 5px;
    position: sticky;
    min-width: 50%;
    padding: 6px 10px;
    border: 1px solid #28524a;
    border-radius: 6px;
}

.day_td {
    position: sticky;
    top: 0;
    z-index: 10;
}

.flex {
    width: 100%;
    align-items: center;
    display: flex;
}

.header {}

small {
    opacity: 0.7;
    font-size: 0.8em;
    height: 100%;
    vertical-align: bottom;
}

#month_picker select {
    font-size: 1.3em;
    font-family: "Inter", system-ui, sans-serif;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #28524a;
    background: #ffffff;
    color: #0a1b18;
}

.googlecalhide {
    display: none;
}

.googlecal0 {
    color: #c0392b;
}

.googlecal1 {
    color: #d78927;
}

.googlecal2 {
    color: #7e3fa3;
}

.today {
    background-color: #f5e96b;
}

.morebuttoncalendar {
    color: #0e5f51;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 700px) {
    table {
        min-width: 0;
        width: 90%;
    }

    #calendar tr:nth-child(1) {
        visibility: hidden;
        display: none;
    }

    td {
        display: block;
        text-align: center;
        border-radius: 6px;
        border: 1px solid #0a1b18;
        margin: 2px;
    }
}
