/* NextGen Festival Capture frontend styles */
.nfc-event-page,
.nfc-event-page * {
    box-sizing: border-box;
}

.nfc-event-page {
    --nfc-navy: #071832;
    --nfc-navy-soft: #0b2348;
    --nfc-gold: #d8a447;
    --nfc-cream: #f6efe1;
    --nfc-white: #ffffff;
    --nfc-muted: rgba(255,255,255,.72);
    --nfc-line: rgba(255,255,255,.18);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 100vh;
    overflow: hidden;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nfc-qr-page {
    position: relative;
    background:
        radial-gradient(circle at 82% 14%, rgba(216,164,71,.14) 0, rgba(216,164,71,0) 28%),
        linear-gradient(145deg, #071832 0%, #091d3d 52%, #06142b 100%);
    color: #ffffff !important;
    padding: clamp(22px, 4vw, 56px);
}

.nfc-qr-page::before,
.nfc-qr-page::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(216,164,71,.15);
    border-radius: 999px;
    pointer-events: none;
}

.nfc-qr-page::before {
    width: min(52vw, 620px);
    height: min(52vw, 620px);
    right: -180px;
    top: -160px;
}

.nfc-qr-page::after {
    width: min(34vw, 420px);
    height: min(34vw, 420px);
    right: 8vw;
    top: 5vw;
    opacity: .6;
}

.nfc-qr-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    margin: 0 auto;
    min-height: calc(100vh - clamp(44px, 8vw, 112px));
    display: flex;
    flex-direction: column;
}

.nfc-qr-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    animation: nfcFadeUp .55s ease both;
}

.nfc-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.nfc-brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: contain;
    flex: 0 0 auto;
    background: rgba(255,255,255,.92);
    padding: 3px;
}

.nfc-brand-fallback {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--nfc-gold);
    color: var(--nfc-navy);
    font-weight: 800;
    letter-spacing: -.03em;
    flex: 0 0 auto;
}

.nfc-brand-text strong {
    display: block;
    font-size: clamp(13px, 1.3vw, 16px);
    line-height: 1.05;
    letter-spacing: .02em;
    font-weight: 750;
}

.nfc-brand-text span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.68);
    font-size: clamp(10px, 1vw, 12px);
    line-height: 1.25;
}

.nfc-qr-location {
    color: rgba(255,255,255,.75);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nfc-qr-main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .78fr);
    gap: clamp(30px, 6vw, 82px);
    align-items: end;
    padding: clamp(72px, 11vw, 138px) 0 clamp(48px, 7vw, 88px);
    flex: 1;
}

.nfc-qr-copy {
    max-width: 760px;
}

.nfc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-size: clamp(11px, 1vw, 13px);
    letter-spacing: .26em;
    text-transform: uppercase;
    margin-bottom: clamp(18px, 2.5vw, 28px);
    animation: nfcFadeUp .65s ease .05s both;
}

.nfc-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--nfc-gold);
}

.nfc-qr-title {
    margin: 0;
    color: var(--nfc-white);
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.055em;
    font-size: clamp(54px, 9vw, 118px);
    animation: nfcFadeUp .7s ease .12s both;
}

.nfc-qr-title em {
    color: var(--nfc-gold);
    font-style: italic;
    font-weight: 500;
}

.nfc-qr-support {
    display: block;
    margin-top: clamp(28px, 4.5vw, 54px);
    max-width: 700px;
    animation: nfcFadeUp .75s ease .18s both;
}

.nfc-qr-support p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.55;
    max-width: 560px;
}


.nfc-qr-card-wrap {
    display: flex;
    justify-content: flex-end;
    animation: nfcFloatIn .75s ease .2s both;
}

.nfc-qr-card {
    width: min(100%, 330px);
    border-radius: 34px;
    background: var(--nfc-white);
    color: var(--nfc-navy);
    padding: clamp(18px, 3vw, 28px);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
    transform: none;
    transform-origin: center center;
}

.nfc-qr-image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 22px;
    background: #f7f7f2;
}

.nfc-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nfc-qr-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #6b7280;
    border: 1px dashed #c8c8c0;
    border-radius: 18px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.nfc-qr-label {
    margin-top: 18px;
    display: block;
    text-align: center;
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
    font-weight: 800;
    color: #13213a;
}

.nfc-qr-footer {
    border-top: 1px solid var(--nfc-line);
    padding-top: clamp(20px, 3vw, 30px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    animation: nfcFadeUp .7s ease .28s both;
}

.nfc-footer-logos {
    display: flex;
    align-items: end;
    gap: clamp(18px, 3vw, 46px);
    flex-wrap: wrap;
}

.nfc-footer-logo-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.nfc-footer-logo {
    width: auto;
    height: 42px;
    max-width: 92px;
    object-fit: contain;
    flex: 0 0 auto;
    background: rgba(255,255,255,.94);
    border-radius: 12px;
    padding: 4px;
}

.nfc-footer-logo-item:nth-child(2) .nfc-footer-logo,
.nfc-footer-logo-item:nth-child(3) .nfc-footer-logo {
    border-radius: 8px;
}

.nfc-footer-logo-fallback {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: var(--nfc-gold);
    font-size: 11px;
    font-weight: 800;
}

.nfc-footer-label {
    display: block;
    color: rgba(255,255,255,.58);
    font-size: 9px;
    line-height: 1.1;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nfc-footer-label strong {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.86);
    font-size: 11px;
    line-height: 1.15;
    letter-spacing: .06em;
    font-weight: 700;
}

.nfc-nextgen-mark {
    color: rgba(255,255,255,.82);
    font-size: clamp(15px, 1.4vw, 19px);
    letter-spacing: .22em;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes nfcFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nfcFloatIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.98) rotate(0deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nfc-qr-topbar,
    .nfc-eyebrow,
    .nfc-qr-title,
    .nfc-qr-support,
    .nfc-qr-card-wrap,
    .nfc-qr-footer {
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .nfc-qr-page {
        padding: 24px 18px 28px;
    }

    .nfc-qr-shell {
        min-height: auto;
    }

    .nfc-qr-main {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 62px 0 42px;
        gap: 38px;
    }

    .nfc-qr-support {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .nfc-qr-card-wrap {
        justify-content: flex-start;
    }

    .nfc-qr-card {
        width: min(100%, 300px);
        transform: none;
    transform-origin: center center;
    }

    .nfc-qr-footer {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .nfc-nextgen-mark {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .nfc-qr-topbar {
        align-items: flex-start;
        }

    .nfc-brand-logo,
    .nfc-brand-fallback {
        width: 40px;
        height: 40px;
    }

    .nfc-qr-location {
        font-size: 10px;
        letter-spacing: .18em;
        padding-top: 4px;
    }

    .nfc-qr-title {
        font-size: clamp(48px, 16vw, 68px);
    }

    .nfc-eyebrow {
        letter-spacing: .18em;
        line-height: 1.4;
    }

    .nfc-eyebrow::before {
        width: 18px;
    }

    .nfc-qr-card {
        width: min(100%, 282px);
        border-radius: 28px;
    }

    .nfc-footer-logos {
            align-items: flex-start;
    }

    .nfc-footer-logo-item {
        width: calc(50% - 10px);
        align-items: center;
    }

    .nfc-footer-logo {
        height: 36px;
        max-width: 76px;
    }

    .nfc-footer-label {
        white-space: normal;
    }
}

/* Registration page */
.nfc-registration-page {
    --nfc-navy: #071832;
    --nfc-gold: #d8a447;
    --nfc-cream: #f6efe1;
    --nfc-ink: #071832;
    --nfc-soft-ink: rgba(7,24,50,.68);
    background:
        radial-gradient(circle at 82% 12%, rgba(216,164,71,.16) 0, rgba(216,164,71,0) 30%),
        linear-gradient(135deg, #fbf6ea 0%, #f4ead7 100%);
    color: var(--nfc-ink);
    padding: clamp(22px, 4vw, 54px);
}

.nfc-form-shell {
    width: min(1120px, 100%);
    min-height: calc(100vh - clamp(44px, 8vw, 108px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.nfc-form-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    animation: nfcFadeUp .55s ease both;
}

.nfc-registration-page .nfc-brand-logo {
    background: #fff;
    box-shadow: 0 8px 24px rgba(7,24,50,.08);
}

.nfc-brand-dark .nfc-brand-text strong {
    color: var(--nfc-ink);
}

.nfc-brand-dark .nfc-brand-text span {
    color: rgba(7,24,50,.62);
}

.nfc-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(22,163,74,.22);
    background: rgba(22,163,74,.09);
    color: #12743a;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nfc-live-pill span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #16a34a;
    box-shadow: 0 0 0 5px rgba(22,163,74,.14);
}

.nfc-registration-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(330px, .72fr);
    gap: clamp(28px, 6vw, 82px);
    align-items: center;
    padding: clamp(60px, 9vw, 112px) 0 clamp(44px, 7vw, 82px);
}

.nfc-registration-copy {
    max-width: 650px;
}

.nfc-form-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(7,24,50,.55);
    font-size: clamp(11px, 1vw, 13px);
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: clamp(18px, 2.5vw, 28px);
    animation: nfcFadeUp .65s ease .05s both;
}

.nfc-form-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--nfc-gold);
}

.nfc-form-title {
    margin: 0;
    color: var(--nfc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.05em;
    font-size: clamp(48px, 8vw, 96px);
    animation: nfcFadeUp .7s ease .12s both;
}

.nfc-form-title em {
    color: var(--nfc-gold);
    font-style: italic;
    font-weight: 500;
}

.nfc-form-intro {
    margin: clamp(22px, 3vw, 34px) 0 0;
    color: var(--nfc-soft-ink);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.55;
    max-width: 520px;
    animation: nfcFadeUp .75s ease .18s both;
}

.nfc-public-form {
    width: 100%;
    background: rgba(255,255,255,.74);
    border: 1px solid rgba(7,24,50,.08);
    border-radius: 30px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 24px 72px rgba(7,24,50,.12);
    backdrop-filter: blur(8px);
    animation: nfcFloatIn .75s ease .2s both;
}

.nfc-form-field {
    display: block;
    margin-bottom: 16px;
}

.nfc-form-field > span {
    display: block;
    margin: 0 0 8px;
    color: rgba(7,24,50,.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nfc-form-field input,
.nfc-form-field select,
.nfc-phone-row input,
.nfc-phone-row select {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(7,24,50,.12);
    border-radius: 16px;
    background: #fff;
    color: var(--nfc-ink);
    font: inherit;
    font-size: 15px;
    outline: none;
    padding: 0 16px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nfc-form-field input:focus,
.nfc-form-field select:focus,
.nfc-phone-row input:focus,
.nfc-phone-row select:focus {
    border-color: rgba(216,164,71,.8);
    box-shadow: 0 0 0 4px rgba(216,164,71,.16);
}

.nfc-phone-row {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 10px;
}

.nfc-phone-row select {
    appearance: auto;
    padding: 0 12px;
}

.nfc-math-field input {
    max-width: 180px;
}

.nfc-submit-button {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 18px;
    background: var(--nfc-navy);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow: 0 18px 40px rgba(7,24,50,.22);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nfc-submit-button:hover,
.nfc-submit-button:focus {
    background: #0b2348;
    transform: translateY(-1px);
    box-shadow: 0 22px 46px rgba(7,24,50,.26);
}

.nfc-form-alert {
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.nfc-form-alert-error {
    color: #8a1f11;
    background: #fff1ed;
    border: 1px solid #ffd4ca;
}

.nfc-form-alert-success {
    color: #14532d;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.nfc-hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.nfc-form-footer {
    border-top: 1px solid rgba(7,24,50,.12);
    padding-top: clamp(18px, 3vw, 28px);
    animation: nfcFadeUp .7s ease .28s both;
}

.nfc-registration-page .nfc-footer-logo {
    background: #fff;
    box-shadow: 0 8px 24px rgba(7,24,50,.08);
}

.nfc-registration-page .nfc-footer-logo-fallback {
    background: rgba(7,24,50,.06);
    border-color: rgba(7,24,50,.1);
    color: var(--nfc-navy);
}

.nfc-registration-page .nfc-footer-label {
    color: rgba(7,24,50,.5);
}

.nfc-registration-page .nfc-footer-label strong {
    color: rgba(7,24,50,.82);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

@media (prefers-reduced-motion: reduce) {
    .nfc-form-topbar,
    .nfc-form-eyebrow,
    .nfc-form-title,
    .nfc-form-intro,
    .nfc-public-form,
    .nfc-form-footer {
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .nfc-registration-page {
        padding: 24px 18px 28px;
    }

    .nfc-form-shell {
        min-height: auto;
    }

    .nfc-registration-main {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 58px 0 40px;
        gap: 34px;
    }

    .nfc-public-form {
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    .nfc-form-topbar {
        align-items: flex-start;
    }

    .nfc-registration-page .nfc-brand-logo,
    .nfc-registration-page .nfc-brand-fallback {
        width: 40px;
        height: 40px;
    }

    .nfc-form-title {
        font-size: clamp(44px, 14vw, 62px);
    }

    .nfc-public-form {
        border-radius: 24px;
        padding: 18px;
    }

    .nfc-phone-row {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 8px;
    }

    .nfc-form-field input,
    .nfc-form-field select,
    .nfc-phone-row input,
    .nfc-phone-row select {
        min-height: 52px;
        border-radius: 15px;
        font-size: 14px;
        padding: 0 13px;
    }

    .nfc-registration-page .nfc-footer-logo-item {
        width: calc(50% - 10px);
    }
}


/* Thank you page */
.nfc-thank-page {
    position: relative;
    background:
        radial-gradient(circle at 85% 16%, rgba(216,164,71,.16) 0, rgba(216,164,71,0) 30%),
        linear-gradient(150deg, #071832 0%, #0a1f42 54%, #06142b 100%);
    color: #ffffff;
    padding: clamp(22px, 4vw, 56px);
}

.nfc-thank-page::before,
.nfc-thank-page::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(216,164,71,.15);
    border-radius: 999px;
    pointer-events: none;
}

.nfc-thank-page::before {
    width: min(50vw, 580px);
    height: min(50vw, 580px);
    right: -180px;
    top: -160px;
}

.nfc-thank-page::after {
    width: min(34vw, 420px);
    height: min(34vw, 420px);
    right: 9vw;
    top: 7vw;
    opacity: .55;
}

.nfc-thank-shell {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    margin: 0 auto;
    min-height: calc(100vh - clamp(44px, 8vw, 112px));
    display: flex;
    flex-direction: column;
}

.nfc-thank-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: nfcFadeUp .55s ease both;
}

.nfc-thank-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    grid-template-areas:
        "copy card"
        "button card";
    gap: clamp(22px, 4vw, 56px);
    align-content: center;
    padding: clamp(62px, 10vw, 118px) 0 clamp(44px, 7vw, 76px);
}

.nfc-thank-copy {
    grid-area: copy;
    max-width: 720px;
}

.nfc-thank-check {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--nfc-gold);
    color: var(--nfc-navy);
    box-shadow: 0 22px 56px rgba(216,164,71,.28);
    animation: nfcFadeUp .6s ease .04s both;
}

.nfc-thank-check svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.nfc-thank-meta {
    margin-top: 22px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    letter-spacing: .26em;
    text-transform: uppercase;
    font-weight: 800;
    animation: nfcFadeUp .65s ease .08s both;
}

.nfc-thank-title {
    margin: 16px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.055em;
    font-size: clamp(58px, 9vw, 116px);
    animation: nfcFadeUp .7s ease .12s both;
}

.nfc-thank-title em {
    color: var(--nfc-gold);
    font-style: italic;
    font-weight: 500;
}

.nfc-thank-message,
.nfc-thank-note {
    margin: clamp(20px, 3vw, 32px) 0 0;
    max-width: 560px;
    color: rgba(255,255,255,.78);
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.65;
    animation: nfcFadeUp .75s ease .16s both;
}

.nfc-thank-note {
    margin-top: 14px;
    color: rgba(255,255,255,.66);
    font-size: 14px;
}

.nfc-thank-card {
    grid-area: card;
    align-self: end;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    padding: clamp(22px, 3vw, 30px);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 90px rgba(0,0,0,.24);
    animation: nfcFloatIn .72s ease .16s both;
}

.nfc-thank-card-kicker {
    color: var(--nfc-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.nfc-thank-card p {
    margin: 14px 0 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.nfc-thank-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.nfc-thank-stats div {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255,255,255,.06);
}

.nfc-thank-stats span {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.35;
}

.nfc-thank-stats strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1;
    letter-spacing: -.04em;
}

.nfc-thank-book {
    grid-area: button;
    width: min(100%, 380px);
    min-height: 70px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 24px;
    background: var(--nfc-gold);
    color: var(--nfc-navy) !important;
    text-decoration: none !important;
    box-shadow: 0 22px 56px rgba(216,164,71,.24);
    transition: transform .2s ease, box-shadow .2s ease;
    animation: nfcFadeUp .75s ease .22s both;
}

.nfc-thank-book:hover,
.nfc-thank-book:focus {
    transform: translateY(-2px);
    box-shadow: 0 28px 70px rgba(216,164,71,.32);
}

.nfc-thank-book span {
    font-size: 17px;
    font-weight: 850;
    line-height: 1.1;
}

.nfc-thank-book small {
    color: rgba(7,24,50,.76);
    font-size: 13px;
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    .nfc-thank-topbar,
    .nfc-thank-check,
    .nfc-thank-meta,
    .nfc-thank-title,
    .nfc-thank-message,
    .nfc-thank-note,
    .nfc-thank-card,
    .nfc-thank-book {
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .nfc-thank-page {
        padding: 24px 18px 30px;
    }

    .nfc-thank-shell {
        min-height: auto;
    }

    .nfc-thank-main {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "card"
            "button";
        align-content: start;
        padding: 58px 0 40px;
        gap: 28px;
    }

    .nfc-thank-card {
        align-self: start;
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    .nfc-thank-page .nfc-brand-logo,
    .nfc-thank-page .nfc-brand-fallback {
        width: 40px;
        height: 40px;
    }

    .nfc-thank-check {
        width: 54px;
        height: 54px;
    }

    .nfc-thank-title {
        font-size: clamp(50px, 16vw, 70px);
    }

    .nfc-thank-stats {
        grid-template-columns: 1fr;
    }

    .nfc-thank-book {
        width: 100%;
    }
}

/* Meeting booking page */
.nfc-booking-page .nfc-form-title {
    max-width: 720px;
}

.nfc-booking-page .nfc-form-intro {
    max-width: 560px;
}

.nfc-booking-date-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}


.nfc-time-select-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.nfc-time-select-row select {
    min-height: 54px;
    border: 1px solid rgba(7,24,50,.12);
    border-radius: 16px;
    background: #fff;
    color: var(--nfc-ink);
    font: inherit;
    font-size: 15px;
    outline: none;
    padding: 0 14px;
    appearance: auto;
}

.nfc-time-select-row select:focus {
    border-color: rgba(216,164,71,.8);
    box-shadow: 0 0 0 4px rgba(216,164,71,.16);
}

.nfc-time-separator {
    color: rgba(7,24,50,.55);
    font-weight: 800;
}

.nfc-field-hint {
    display: block;
    margin-top: 7px;
    color: rgba(7,24,50,.55);
    font-size: 12px;
    line-height: 1.4;
}

.nfc-booking-success-card {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
    padding: 14px 15px;
    border-radius: 18px;
    background: #f6fff8;
    border: 1px solid #bbf7d0;
    color: #14532d;
    font-size: 14px;
    line-height: 1.45;
}

.nfc-booking-success-card strong {
    display: block;
    color: #0f3d24;
    font-size: 15px;
}

@media (max-width: 560px) {
    .nfc-booking-date-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Admin login page */
.nfc-admin-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 5%, rgba(216,164,71,.18), transparent 34%),
        radial-gradient(circle at 86% 12%, rgba(255,255,255,.08), transparent 28%),
        var(--nfc-navy);
    color: #fff;
    padding: 34px 28px;
}

.nfc-admin-login-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
}

.nfc-admin-login-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    animation: nfcFadeUp .65s ease both;
}

.nfc-admin-secure-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nfc-admin-login-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: clamp(32px, 5vw, 76px);
    align-items: center;
    padding: 64px 0 34px;
}

.nfc-admin-login-copy .nfc-form-kicker,
.nfc-admin-login-copy .nfc-form-title,
.nfc-admin-login-copy .nfc-form-intro {
    color: #fff;
}

.nfc-admin-login-copy .nfc-form-kicker {
    color: var(--nfc-gold);
}

.nfc-admin-login-copy .nfc-form-title {
    font-size: clamp(56px, 9vw, 108px);
    line-height: .9;
    letter-spacing: -.065em;
    margin-top: 18px;
}

.nfc-admin-login-copy .nfc-form-intro {
    max-width: 560px;
    color: rgba(255,255,255,.72);
}

.nfc-admin-login-card {
    border-radius: 32px;
    background: #fffaf0;
    color: var(--nfc-ink);
    padding: clamp(22px, 4vw, 34px);
    box-shadow: 0 34px 90px rgba(0,0,0,.28);
    animation: nfcFadeUp .75s ease .12s both;
}

.nfc-admin-login-card .nfc-form-alert {
    margin-bottom: 16px;
}

.nfc-admin-logged-card {
    display: grid;
    gap: 5px;
    padding: 16px;
    border-radius: 20px;
    background: #f6fff8;
    border: 1px solid #bbf7d0;
    color: #14532d;
    line-height: 1.45;
}

.nfc-admin-logged-card strong {
    color: #0f3d24;
    font-size: 16px;
}

.nfc-admin-login-actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.nfc-admin-login-actions .nfc-submit-button {
    text-align: center;
    text-decoration: none !important;
}

.nfc-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(7,24,50,.14);
    color: var(--nfc-navy) !important;
    text-decoration: none !important;
    font-weight: 800;
    background: rgba(255,255,255,.7);
}

@media (max-width: 860px) {
    .nfc-admin-login-page {
        padding: 24px 18px 30px;
    }

    .nfc-admin-login-shell {
        min-height: auto;
    }

    .nfc-admin-login-main {
        grid-template-columns: 1fr;
        padding: 58px 0 10px;
    }

    .nfc-admin-login-card {
        max-width: 560px;
    }
}

@media (max-width: 560px) {
    .nfc-admin-login-topbar {
        align-items: flex-start;
    }

    .nfc-admin-secure-badge {
        font-size: 10px;
        min-height: 32px;
        padding: 0 10px;
    }

    .nfc-admin-login-copy .nfc-form-title {
        font-size: clamp(48px, 15vw, 68px);
    }
}

/* Admin dashboard page */
.nfc-dashboard-page {
    --nfc-navy: #071832;
    --nfc-navy-soft: #0b2348;
    --nfc-gold: #d8a447;
    --nfc-cream: #f6efe1;
    --nfc-ink: #071832;
    --nfc-panel: #ffffff;
    --nfc-muted-ink: rgba(7,24,50,.62);
    min-height: 100vh;
    background:
        radial-gradient(circle at 94% 4%, rgba(216,164,71,.16), transparent 30%),
        linear-gradient(135deg, #f9f2e4 0%, #f3e6d0 100%);
    color: var(--nfc-ink);
    padding: clamp(16px, 3vw, 30px);
}

.nfc-dashboard-shell {
    width: min(1380px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(16px, 2.2vw, 28px);
    min-height: calc(100vh - clamp(32px, 6vw, 60px));
}

.nfc-dashboard-sidebar {
    position: sticky;
    top: 22px;
    height: fit-content;
    border-radius: 30px;
    background: var(--nfc-navy);
    color: #fff;
    padding: 22px;
    box-shadow: 0 28px 76px rgba(7,24,50,.22);
    animation: nfcFadeUp .55s ease both;
}

.nfc-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.nfc-dashboard-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--nfc-gold);
    color: var(--nfc-navy);
    font-weight: 900;
}

.nfc-dashboard-brand strong,
.nfc-dashboard-brand span {
    display: block;
}

.nfc-dashboard-brand strong {
    font-size: 17px;
    line-height: 1.1;
}

.nfc-dashboard-brand span {
    color: rgba(255,255,255,.64);
    font-size: 12px;
    margin-top: 3px;
}

.nfc-dashboard-nav {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.nfc-dashboard-nav a,
.nfc-dashboard-logout {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-radius: 16px;
    padding: 0 14px;
    color: rgba(255,255,255,.76) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nfc-dashboard-nav a:hover,
.nfc-dashboard-nav a:focus,
.nfc-dashboard-nav a.is-active {
    background: rgba(255,255,255,.1);
    color: #fff !important;
    transform: translateX(2px);
}

.nfc-dashboard-logout {
    margin-top: 22px;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
}

.nfc-dashboard-main {
    min-width: 0;
    animation: nfcFadeUp .65s ease .05s both;
}

.nfc-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.nfc-dashboard-kicker {
    display: block;
    color: rgba(7,24,50,.55);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.nfc-dashboard-header h1 {
    margin: 0;
    color: var(--nfc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .94;
    letter-spacing: -.055em;
    font-weight: 500;
}

.nfc-dashboard-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.nfc-dashboard-header-actions a,
.nfc-dashboard-export-small,
.nfc-dashboard-filter button,
.nfc-dashboard-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 0 15px;
    background: var(--nfc-navy);
    color: #fff !important;
    text-decoration: none !important;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(7,24,50,.14);
}

.nfc-dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.nfc-dashboard-stat-card,
.nfc-dashboard-panel {
    border: 1px solid rgba(7,24,50,.08);
    border-radius: 26px;
    background: rgba(255,255,255,.8);
    box-shadow: 0 24px 70px rgba(7,24,50,.1);
    backdrop-filter: blur(8px);
}

.nfc-dashboard-stat-card {
    padding: 18px;
}

.nfc-dashboard-stat-card span {
    display: block;
    color: rgba(7,24,50,.58);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.35;
}

.nfc-dashboard-stat-card strong {
    display: block;
    margin-top: 12px;
    color: var(--nfc-ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -.055em;
}

.nfc-dashboard-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nfc-dashboard-panel {
    padding: clamp(16px, 2vw, 22px);
    overflow: hidden;
}

.nfc-dashboard-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.nfc-dashboard-panel-head-wrap {
    flex-wrap: wrap;
}

.nfc-dashboard-panel-head h2 {
    margin: 0;
    color: var(--nfc-ink);
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.15;
    letter-spacing: -.03em;
}

.nfc-dashboard-panel-head a:not(.nfc-dashboard-export-small) {
    color: var(--nfc-navy) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.nfc-dashboard-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(170px, .4fr) auto auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
}

.nfc-dashboard-filter label span {
    display: block;
    margin: 0 0 7px;
    color: rgba(7,24,50,.6);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nfc-dashboard-filter input,
.nfc-status-form select {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(7,24,50,.12);
    border-radius: 14px;
    background: #fff;
    color: var(--nfc-ink);
    font: inherit;
    font-size: 14px;
    padding: 0 12px;
    outline: none;
}

.nfc-dashboard-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    padding: 0 14px;
    border: 1px solid rgba(7,24,50,.12);
    background: #fff;
    color: var(--nfc-navy) !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nfc-dashboard-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(7,24,50,.08);
    border-radius: 20px;
    background: #fff;
}

.nfc-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.nfc-dashboard-table-mini .nfc-dashboard-table {
    min-width: 520px;
}

.nfc-dashboard-table th,
.nfc-dashboard-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(7,24,50,.08);
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.4;
}

.nfc-dashboard-table th {
    color: rgba(7,24,50,.55);
    background: #fbf7ef;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nfc-dashboard-table tr:last-child td {
    border-bottom: 0;
}

.nfc-dashboard-table small {
    display: block;
    margin-top: 3px;
    color: rgba(7,24,50,.52);
    font-size: 11px;
}

.nfc-status-form,
.nfc-delete-form {
    margin: 0;
}

.nfc-status-form select {
    min-width: 128px;
    height: 38px;
    min-height: 38px;
    border-radius: 12px;
    font-size: 13px;
    padding: 0 10px;
}

.nfc-delete-form button {
    border: 0;
    border-radius: 999px;
    background: #fff1ed;
    color: #9f2a16;
    cursor: pointer;
    min-height: 36px;
    padding: 0 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 850;
}

.nfc-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nfc-status-new {
    background: #eef2ff;
    color: #3730a3;
}

.nfc-status-contacted {
    background: #fff7ed;
    color: #9a3412;
}

.nfc-status-confirmed {
    background: #ecfdf3;
    color: #166534;
}

.nfc-dashboard-empty {
    margin: 0;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.7);
    color: rgba(7,24,50,.62);
    line-height: 1.5;
}

.nfc-dashboard-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.nfc-dashboard-pagination span {
    color: rgba(7,24,50,.62);
    font-size: 13px;
    font-weight: 700;
}

.nfc-dashboard-notice {
    border-radius: 18px;
    padding: 13px 15px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.45;
}

.nfc-dashboard-notice-success {
    color: #14532d;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
}

.nfc-dashboard-notice-error {
    color: #8a1f11;
    background: #fff1ed;
    border: 1px solid #ffd4ca;
}

@media (prefers-reduced-motion: reduce) {
    .nfc-dashboard-sidebar,
    .nfc-dashboard-main {
        animation: none !important;
    }
}

@media (max-width: 1020px) {
    .nfc-dashboard-shell {
        grid-template-columns: 1fr;
    }

    .nfc-dashboard-sidebar {
        position: static;
    }

    .nfc-dashboard-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nfc-dashboard-logout {
        width: fit-content;
    }

    .nfc-dashboard-stats-grid,
    .nfc-dashboard-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .nfc-dashboard-page {
        padding: 14px;
    }

    .nfc-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nfc-dashboard-header-actions {
        justify-content: flex-start;
    }

    .nfc-dashboard-stats-grid,
    .nfc-dashboard-split,
    .nfc-dashboard-filter {
        grid-template-columns: 1fr;
    }

    .nfc-dashboard-nav {
        grid-template-columns: 1fr;
    }

    .nfc-dashboard-table th,
    .nfc-dashboard-table td {
        padding: 12px;
    }
}
