/* Red asterisk for required fields */
.auth-required {
    color: #b42318;
    font-weight: bold;
    margin-left: 0.15em;
    font-size: 1.1em;
    vertical-align: middle;
}
/* Remove margin-bottom for checkbox rows on forms */
.auth-form-row--checkbox {
    margin-bottom: 0 !important;
}
/* ------------------------------ */
/* Base / Reset-ish styles        */
/* ------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 17px;
}

body {
    margin: 0;
      font-family:
        ui-sans-serif,
        system-ui,
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji";
    line-height: 1.6;
    color: #111;
    background-color: whitesmoke;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.standard-link,
.flatpage a {
    color: #0b3d91;
    text-decoration: underline;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.standard-link:hover,
.flatpage a:hover,
.standard-link:focus,
.flatpage a:focus {
    color: #0e4ca3;
    text-decoration: underline;
    text-decoration-color: #0e4ca3;
    outline: none;
}

button {
    font: inherit;
}

/* Flatpage semantic heading defaults */
.flatpage h3 {
    font-size: 1.5rem;
    line-height: 1.35;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
}

.flatpage h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.flatpage h5 {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    margin-top: 0.85rem;
    margin-bottom: 0.35rem;
}

/* ------------------------------ */
/* Layout containers              */
/* ------------------------------ */

.container {
    width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container--wide {
    max-width: 1200px;
}

.container--narrow {
    max-width: 1000px;
}

/* ------------------------------ */
/* Header / Hero                  */
/* ------------------------------ */

.site-header {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../images/header.bdd5e2e0dd1e.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 260px;
}

.site-header__overlay {
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.hero {
    padding-top: 1rem;
    padding-bottom: 0.8rem;
}

.hero__title {
    margin: 0;
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
}

.hero__subtitle {
    margin-top: 0.6rem;
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
}

.hero--home {
    text-align: center;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.hero--home .hero__title {
    font-size: 76px;
    font-weight: 400;
    line-height: 1.1;
}

.hero--home .hero__subtitle {
    margin-top: 0.35rem;
    font-size: 48px;
    font-weight: 400;
}

.hero--event .hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
}

.hero--event .hero__subtitle {
    margin-top: 0.6rem;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
}


/* ------------------------------ */
/* Navbar                         */
/* ------------------------------ */

.navbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.navbar__brand,
.navbar__account,
.navbar__menu {
    width: 100%;
}

.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    align-self: flex-start;
    transition: transform 0.2s ease;
}

.navbar__brand:hover,
.navbar__brand:focus {
    transform: scale(1.04);
    outline: none;
}

.navbar__logo {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scaleY(1.4);
}

.navbar__title {
    font-size: 1.5rem;
    line-height: 1.2;
}

.navbar__account {
    display: flex;
    justify-content: flex-start;
}

.nav-list--account {
    width: auto;
}

.nav-item--account .dropdown-menu {
    left: auto;
    right: 0;
    transform-origin: top right;
}

.nav-link--account,
.nav-link--toggle.nav-link--account {
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
    padding: 0.42rem 0.75rem;
    font-weight: 600;
    background-color: #0b3d91;
}

.user-avatar {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-avatar svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.dropdown-menu--account a,
.account-signout-btn {
    display: block;
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    padding: 0.3rem 0.9rem;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.dropdown-menu--account a:hover,
.dropdown-menu--account a:focus,
.account-signout-btn:hover,
.account-signout-btn:focus {
    background-color: #1e3a8a;
    color: #dddddd;
    outline: none;
}

.account-signout-form {
    margin: 0;
}

.button {
    display: inline-block;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 0.5rem;
    background-color: transparent;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus {
    background-color: #fff;
    color: #111;
    outline: none;
}

.button--login {
    background-color: #0b3d91;
    padding: 0.42rem 0.75rem;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem 0.7rem;
    align-items: center;
}

.nav-link,
.nav-link--toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    background: none;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
}

.nav-link--toggle::after {
    content: "▾";
    font-size: .9em;
    margin-left: 0.2rem;
    transition: transform 0.15s ease;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0.2rem 0 0;
    padding: 0.3rem 0;
    background-color: #0b3d91;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0.35rem;
    min-width: auto;
    width: max-content;
    max-width: 280px;
    box-shadow: 0 0.8rem 1.2rem rgba(0, 0, 0, 0.24);
    display: none;
    opacity: 0;
    transform: translateY(-0.2rem);
    transform-origin: top left;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
    white-space: nowrap;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.3rem 0.9rem;
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    min-width: 150px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background-color: #1e3a8a;    color: #dddddd;    outline: none;
}

.nav-item--dropdown {
    position: relative;
}

.nav-item--dropdown:hover > .dropdown-menu,
.nav-item--dropdown.dropdown-open > .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-item--dropdown:hover > .nav-link--toggle,
.nav-item--dropdown.dropdown-open > .nav-link--toggle {
    color: #fff;
}

.nav-item--dropdown:hover > .nav-link--toggle::after,
.nav-item--dropdown.dropdown-open > .nav-link--toggle::after {
    transform: rotate(180deg);
}

/* ------------------------------ */
/* Main content                   */
/* ------------------------------ */

.site-main {
    background-color: #eff6ff;
    color: #111;
    padding-top: 2rem;
    padding-bottom: 3rem;
    flex: 1;
}

.site-main--home {
    padding-top: 0;
    padding-bottom: 0;
    background: linear-gradient(90deg, #eff6ff 0 50%, #fef9e7 50% 100%);
}

.site-main h1,
.site-main h2,
.site-main h3 {
    line-height: 1.2;
    margin-top: 0;
}

.site-main p:first-child {
    margin-top: 0;
}

.messages {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.message {
    border: 1px solid transparent;
    border-radius: 0.45rem;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.55rem;
    font-weight: 600;
}

.message--success {
    background: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.message--error {
    background: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.message--warning,
.message--info {
    background: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
}

.message--info {
    background: #cff4fc;
    border-color: #b6effb;
    color: #055160;
}

/* ------------------------------ */
/* Events Pages                   */
/* ------------------------------ */

.event-page {
    max-width: 930px;
    margin: 0;
}

.event-page--detail {
    max-width: 100%;
}

.event-page__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.event-page__heading {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.event-page__meta {
    margin-bottom: 0.45rem;
}

.event-page__meta-line {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    line-height: 1.45;
}

.event-page__meta-label {
    font-weight: 700;
}

.event-page__body {
    margin-top: 0.25rem;
}

.event-page__description {
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.event-page__description p {
    margin: 0.75rem 0;
}

.event-page__description b,
.event-speaker-bio b {
    font-weight: 600;
}

.event-page__description em,
.event-speaker-bio em {
    font-style: italic;
}

.event-speaker-bio {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 1rem;
    line-height: 1.45;
}

.event-speaker-bio p {
    margin: 0.75rem 0;
}

.event-page__actions {
    margin-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.event-page__actions-nav,
.event-page__actions-edit {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    flex-wrap: wrap;
}

.event-page__actions-edit {
    margin-left: auto;
}

.app-btn {
    display: inline-block;
    border: 0;
    border-radius: 0.45rem;
    padding: 0.62rem 0.92rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
}

.app-btn:hover,
.app-btn:focus {
    color: #fff;
    filter: brightness(0.95);
    outline: none;
}

.app-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    filter: none;
}

.app-btn--primary {
    background: #2563eb;
}

.app-btn--success {
    background: #16803d;
}

.app-btn--secondary {
    background: #d97706;
}

.app-btn--danger {
    background: #b42318;
}

.app-btn--sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.82rem;
    border-radius: 0.35rem;
}

.events-list {
    display: grid;
    gap: 0.85rem;
    padding: 0 100px;
}

@media (max-width: 900px) {
    .events-list {
        padding: 0 50px;
    }
}

@media (max-width: 620px) {
    .events-list {
        padding: 0 16px;
    }
}

.event-card {
    display: block;
    background: #d7dde6;
    border: 1px solid #c0c8d4;
    border-radius: 0.55rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    color: inherit;
    text-decoration: none;
}

.event-card-shell {
    position: relative;
}

.event-card-shell--draft {
    padding-bottom: 2.2rem;
}

.event-card--draft {
    border-color: #d97706;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.12);
}

.event-card:hover,
.event-card:focus {
    color: inherit;
    text-decoration: none;
    border-color: #9fb0c7;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.event-card:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.event-card--row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
}

.event-card__date-badge {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    background: #0b3d91;
    color: #fff;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    line-height: 1.05;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.event-card__badge-month {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.event-card__badge-main {
    display: block;
    margin-top: 0.08rem;
    font-size: 1.35rem;
    font-weight: 400;
}

.event-card__content {
    min-width: 0;
}

.event-card__title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.event-card__title {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.15;
}

.event-card:hover .event-card__title,
.event-card:focus .event-card__title {
    color: #0b3d91;
}

.event-card__subtitle,
.event-card__date-line,
.event-card__speaker {
    margin: 0.18rem 0 0;
    line-height: 1.3;
}

.event-card__subtitle {
    font-size: 0.925rem;
}

.event-card__date-line {
    color: #334155;
    font-size: 0.875rem;
}

.event-card__speaker {
    font-size: 0.875rem;
}

.event-card__status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-card__status-badge--draft {
    background: #fff3e0;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.event-card__status-badge--taking-bookings {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.event-card__publish-check {
    position: absolute;
    right: 0.9rem;
    bottom: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #7c2d12;
}

.event-bulk-publish-form {
    display: grid;
    gap: 1rem;
}

.event-bulk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 100px;
}

.event-bulk-toolbar__select-all {
    margin: 0;
}

.empty-state {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .event-card--row {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .event-bulk-toolbar {
        padding: 0 50px;
    }
}

@media (max-width: 620px) {
    .event-card--row {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        text-align: left;
    }

    .event-card__date-badge {
        width: 72px;
        height: 72px;
    }

    .event-card__title {
        font-size: 0.96rem;
    }

    .event-card__publish-check {
        right: 0.8rem;
    }

    .event-bulk-toolbar {
        padding: 0 16px;
        align-items: stretch;
    }

}

/* ------------------------------ */
/* Home Page Panels                */
/* ------------------------------ */

.home-panels-shell {
    background: transparent;
}

.home-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.home-panel {
    padding: 2rem 2.5rem 2.5rem;
}

.home-panel--past {
    background: transparent;
}

.home-panel__title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.home-panel__title-link {
    color: inherit;
    text-decoration: none;
}

.home-panel__title-link:hover,
.home-panel__title-link:focus {
    color: #0b3d91;
    text-decoration: underline;
}

.home-panel__cards {
    display: grid;
    gap: 0.75rem;
}

.home-panel__empty {
    color: #666;
    font-style: italic;
}

@media (max-width: 820px) {
    .site-main--home {
        background: #eff6ff;
    }

    .home-panels-shell {
        background: transparent;
    }

    .home-panels {
        grid-template-columns: 1fr;
    }

    .home-panel--past {
        background: #fef9e7;
    }
}

/* ------------------------------ */
/* Footer                         */
/* ------------------------------ */

.site-footer {
    background-color: #dddddd;
    color: #111;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.site-footer__text {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

/* ------------------------------ */
/* Events Form                    */
/* ------------------------------ */

.event-form-page {
    max-width: 980px;
    margin: 0 auto;
}

.event-form-card {
    background: #d7dde6;
    border: 1px solid #c0c8d4;
    border-radius: 0.35rem;
    padding: 1.5rem;
}

.event-form-card + .event-form-card {
    margin-top: 1.25rem;
}

.event-form-section-title {
    margin: 0 0 0.35rem;
    color: #1e3a5f;
    font-size: 1.25rem;
}

.event-form-help {
    margin: 0 0 1rem;
    color: #334155;
}

.event-photo-crop-preview {
    width: min(100%, 280px);
    aspect-ratio: 4 / 3;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 0.5rem;
}

.event-photo-crop-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.event-photo-crop-control__input {
    flex: 1;
}

.event-photo-crop-control__value {
    min-width: 3rem;
    font-weight: 700;
    color: #1e3a5f;
    text-align: right;
}

.event-form-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.event-form-label {
    font-weight: 700;
    color: #101828;
    padding-top: 0.65rem;
}

.event-form-control-wrap input:not([type="radio"]):not([type="checkbox"]),
.event-form-control-wrap textarea,
.event-form-control-wrap select {
    width: 100%;
    background: #eef2f7;
    border: 1px solid #c2c9d5;
    border-radius: 0.35rem;
    padding: 0.55rem 0.75rem;
    font-size: 1rem;
    color: #0f172a;
}

.event-form-control-wrap textarea {
    min-height: 4rem;
    resize: vertical;
}

.event-form-control-wrap--narrow {
    max-width: 240px;
}

.event-form-control-wrap input:not([type="radio"]):not([type="checkbox"]):focus,
.event-form-control-wrap textarea:focus,
.event-form-control-wrap select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

.event-form-inline-fields {
    display: grid;
    grid-template-columns: minmax(220px, 340px) auto;
    gap: 0.9rem;
    align-items: start;
}

.event-form-inline-field {
    min-width: 0;
}

.event-form-inline-control {
    min-width: 0;
}

.event-form-inline-field--venue input {
    max-width: 320px;
}

.event-form-inline-field--places input {
    max-width: 100px;
}

.event-form-inline-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
    white-space: nowrap;
}

.event-form-inline-field--places {
    display: grid;
    grid-template-columns: auto 100px;
    align-items: center;
    gap: 0.5rem;
}

.event-form-inline-field--places label {
    margin-bottom: 0;
}

.event-form-status-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-top: 0.55rem;
}

.event-form-status-option {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.event-form-status-option input[type="radio"] {
    margin: 0;
}

.event-form-bookings-open-wrap {
    padding-top: 0.1rem;
    display: flex;
    justify-content: flex-start;
}

.event-form-row--bookings-open {
    align-items: center;
}

.event-form-row--bookings-open .event-form-label {
    padding-top: 0;
}

.event-form-row--bookings-open .event-form-bookings-open-wrap {
    padding-top: 0;
}

.event-form-bookings-open {
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: #2563eb;
}

.event-form-bookings-open:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

.event-form-errors,
.form-errors {
    color: #b42318;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.event-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.3rem;
}

/* ------------------------------ */
/* Auth Forms                     */
/* ------------------------------ */

.auth-card {
    background: #d7dde6;
    border: 1px solid #c0c8d4;
    border-radius: 0.35rem;
    padding: 1.5rem;
    max-width: 860px;
}

.auth-card--narrow {
    max-width: 620px;
}

.auth-form-row {
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.auth-form-row[hidden] {
    display: none !important;
}

/* .auth-form-row--checkbox styling removed to match other rows */

.auth-form-label {
    font-weight: 700;
    color: #101828;
    padding-top: 0.65rem;
}

.auth-required {
    color: #b42318;
}

.auth-form-control-wrap input,
.auth-form-control-wrap textarea,
.auth-form-control-wrap select {
    width: 100%;
    background: #eef2f7;
    border: 1px solid #c2c9d5;
    border-radius: 0.35rem;
    padding: 0.55rem 0.75rem;
    font-size: 1rem;
    color: #0f172a;
}

.auth-form-control-wrap input:focus,
.auth-form-control-wrap textarea:focus,
.auth-form-control-wrap select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.auth-check input[type="checkbox"] {
    width: auto;
    flex: 0 0 auto;
    margin-top: 0.25rem;
    padding: 0;
}

.auth-check p {
    margin: 0;
}

.auth-check p a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-check p a:hover,
.auth-check p a:focus-visible {
    color: #1d4ed8;
    text-decoration-thickness: 2px;
}

.auth-hint {
    margin: 0.25rem 0 0;
    color: #344054;
    font-size: 0.95rem;
}

.auth-warning {
    margin: 0 0 1rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid #f59e0b;
    border-radius: 0.35rem;
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

.auth-must-complete {
    margin-bottom: 1rem;
}

.auth-static-value {
    width: 100%;
    margin: 0;
    background: #eef2f7;
    border: 1px solid #c2c9d5;
    border-radius: 0.35rem;
    padding: 0.55rem 0.75rem;
    color: #0f172a;
    min-height: 2.45rem;
}

.auth-static-value--photo {
    min-height: auto;
}

.profile-photo-current {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 0.45rem;
    border: 1px solid #c2c9d5;
    background: #fff;
}

.auth-photo-remove-wrap {
    margin-top: 0.5rem;
}

.profile-photo-cropper-wrap {
    margin-top: 0.75rem;
    max-width: 420px;
    border: 1px solid #c2c9d5;
    border-radius: 0.35rem;
    overflow: hidden;
    background: #fff;
}

.profile-photo-cropper-wrap img {
    display: block;
    max-width: 100%;
}

.auth-form-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.3rem;
}

.auth-form-links {
    margin: 0.8rem 0 0;
    text-align: center;
}

.auth-form-links a {
    color: #0b3d91;
    text-decoration: underline;
}

.user-directory {
    max-width: 100%;
    margin: 1.5rem auto;
}

.user-directory__intro {
    margin: 0 0 1rem;
    color: #344054;
}

.user-directory__filters {
    margin-bottom: 1rem;
    padding: 0.85rem;
    border: 1px solid #c2c9d5;
    border-radius: 0.35rem;
    background: #eef2f7;
}

.user-directory__filter-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.user-directory__filters fieldset {
    border: 1px solid #d6dce5;
    border-radius: 0.35rem;
    padding: 0.65rem 0.75rem 0.75rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    background: #f8fafc;
}

.user-directory__filters legend {
    font-weight: 700;
    margin-bottom: 0.35rem;
    padding: 0 0.2rem;
}

.user-directory__filter-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.user-directory__filter-actions {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-directory__bulk-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
    margin-bottom: 0.8rem;
}

.user-directory__action-group {
    border: 1px solid #c2c9d5;
    border-radius: 0.45rem;
    background: #eef2f7;
    padding: 0.8rem;
}

.user-directory__action-group--accounts {
    background: #f8fafc;
}

.user-directory__action-title {
    margin: 0 0 0.55rem;
    font-weight: 700;
    color: #0f172a;
}

.user-directory__action-body {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.user-directory__action-help {
    margin: 0.6rem 0 0;
    color: #475467;
    font-size: 0.9rem;
}

.user-directory__bulk-controls select {
    min-width: 180px;
    background: #eef2f7;
    border: 1px solid #c2c9d5;
    border-radius: 0.35rem;
    padding: 0.45rem 0.6rem;
}

.user-directory__table-wrap {
    overflow-x: auto;
}

.user-directory__table {
    width: 100%;
    border-collapse: collapse;
}

.user-directory__table th,
.user-directory__table td {
    border-bottom: 1px solid #d0d7e2;
    padding: 0.65rem 0.55rem;
    text-align: left;
    vertical-align: top;
}

.user-directory__table th {
    background: #e4eaf2;
    font-weight: 700;
}

.user-directory__group-badge {
    display: inline-block;
    margin: 0 0.35rem 0.35rem 0;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.85rem;
}

.user-directory__name-link {
    color: #0b3d91;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.user-directory__name-link:hover,
.user-directory__name-link:focus-visible {
    color: #1d4ed8;
}

.user-profile-force-reset-form {
    display: inline;
}

.user-directory__status {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.user-directory__status--active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.user-directory__status--inactive {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.user-directory__unassigned {
    color: #64748b;
    font-style: italic;
}

.user-directory__select-col {
    width: 90px;
    text-align: center;
}

.user-directory__select-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    justify-content: center;
}

.user-directory__empty {
    text-align: center;
    color: #64748b;
}

.user-directory__not-eligible {
    color: #94a3b8;
}

/* ------------------------------ */
/* Responsive                     */
/* ------------------------------ */

@media (max-width: 899px) {
    .user-directory__email-col {
        display: none;
    }
}

@media (max-width: 699px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .navbar__brand,
    .navbar__account,
    .navbar__menu {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-list--account {
        justify-content: center;
    }

    .nav-item--account .dropdown-menu {
        left: 50%;
        right: auto;
        transform-origin: top center;
        transform: translate(-50%, -0.2rem);
    }

    .nav-item--account.dropdown-open .dropdown-menu,
    .nav-item--account:hover .dropdown-menu {
        transform: translate(-50%, 0);
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem 0.7rem;
    }

    .hero {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .hero--home {
        padding-top: 0.9rem;
        padding-bottom: 1.5rem;
    }

    .hero--home .hero__title {
        font-size: 44px;
    }

    .hero--home .hero__subtitle {
        font-size: 28px;
    }

    .hero--event .hero__title {
        font-size: 40px;
    }

    .hero--event .hero__subtitle {
        font-size: 22px;
    }

    .event-form-card {
        padding: 1rem;
    }

    .event-form-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .event-form-label {
        padding-top: 0;
    }

    .event-form-control-wrap--narrow {
        max-width: 100%;
    }

    .event-form-inline-fields {
        grid-template-columns: 1fr;
    }

    .event-form-inline-field {
        align-items: start;
    }

    .event-form-inline-field--places {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .event-form-inline-field--places label {
        margin-bottom: 0.25rem;
    }

    .event-form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .auth-card {
        padding: 1rem;
    }

    .auth-form-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .auth-form-label {
        padding-top: 0;
    }

    .auth-form-actions {
        align-items: stretch;
    }

    .app-btn {
        width: 100%;
        text-align: center;
    }

    .event-page__header {
        flex-direction: column;
        align-items: stretch;
    }

    .event-page__heading {
        font-size: 1.5rem;
    }

    .event-page__meta-line,
    .event-page__description {
        font-size: 1.05rem;
    }

}

@media (min-width: 700px) and (max-width: 899px) {
    .site-header,
    .site-header__overlay {
        min-height: 340px;
    }

    .hero {
        padding-top: 0.8rem;
        padding-bottom: 1.4rem;
    }

    .hero--home {
        padding-top: 1.1rem;
        padding-bottom: 1.5rem;
    }

    .hero--home .hero__title {
        font-size: 58px;
    }

    .hero--home .hero__subtitle {
        font-size: 34px;
    }

    .hero--event .hero__title {
        font-size: 44px;
    }

    .hero--event .hero__subtitle {
        font-size: 23px;
    }

    .navbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .navbar__brand,
    .navbar__account,
    .navbar__menu {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem 0.7rem;
    }
}

@media (min-width: 900px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-top: 2rem;
    }

    .navbar__brand,
    .navbar__account,
    .navbar__menu {
        width: auto;
    }

    .navbar__brand {
        order: 1;
    }

    .navbar__menu {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
    }

    .navbar__account {
        order: 3;
        margin-left: 1rem;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .nav-link,
    .nav-link--toggle {
        padding: 0.5rem 0;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0.4rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.18);
    }
}

/* Committee Directory Styles */

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
}

.committee-member-card {
    background: #d7dde6;
    border: 1px solid #c0c8d4;
    border-radius: 0.45rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.committee-member-card:hover {
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.committee-member-card__photo-wrap {
    width: 100%;
    aspect-ratio: 1;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.committee-member-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.committee-member-card__photo-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0b3d91 0%, #1e3a8a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.committee-member-card__body {
    padding: 0.75rem;
}

.committee-member-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #101828;
}

.committee-role-badge {
    display: inline-block;
    margin: 0;
    padding: 0;
    border-radius: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.committee-role-badge--chairperson {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.committee-role-badge--treasurer {
    background: #dbeafe;
    color: #0c4a6e;
    border: 1px solid #0284c7;
}

.committee-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

@media (max-width: 620px) {
    .committee-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ==========================================================================
   Event Media (Photos, Files, Links)
   ========================================================================== */

.event-media {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.event-bookings {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
}

.event-bookings__title {
    margin: 0;
    color: #1e3a5f;
}

.event-bookings__summary {
    margin: 0.45rem 0 1rem;
}

.event-bookings__panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.9rem;
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.event-bookings__subheading {
    margin: 0 0 0.75rem;
}

.event-bookings__form {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.event-bookings__help {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
}

.event-bookings__guest-list,
.event-bookings__attendee-list {
    margin: 0.4rem 0 0.8rem;
    padding-left: 1rem;
}

.event-bookings__guest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.event-bookings__attendee-item {
    margin-bottom: 0.6rem;
}

.event-bookings__panel--attendees {
    margin-top: 1rem;
}

.event-bookings__attendee-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.event-bookings__download-btn {
    display: inline-block;
    background: #e2e8f0;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.event-bookings__download-btn:hover,
.event-bookings__download-btn:focus {
    color: #0f172a;
    filter: brightness(0.98);
}

.event-bookings__attendee-list--tight {
    margin: 0.2rem 0 0;
    padding-left: 0;
    list-style: none;
}

.event-bookings__attendee-line {
    margin: 0;
    padding: 0.08rem 0;
    line-height: 1.35;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.event-bookings__attendee-guests {
    color: #334155;
}

.event-bookings__attendee-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.45rem;
    border-radius: 0.75rem;
    white-space: nowrap;
}

.event-bookings__attendee-status--accepted {
    background: #dcfce7;
    color: #166534;
}

.event-bookings__attendee-status--waiting {
    background: #fef9c3;
    color: #713f12;
}

.event-bookings__attendee-status--late-cancel {
    background: #ffedd5;
    color: #9a3412;
}

.event-bookings__attendee-status--cancelled {
    background: #f1f5f9;
    color: #64748b;
}

.event-bookings__late-cancel-notice {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.375rem;
}

.event-bookings__late-cancel-notice p {
    margin: 0 0 0.5rem;
}

.event-bookings__late-cancel-notice__lead {
    margin: 0 0 0.75rem;
    padding: 0.75rem 1rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.375rem;
}

.event-bookings__status {
    color: #475569;
    font-size: 0.9rem;
}

.event-bookings__inline-btn {
    border: 0;
    background: transparent;
    color: #b91c1c;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.event-bookings__status-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-bookings__guest-list--compact {
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
}

.event-bookings__manage-details {
    margin-top: 0.6rem;
}

.event-bookings__manage-toggle {
    display: inline-block;
    background: #e2e8f0;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.event-bookings__manage-toggle::-webkit-details-marker {
    display: none;
}

.event-bookings__manage-toggle-text--open {
    display: none;
}

.event-bookings__manage-details[open] .event-bookings__manage-toggle-text--closed {
    display: none;
}

.event-bookings__manage-details[open] .event-bookings__manage-toggle-text--open {
    display: inline;
}

.event-bookings__form--add-guest {
    margin-top: 0.5rem;
}

.event-bookings__add-guest-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.event-bookings__add-guest-row input {
    flex: 1;
}

.event-bookings__add-guest-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    line-height: 1;
}

.event-bookings__cancel-wrap {
    margin-top: 0.85rem;
    padding-top: 0.65rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.app-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.app-modal[hidden] {
    display: none;
}

.app-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
}

.app-modal__dialog {
    position: relative;
    width: min(520px, 100%);
    background: #ffffff;
    border: 1px solid #d0d7e2;
    border-radius: 0.55rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.24);
    padding: 1rem 1rem 0.9rem;
}

.app-modal__title {
    margin: 0 0 0.55rem;
    color: #0f172a;
    font-size: 1.1rem;
}

.app-modal__body {
    margin: 0;
    color: #334155;
}

.app-modal__actions {
    margin-top: 0.95rem;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.app-modal-open {
    overflow: hidden;
}

.event-media__section {
    margin-bottom: 2.5rem;
    border-top: 2px solid #e5e7eb;
    padding-top: 1.5rem;
}

.event-media--editor .event-media__section:first-child,
.event-media__section--editor {
    border-top: none;
    padding-top: 0;
}

.event-media--editor .event-media__section:last-child {
    margin-bottom: 0;
}

.event-media__section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 1rem;
}

.event-media__empty {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
}

/* --- Photo gallery ---------------------------------------- */

.event-photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-photo-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-media--editor .event-photo-item {
    overflow: visible;
}

.event-media--editor .event-photo-item:has(.event-media__inline-editor[open]) {
    grid-column: 1 / -1;
}

.event-photo-item__img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s;
}

.event-photo-item__img:hover {
    opacity: 0.85;
}

.event-photo-item__caption {
    font-size: 0.8rem;
    color: #374151;
    padding: 0.4rem 0.6rem 0;
    margin: 0;
}

.event-photo-item__missing {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem;
    background: #eef2f7;
    color: #475569;
    font-size: 0.9rem;
}

.event-photo-item__actions {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0.6rem 0.6rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.event-media--editor .event-photo-item__actions {
    align-items: flex-start;
}

.event-media--editor .event-media__inline-editor {
    flex: 1 1 auto;
}

.event-media--editor .event-media__inline-editor[open] {
    flex: 1 1 100%;
}

.event-media--editor .event-media__inline-editor[open] .event-media-add-form {
    width: min(100%, 760px);
}

/* --- File list -------------------------------------------- */

.event-file-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.event-file-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.event-file-item__name {
    font-weight: 600;
    color: #1e3a5f;
    text-decoration: none;
}

.event-file-item__name:hover {
    text-decoration: underline;
}

.event-file-item__desc {
    color: #6b7280;
    font-size: 0.9rem;
}

/* --- Link list -------------------------------------------- */

.event-link-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.event-link-item {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.event-link-item__title {
    font-weight: 600;
    color: #1e3a5f;
    text-decoration: none;
}

.event-link-item__title:hover {
    text-decoration: underline;
}

.event-link-item__desc {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0.2rem 0 0;
}

/* --- Shared action links ---------------------------------- */

.event-media__action-link {
    font-size: 0.8rem;
    text-decoration: none;
    color: #1e3a5f;
    cursor: pointer;
}

.event-media__action-link:hover {
    text-decoration: underline;
}

.event-media__action-link--download {
    color: #0369a1;
}

.event-media__action-link--delete {
    color: #b91c1c;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.8rem;
}

.event-media__delete-form {
    display: contents;
}

.event-media__delete-form--inline {
    display: inline;
}

/* --- Add forms -------------------------------------------- */

.event-media-add-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.event-media-add-form__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 0.75rem;
}

.event-media-add-form__row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.event-media-add-form__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.event-media-add-form__actions {
    margin-top: 0.5rem;
}

.event-media-add-form__btn {
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.event-media-add-form__btn:hover {
    background: #16304f;
}

@media (max-width: 600px) {
    .event-photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .event-file-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 700px) {
    .event-bookings__status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .event-bookings__attendee-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Event Booking Status Badges */
.event-bookings__status-badge {
    display: inline-block;
    padding: 0.25em 0.75em;
    border-radius: 1em;
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 0.5em;
    margin-right: 0.5em;
    margin-top: 0.5em;
    letter-spacing: 0.01em;
    border: 1px solid #e0e0e0;
}
.event-bookings__status-badge--accepted {
    background: #d6f5e3;
    color: #217a3c;
    border-color: #b2e2c7;
}
.event-bookings__status-badge--cancelled {
    background: #e5e5e5;
    color: #555;
    border-color: #cccccc;
}
.event-bookings__status-badge--waiting-list {
    background: #fff3e0;
    color: #b26a00;
    border-color: #ffd699;
}
.event-bookings__status-badge--cancel_requested {
    background: #e0f0ff;
    color: #1766a3;
    border-color: #b3d8f7;
}

/* Ensure Date/Time Requested column is centered in attendee table */
.event-bookings__attendee-table th.event-bookings__attendee-date,
.event-bookings__attendee-table td.event-bookings__attendee-date {
    text-align: center;
}
