    /* Base styles for all devices */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #555;
    user-select: none;
}

header, nav, main, aside, footer {
    padding: 10px;
}

/* Remove underline from unvisited links */
a:link {
    text-decoration: none;
    color: #008080;
}

/* Remove underline from visited links */
a:visited {
    text-decoration: none;
    color: #008080;
}

/* Optional: Add hover effect */
a:hover {
    text-decoration: underline; /* Show underline on hover */
    color: #008080;
}

/* Optional: Active link style */
a:active {
    text-decoration: none;
    color: #008080;
}


main {
    display: flex;
    flex-wrap: wrap;
}

article {
    flex: 3;
    padding: 10px;
}

    aside {
    flex: 1;
    background: #f4f4f4;
    padding: 10px;
}

footer {
    background: #2C6D7F;
    color: #fff;
    text-align: center;
}

/* Tablet view */
@media (max-width: 768px) {
    main {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
    }
}

/* Mobile view */
@media (max-width: 480px) {
    header, nav, main, aside, footer {
        padding: 10px;
    }
    nav ul li {
        margin: 2px 0;
    }
}

    .form-row {
        margin-bottom: 12px;
    }

    .error-msg {
        color: #d00;
        font-size: 0.8em;
        margin-left: 10px;
    }

.error-msg-block {
    display: block;
    color: #d00;
    font-size: 0.8em;
    margin-left: 10px;
}

    .error-field {
        border: 1px solid #d00;
    }

    table {
        border-collapse: collapse;
        width: 100%;
    }

    th,
    td {
        text-align: left;
        padding: 2px;
    }
    tr:nth-child(even):not(.noalt) {
        background-color: Lightgreen;
    }
    td.date, th.date {
        text-align: right;
    }

    td.timeslot {
        text-align: center;
        padding: 2px;
    }

    td.small-text {
        font-size: 8px;
    }

:root {
    --bg: #f5f1ea;
    --card: #ffffff;
    --ink: #20343d;
    --muted: #69787d;
    --line: #ded7cb;
    --teal: #356f7a;
    --teal-dark: #203f47;
    --teal-soft: #e5f1f3;
    --gold: #d9a437;
    --gold-soft: #fff3d5;
    --red: #d95d48;
    --red-soft: #fde9e2;
    --green-soft: #dceee3;
    --green: #357a4c;
    --shadow: 0 8px 22px rgba(30, 43, 48, 0.08);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
}

/* Demo label bovenaan zoals in screenshot */
.screen-label {
    width: min(1500px, calc(100% - 48px));
    margin: 30px auto 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #8e9698;
    font-size: 16px;
}

    .screen-label span:first-child {
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: var(--teal);
        color: white;
        letter-spacing: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
    }

/* App shell */
.app {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto 6px;
}

/* Header */
.topbar {
    height: 92px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-area,
.nav-area,
.user-area {
    display: flex;
    align-items: center;
}

.brand-area {
    gap: 12px;
    min-width: 250px;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 45%, #15262c 0 45%, transparent 46%), #f6ce62;
    display: grid;
    place-items: center;
    color: #f5ce4f;
    font-size: 19px;
    box-shadow: inset 0 0 0 3px #243942;
}

    .logo-mark::before {
        content: "♛";
        transform: translateY(-1px);
    }

.brand-text strong {
    display: block;
    color: #152a32;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-text small {
    display: block;
    margin-top: 4px;
    color: #839095;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.nav-area {
    gap: 12px;
    margin-left: 18px;
}

.nav-link {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 10px 18px;
    color: #53666c;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

    .nav-link.active {
        color: var(--teal);
        background: var(--teal-soft);
    }

.user-area {
    gap: 18px;
}

.bell {
    position: relative;
    font-size: 18px;
    color: #53666c;
}

    .bell::after {
        content: "";
        position: absolute;
        right: -2px;
        top: 2px;
        width: 6px;
        height: 6px;
        background: var(--red);
        border-radius: 50%;
        border: 2px solid var(--bg);
    }

.profile-pill {
    height: 40px;
    border: 1px solid #d6cec2;
    background: #fff;
    border-radius: 999px;
    padding: 4px 12px 4px 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.04);
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--teal);
    color: #f4c853;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 12px;
}

.profile-pill strong {
    font-size: 12px;
    color: #243940;
}

.profile-pill::after {
    content: "⌄";
    color: #7f8d90;
    font-size: 12px;
}

/* Hero */
.hero {
    padding-top: 24px;
}


.kicker {
    text-transform: uppercase;
    color: #9aa1a1;
    letter-spacing: 0.26em;
    font-size: 9px;
    font-weight: 800;
}

.hero h1 {
    margin: 10px 0 8px;
    font-size: clamp(34px, 4.2vw, 44px);
    line-height: 1.03;
    letter-spacing: -0.055em;
    color: #213740;
}

.hero p {
    max-width: 700px;
    color: #647479;
    font-size: 14px;
    margin: 0;
}

.next-service {
    background: white;
    border: 1px solid #ddd5ca;
    min-height: 96px;
    border-radius: 14px;
    padding: 18px 18px 18px 15px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow);
}

.date-tile {
    width: 54px;
    height: 54px;
    background: var(--red);
    color: white;
    border-radius: 14px;
    display: grid;
    place-items: center;
    text-align: center;
    line-height: .9;
    font-weight: 900;
}

    .date-tile strong {
        display: block;
        font-size: 20px;
    }

    .date-tile span {
        display: block;
        margin-top: 4px;
        font-size: 8px;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

.service-label {
    color: #9aa1a1;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: 9px;
}

.next-service b {
    display: block;
    margin-top: 3px;
    color: #243940;
    font-size: 14px;
}

.next-service small {
    color: #879095;
    font-size: 11px;
}

/* Alert */
.profile-alert {
    margin-top: 24px;
    background: #fff5d9;
    border: 1px solid #f0dfb3;
    border-radius: 15px;
    padding: 18px 18px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 14px;
}

.alert-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--gold);
    color: #48340a;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
}

.profile-alert strong {
    display: block;
    font-size: 14px;
    color: #1f343c;
}

.profile-alert small {
    color: #53666c;
    font-size: 12px;
}

    .profile-alert small b {
        color: #1e333c;
    }

.gold-button {
    border: 0;
    background: var(--gold);
    color: #3a2a08;
    padding: 12px 22px;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
}

/* Stats */
.stats {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: white;
    border: 1px solid #ddd5ca;
    border-radius: 13px;
    min-height: 150px;
    padding: 22px 20px 17px;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 15px;
    margin-bottom: 9px;
    font-weight: 800;
}

    .stat-icon.blue {
        background: #e7f1f2;
        color: var(--teal);
    }

    .stat-icon.gold {
        background: #fff1d4;
        color: var(--gold);
    }

    .stat-icon.red {
        background: #fce9e2;
        color: var(--red);
    }

.stat-value {
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 900;
    color: #20343d;
}

    .stat-value small {
        font-size: 14px;
        letter-spacing: -0.02em;
        color: #6b7477;
        font-weight: 800;
    }

.stat-card p {
    margin: 8px 0 0;
    color: #52656b;
    font-size: 12px;
}

/* Main columns */
.content-grid {
    margin-top: 36px;
    display: grid;
    grid-template-columns: minmax(0, 595px) minmax(310px, 1fr);
    gap: 32px;
    align-items: start;
}
.content1 {
    font-size: 12px;
}


.content-grid2 {
    margin-top: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1400px);
    gap: 32px;
    font-size: 12px;
    align-items: start;
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 17px;
}

    .section-title-row .kicker {
        display: block;
        margin-bottom: 7px;
    }

    .section-title-row h2 {
        margin: 0;
        font-size: 27px;
        line-height: 1;
        letter-spacing: -0.05em;
        color: #213740;
    }

.all-link {
    color: #607276;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

    .all-link span {
        margin-left: 10px;
        font-size: 17px;
    }

/* Featured event */
.featured-event {
    overflow: hidden;
    background: white;
    border: 1px solid #ddd5ca;
    border-radius: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    box-shadow: var(--shadow);
}

.featured-body {
    padding: 28px 30px 26px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.badge {
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 9px;
    letter-spacing: .08em;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid transparent;
}

    .badge.gold {
        background: var(--gold-soft);
        color: #c28a15;
    }

    .badge.blue {
        background: #e8f2f4;
        color: #47717a;
        border-color: #cddfe2;
    }

.featured-body h3 {
    margin: 0 0 14px;
    font-size: 30px;
    letter-spacing: -0.065em;
    line-height: 1.02;
}

    .featured-body h3 span {
        color: #8a9495;
        font-weight: 800;
    }

.meta {
    display: grid;
    gap: 8px;
    color: #52666b;
    font-size: 13px;
    margin-bottom: 17px;
}

    .meta div {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .meta i {
        color: var(--teal);
        font-style: normal;
        width: 15px;
        text-align: center;
    }

.description {
    color: #647479;
    font-size: 15px;
    margin: 0 0 22px;
    max-width: 310px;
}

.progress-row {
    display: flex;
    justify-content: space-between;
    color: #748183;
    font-size: 11px;
    margin-bottom: 7px;
}

    .progress-row b {
        color: var(--teal);
    }

.progress-track {
    height: 6px;
    background: #dfe9e9;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    width: 67%;
    background: var(--teal);
    border-radius: 999px;
}

.event-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.primary-button,
.secondary-button {
    border: 0;
    border-radius: 10px;
    height: 43px;
    padding: 0 20px;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
}

.primary-button {
    background: var(--teal);
    color: white;
}

    .primary-button::after {
        content: "→";
        margin-left: 10px;
        font-size: 15px;
    }

.secondary-button {
    background: #fff;
    border: 1px solid #d9cfc2;
    color: #243940;
}

.featured-date {
    background: linear-gradient(135deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0/18px 18px, linear-gradient(225deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0/18px 18px, #346f7a;
    color: white;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 26px 18px;
}

    .featured-date small {
        display: block;
        text-transform: uppercase;
        letter-spacing: .33em;
        font-size: 9px;
        color: rgba(255,255,255,.75);
        margin-bottom: 3px;
    }

    .featured-date strong {
        display: block;
        font-size: 55px;
        line-height: .9;
        font-weight: 950;
        letter-spacing: -0.07em;
    }

    .featured-date span {
        display: block;
        margin-top: 10px;
        letter-spacing: .34em;
        font-size: 11px;
        text-transform: uppercase;
    }

    .featured-date em {
        display: block;
        margin-top: 24px;
        font-style: normal;
        font-size: 11px;
        color: rgba(255,255,255,.85);
    }

.action-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}
.compact-action {
    background: white;
    border: 1px solid #ddd5ca;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px 18px;
    font-size: 12px;
    gap: 18px;
    align-items: center;
}

/* Compact event cards */
.event-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.compact-event {
    background: white;
    border: 1px solid #ddd5ca;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px 18px;
    display: grid;
    grid-template-columns: 63px 1fr 150px;
    gap: 18px;
    align-items: center;
}

    .compact-event .date-tile {
        width: 58px;
        height: 58px;
        border-radius: 12px;
    }

        .compact-event .date-tile.teal {
            background: var(--teal);
        }

.compact-event-content h3 {
    margin: 7px 0 6px;
    color: #20343d;
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-size: 18px;
}

    .compact-event-content h3 span {
        color: #8d9797;
        font-weight: 700;
    }

.compact-event-content .meta {
    margin: 0;
    gap: 4px;
    font-size: 11px;
}

.compact-side {
    text-align: right;
}

    .compact-side small {
        color: #657477;
        font-size: 10px;
    }

        .compact-side small b {
            color: var(--teal);
        }

.mini-progress {
    margin: 6px 0 9px auto;
    width: 100px;
    height: 6px;
    border-radius: 999px;
    background: #dfe9e9;
    overflow: hidden;
}

    .mini-progress span {
        display: block;
        width: 38%;
        height: 100%;
        background: var(--teal);
    }

.compact-side .primary-button,
.compact-side .status-button {
    height: 36px;
    padding: 0 16px;
    font-size: 11px;
}

.status-button {
    border: 0;
    border-radius: 10px;
    color: var(--green);
    background: var(--green-soft);
    font-weight: 900;
    padding: 0 16px;
}

/* Sidebar */
.sidebar {
    min-width: 0;
}

.registration-card {
    background: white;
    border: 1px solid #ddd5ca;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 16px 17px;
}

.registration-main {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.registration-card h3 {
    margin: 0;
    font-size: 14px;
    color: #20343d;
}

.registration-card small {
    color: #8b9496;
    font-size: 11px;
}

.registration-footer {
    margin-top: 14px;
    padding-top: 15px;
    border-top: 1px solid #e0d8cd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #607276;
}

    .registration-footer a {
        color: var(--teal);
        font-weight: 900;
        text-decoration: none;
    }

.fun-fact {
    margin-top: 16px;
    min-height: 84px;
    border-radius: 13px;
    padding: 17px 18px;
    color: white;
    background: linear-gradient(135deg, rgba(255,255,255,.05) 25%, transparent 25%) 0 0/18px 18px, linear-gradient(225deg, rgba(255,255,255,.05) 25%, transparent 25%) 0 0/18px 18px, var(--teal-dark);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
}

.fun-fact-icon {
    color: #f2c74c;
    font-size: 27px;
    line-height: 1;
}

.fun-fact p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255,255,255,.9);
}

.fun-fact b {
    color: white;
}

.fun-fact span {
    color: #f2c74c;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .next-service {
        max-width: 360px;
    }

    .featured-event {
        grid-template-columns: 1fr;
    }

    .featured-date {
        min-height: 190px;
    }
}

@media (max-width: 760px) {
    .screen-label,
    .app {
        width: min(100% - 28px, 1120);
    }

    .screen-label {
        font-size: 12px;
        letter-spacing: .16em;
    }

    .topbar {
        height: auto;
        padding: 16px 0;
        align-items: flex-start;
        gap: 14px;
        flex-wrap: wrap;
    }

    .brand-area {
        min-width: auto;
    }

    .nav-area {
        order: 3;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .user-area {
        margin-left: auto;
    }

    .profile-alert {
        grid-template-columns: 38px 1fr;
    }

        .profile-alert .gold-button {
            grid-column: 1 / -1;
            width: 100%;
        }

    .stats {
        grid-template-columns: 1fr;
    }

    .compact-event {
        grid-template-columns: 56px 1fr;
    }

    .compact-side {
        grid-column: 1 / -1;
        text-align: left;
    }

    .mini-progress {
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 34px;
    }

    .featured-body {
        padding: 24px 20px;
    }

        .featured-body h3 {
            font-size: 26px;
        }

    .event-actions {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .section-title-row {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column;
    }

    .next-service {
        grid-template-columns: 48px 1fr;
    }
}

.user-menu-wrapper {
    position: relative;
    display: inline-block;
}

.user-menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    color: inherit;
    padding: 6px 8px;
    border-radius: 999px;
}

    .user-menu-button:hover {
        background: rgba(0, 0, 0, 0.06);
    }

.user-avatar,
.user-popup-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111827;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.user-name {
    font-weight: 600;
}

.user-chevron {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.user-menu-button[aria-expanded="true"] .user-chevron {
    transform: rotate(180deg);
}

.user-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 12px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    .user-popup.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.user-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.user-popup-name {
    font-weight: 700;
    color: #111827;
}

.user-popup-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.user-popup-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

.user-popup-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #111827;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
}

    .user-popup-link:hover {
        background: #f3f4f6;
    }

.user-popup-logout {
    color: #dc2626;
}

/* Mobile-friendly popup */
@media (max-width: 600px) {
    .user-menu-wrapper {
        position: static;
    }

    .user-popup {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 12px;
        width: auto;
        max-width: none;
        border-radius: 20px;
        padding: 14px;
        box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
        transform: translateY(20px);
    }

        .user-popup.is-open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

    .user-popup-header {
        padding: 12px;
    }

    .user-popup-link {
        padding: 14px 16px;
        font-size: 16px;
    }

    .user-popup-name {
        font-size: 16px;
    }

    .user-popup-subtitle {
        font-size: 14px;
    }
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px,5vw,72px);
    background: rgba(255,247,237,.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(242,214,195,.7)
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    color: inherit;
    text-decoration: none
}

    .brand small {
        display: block;
        color: var(--muted)
    }

.brand-mark, .avatar {
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--ink);
    color: white;
    font-weight: 800
}

.brand-mark {
    width: 44px;
    height: 44px
}

.avatar {
    width: 38px;
    height: 38px
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px
}

    .site-nav a {
        color: var(--ink);
        text-decoration: none;
        font-weight: 700
    }

.nav-toggle {
    display: none;
    border: 0;
    background: var(--panel);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 22px
}

.section {
    width: min(1120px,calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0
}

.hero {
    display: grid;
    grid-template-columns: 1.7fr .6fr;
    gap: 28px;
    align-items: stretch
}

.hero-copy, .next-shift-card, .notice-card, .stat, .event-card, .simple-card {
    background: rgba(255,255,255,.82);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.hero-copy {
    padding: 56px
}

.eyebrow, .label, .tag {
    margin: 0 0 10px;
    color: var(--brand-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .78rem
}

h1, h2, h3 {
    line-height: 1.1;
    margin: 0 0 14px
}

h1 {
    font-size: clamp(2.7rem,7vw,5.8rem);
    letter-spacing: -.06em
}

h2 {
    font-size: clamp(1.5rem,3vw,2.2rem)
}

h3 {
    font-size: 1.35rem
}

.lead {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 62ch
}

.next-shift-card {
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: linear-gradient(135deg,#fff,#ffedd5)
}

.date-pill, .event-date {
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 18px;
    background: var(--brand);
    color: white;
    min-width: 76px;
    padding: 14px
}

    .date-pill strong, .event-date strong {
        font-size: 2rem
    }

.grid {
    display: grid;
    gap: 24px
}

.two-columns {
    grid-template-columns: 1fr 1fr
}

.notice-card, .simple-card {
    padding: 28px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 0;
    background: var(--brand);
    color: white;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer
}

    .button:hover {
        background: var(--brand-dark)
    }

    .button.secondary {
        background: #fff;
        color: var(--brand-dark);
        border: 1px solid var(--line)
    }

    .button:disabled {
        opacity: .75;
        cursor: not-allowed
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.stat {
    padding: 24px
}

    .stat strong {
        display: block;
        font-size: 2.1rem
    }

    .stat span, .muted {
        color: var(--muted)
    }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px
}

.text-link {
    color: var(--brand-dark);
    font-weight: 800;
    text-decoration: none
}

.event-card {
    padding: 22px;
    display: flex;
    gap: 22px;
    margin-bottom: 18px
}

.featured-event {
    background: linear-gradient(135deg,#fff,#fef3c7)
}

.event-content {
    flex: 1
}

.progress {
    height: 11px;
    background: #ffe4d0;
    border-radius: 999px;
    overflow: hidden;
    margin: 18px 0 8px
}

    .progress span {
        display: block;
        height: 100%;
        background: linear-gradient(90deg,var(--brand),#facc15);
        border-radius: inherit
    }

.event-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--muted)
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.enrolled {
    border-color: #fed7aa
}

.accent {
    background: #fef3c7
}

.site-footer {
    margin-top: 15px;
    padding: 15px clamp(20px,5vw,72px);
    background: #2b170f;
    font-size: 12px;
    color: #fff;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px
}

    .site-footer a {
        display: block;
        color: #ffedd5;
        text-decoration: none;
        margin: 8px 0
    }

    .site-footer p {
        color: #fed7aa
    }

.copyright {
    grid-column: 1/-1;
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 15px;
    gap: 24px;
    text-align: center;
}

.login-form {
    max-width: 420px;
}

.form-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

    .form-row label {
        text-align: right;
    }

    .form-row input[type="email"],
    .form-row input[type="password"] {
        width: 50%;
        box-sizing: border-box;
    }

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 400px;
        background-color: #333;
        color: #fff;
        text-align: left;
        padding: 8px 10px;
        border-radius: 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%; /* Position above the element */
        left: 50%;
        transform: translateY(-10%);
        opacity: 0;
        transition: opacity 0.3s ease;
        font-size: 12px;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Show tooltip on hover */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }