:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --muted: #9aa6b2;
    --accent: #4263eb;
    --accent-2: #6c63ff;
    --shadow: 0 6px 18px rgba(34, 41, 47, 0.08);
    --radius: 12px;
    --gap: 1rem;
}

/* Global */
html, body {
    height: 100%;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #233;
    margin: 0;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Section container */
section.section {
    max-width: 1200px;
    margin: 32px auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.78));
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid #dadada;
}

/* Title */
h1.title {
    font-size: 1.9rem;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f1724;
    letter-spacing: -0.02em;
}

h1.title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 41, 47, 0.06), transparent);
    margin-left: 12px;
}

/* Labels / filters container */
.field#labelsAgendas {
    margin-top: 8px;
    margin-bottom: 18px;
}

/* Filter buttons wrapper (first child of .field) */
.field > div:first-child {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.field > div:first-child .button {
    border-radius: 999px;
    padding: 8px 12px;
    box-shadow: none;
    font-weight: 600;
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s;
    border: 1px solid rgba(36, 45, 60, 0.06);
}

.field > div:first-child .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(18, 30, 80, 0.06);
}

/* Columns with agendas */
.columns {
    gap: var(--gap);
    margin-top: 20px;
}

.columns .column {
    background-color: #dadada;
    border-radius: 10px;
    padding: 14px;
    min-width: 220px;
    box-shadow: 0 6px 14px rgba(27, 38, 63, 0.04);
    border: 1px solid rgba(36, 45, 60, 0.04);
}

.columns .column .subtitle {
    margin-top: 0;
    margin-bottom: 10px;
    color: #223;
    font-weight: 600;
}

/* Controls and checkbox rows */
.control {
    margin-bottom: 8px;
}

label.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.tag {
    display: inline-block;
    margin-left: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 4px 10px rgba(10, 18, 30, 0.06);
    transition: transform .12s ease, opacity .12s ease;
}

.tag:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

input[type="checkbox"] {
    margin-top: auto;
    margin-bottom: auto;
}

/* Calendar iframe */
#calendarFrame {
    width: 100% !important;
    max-width: 1150px;
    min-height: 750px !important;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    margin: 20px auto 0;
    box-shadow: 0 18px 40px rgba(18, 30, 80, 0.06);
    transition: transform .12s ease;
}

/* Responsive */
@media (max-width: 1000px) {
    section.section {
        padding: 20px;
    }

    #calendarFrame {
        height: 520px !important;
    }

    .columns {
        flex-direction: column;
    }

    .columns .column {
        min-width: unset;
    }
}

@media (max-width: 600px) {
    h1.title {
        font-size: 1.4rem;
        gap: 8px;
    }

    #calendarFrame {
        height: 420px !important;
    }

    .field > div:first-child {
        gap: 6px;
    }
}

@media(max-width: 768px) {
    section.section {
        margin: 16px;
    }

    .column {
        margin-top: 8px;
    }
}

/* Small utility */
.is-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 41, 47, 0.04), transparent);
    margin: 14px 0;
    border-radius: 2px;
}

.img {
    border-radius: 50%;
    width: 26px;
    height: 26px;
    margin-left: 0;
}

.icons {
    margin-right: 10px;
}