/* Event kiosk / join — sits on top of kate-brand.css */

body.theme-kate.event-page {
    --lon-col-max: 420px;
}

body.theme-kate.event-page.is-kiosk {
    --lon-col-max: min(520px, 92vw);
}

body.theme-kate.event-page .kate-hero > .brand {
    padding-top: calc(112px + env(safe-area-inset-top, 0px));
}

body.theme-kate.event-page .container {
    padding-bottom: 32px;
}

body.theme-kate.event-page.is-kiosk .container {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

body.theme-kate .event-msg {
    margin: 12px 0 0;
    min-height: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--lon-font);
    font-size: 14px;
    line-height: 18px;
}

body.theme-kate .event-msg.is-error {
    color: var(--lon-white);
}

body.theme-kate .event-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 12px 0 8px;
}

body.theme-kate .event-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    padding: 16px;
    box-sizing: border-box;
    background: var(--lon-white);
    border-radius: 18px;
    overflow: hidden;
}

body.theme-kate .event-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    background: var(--lon-white);
}

body.theme-kate .event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
    max-width: var(--lon-col-max);
    margin: 0 auto;
    padding: 14px var(--lon-gutter) calc(14px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: var(--lon-blue);
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--lon-font);
    font-size: 13px;
    text-transform: uppercase;
}

body.theme-kate .event-rfid {
    letter-spacing: 0.04em;
}

body.theme-kate .event-rfid.is-on {
    color: var(--lon-white);
}

body.theme-kate .event-logout {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--lon-font);
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
}

body.theme-kate .event-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: var(--lon-blue);
    box-sizing: border-box;
}

body.theme-kate .event-overlay[hidden] {
    display: none !important;
}

body.theme-kate .event-overlay-inner {
    width: 100%;
    max-width: var(--lon-col-max);
}

body.theme-kate .event-overlay .kate-login-title {
    text-align: left;
}

body.theme-kate .event-waiting {
    margin: 8px 0 28px;
    color: var(--lon-white);
    font-family: var(--lon-font);
    font-size: 16px;
    line-height: 21px;
    text-transform: uppercase;
}

body.theme-kate .event-overlay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.theme-kate .event-queue {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--lon-font);
    font-size: 14px;
    text-transform: uppercase;
}

body.theme-kate .kate-login-title-sub.is-error {
    color: var(--lon-white);
}

body.theme-kate.event-page .kate-login-submit + .kate-login-submit {
    margin-left: 10px;
}
