:root {
    --bulma-warning-h: 41deg;
    --bulma-warning-s: 67%;
    --bulma-warning-l: 50%;

    --cell-dark: #6a6a6a;
    --cell-light: #b5b5b5;
}

.cell {
    color: var(--cell-light);
    opacity: 1;
}

.cell-today {
    background-color: #eeeeee;
}

@media (prefers-color-scheme: dark) {
    .cell {
        color: var(--cell-dark);
    }

    .cell-today {
        background-color: #333333;
    }
}

.cell {
    border: 1px solid;
}


.button.is-multiline {
    white-space: unset;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
}

.tags {
    justify-content: center;
}

.dropdown.is-fullwidth,
.dropdown-trigger.is-fullwidth {
    width: 100%;
    justify-content: flex-start;
}

.button.is-fullwidth {
    justify-content: flex-start;
}


.attendee-list {
    display: none;
    margin-top: 0.25rem;
    padding: 0.4rem 0.5rem;
    background-color: #ffffff;
    color: #363636;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(10, 10, 10, 0.15);
}

html:has(#show-attendees:checked) .attendee-list {
    display: block;
}

/* Look-ahead view filter: independent toggles, each with its own checkbox */
.view-toggles.buttons {
    gap: 0.5rem;
}

.view-toggles .button {
    position: relative;
    padding-inline: 0.5em;
}

/* Hidden but still focusable, so the toggles stay keyboard-reachable */
.view-toggles .button input[type="checkbox"] {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
}

.view-toggles .button:has(input:focus-visible) {
    outline: 2px solid var(--bulma-link);
    outline-offset: 2px;
}

/* The checkbox input is the label's first child, so Bulma's leading-icon margins
   never apply here and the box needs its own spacing. */
.view-toggles .button .icon {
    height: 1.15em;
    width: 1.15em;
    margin-inline-start: 0;
    margin-inline-end: 0.3em;
    border: 1px solid currentColor;
    border-radius: 3px;
    opacity: 0.65;
}

/* Keep the box reserved when unchecked so toggling doesn't shift the layout */
.view-toggles .button .icon i {
    font-size: 0.7em;
    visibility: hidden;
}

.view-toggles .button:has(input:checked) {
    background-color: var(--bulma-link);
    border-color: transparent;
    color: var(--bulma-link-invert);
}

.view-toggles .button:has(input:checked) .icon {
    opacity: 1;
}

.view-toggles .button:has(input:checked) .icon i {
    visibility: visible;
}

.input::placeholder {
    color: #555 !important;
    /* darker gray */
    opacity: 1;
    /* disables the built-in fade */
}