/* signon_2026.css
   Re-skin of /register/signon to match the new Webflow homepage design.
   Scoped to .emo26-* class prefix so it cannot collide with legacy styles.
   Fonts are loaded locally from /css/fonts/Inter/ — no external CDN. */

@font-face {
    font-family: 'Inter';
    src: url('/css/fonts/Inter/Inter-VariableFont_opsz%2Cwght.ttf') format('truetype-variations'),
         url('/css/fonts/Inter/Inter-VariableFont_opsz%2Cwght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --emo26-primary:        #006be5;
    --emo26-primary-light:  #f2f7fd;
    --emo26-black:          #1c2035;
    --emo26-grey:           #5f616c;
    --emo26-grey-2:         #a4a6ae;
    --emo26-light:          #f8f8f9;
    --emo26-border:         #e8e9eb;
    --emo26-red:            #930629;

    --emo26-radius-xs:      0.5rem;
    --emo26-radius-sm:      0.75rem;
    --emo26-radius-md:      1rem;
    --emo26-radius-pill:    10000px;

    --emo26-card-shadow:    0 14px 30px rgba(0, 0, 0, 0.12);
    --emo26-btn-shadow:     0 0 2px #58a6ff, inset 0 14px 32px rgba(255, 255, 255, 0.45);
    --emo26-btn-shadow-hov: 0 0 2px #58a6ff, inset 0 28px 32px rgba(255, 255, 255, 0.55);
}

.emo26-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--emo26-black);
    background: #fff;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.emo26-page * { box-sizing: border-box; }

/* ───────────── Top bar (logo + Log In) ───────────── */

.emo26-topbar {
    background: #fff;
    box-shadow: 0 1px 0 var(--emo26-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.emo26-topbar-inner {
    max-width: 77.5rem;
    margin: 0 auto;
    padding: 1rem 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.emo26-topbar-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.emo26-topbar-login {
    color: var(--emo26-black);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
}

.emo26-topbar-login:hover {
    color: var(--emo26-primary);
}

.emo26-topbar-login strong {
    color: var(--emo26-primary);
    font-weight: 600;
    margin-left: 0.25rem;
}

/* ───────────── Hero section ───────────── */

.emo26-hero {
    padding: 4rem 2rem 4rem;
    background: #fff;
}

.emo26-container {
    max-width: 77.5rem;
    margin: 0 auto;
}

.emo26-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

/* Left column ------------------------------------------------ */

.emo26-heading-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 31.5rem;
}

.emo26-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--emo26-radius-pill);
    background: radial-gradient(circle at 50% 50%, #fff 65%, #e6f1ff);
    color: var(--emo26-black);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 1px 0 var(--emo26-border);
    align-self: flex-start;
}

.emo26-badge-icon {
    width: 1.125rem;
    height: 1.125rem;
    display: block;
}

.emo26-h1 {
    font-family: inherit;
    font-size: clamp(1.75rem, calc(1.75rem + 0.5 * (100vw - 20rem) / 57.5), 2.25rem);
    line-height: 1.25;
    font-weight: 600;
    color: var(--emo26-black);
    letter-spacing: -0.02em;
    margin: 0;
}

.emo26-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--emo26-grey);
    margin: 0;
    max-width: 30rem;
}

.emo26-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.emo26-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--emo26-black);
}

.emo26-trust-icon {
    width: 3rem;
    height: 3rem;
    flex: none;
    background: var(--emo26-primary-light);
    border-radius: var(--emo26-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.emo26-trust-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--emo26-primary);
}

/* Right column: form card ----------------------------------- */

.emo26-form-card {
    background: #fff;
    border: 1px solid var(--emo26-border);
    border-radius: var(--emo26-radius-md);
    padding: 2.5rem;
    box-shadow: var(--emo26-card-shadow);
}

.emo26-form-card h2 {
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emo26-black);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.emo26-form-subtitle {
    font-size: 0.9375rem;
    color: var(--emo26-grey);
    margin: 0 0 1.5rem;
}

.emo26-form-fields {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.emo26-form-fields > p#formstatus {
    margin: 0;
}

.emo26-form-fields > p#formstatus:empty {
    display: none;
}

.emo26-field-row {
    display: grid;
    grid-template-columns: 0.85fr 1fr 1fr;
    gap: 0.875rem;
}

.emo26-field {
    display: flex;
    flex-direction: column;
}

.emo26-field-row .emo26-field {
    min-width: 0;
}

.emo26-field > label {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emo26-black);
}

.emo26-field .emo26-required {
    color: var(--emo26-red);
    margin-left: 2px;
    font-weight: 600;
}

.emo26-field small {
    display: block;
    font-size: 0.8125rem;
    color: var(--emo26-grey);
    margin: -0.125rem 0 0.4rem;
}

/* Reset wrappers CakePHP injects around inputs ------------- */

.emo26-field > .input,
.emo26-field > div.input,
.emo26-field > div {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    width: 100%;
    display: block;
}

.emo26-field > div > label,
.emo26-field .input label {
    display: none !important;
}

/* Inputs --------------------------------------------------- */

.emo26-field input[type="text"],
.emo26-field input[type="email"],
.emo26-field input[type="password"],
.emo26-field input[type="tel"],
.emo26-field input.text,
.emo26-field select,
.emo26-field textarea {
    width: 100% !important;
    padding: 0.875rem 1.125rem !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-family: inherit;
    font-size: 1rem;
    color: var(--emo26-black);
    background: #fff;
    border: 1px solid var(--emo26-border);
    border-radius: var(--emo26-radius-sm);
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.emo26-field select {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--emo26-black) 50%),
        linear-gradient(135deg, var(--emo26-black) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 13px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 2.5rem !important;
}

.emo26-field input:hover,
.emo26-field select:hover,
.emo26-field textarea:hover {
    border-color: var(--emo26-grey-2);
}

.emo26-field input:focus,
.emo26-field select:focus,
.emo26-field textarea:focus {
    outline: none;
    border-color: var(--emo26-primary);
    box-shadow: 0 0 0 3px rgba(0, 107, 229, 0.15);
}

.emo26-field input::placeholder,
.emo26-field textarea::placeholder {
    color: var(--emo26-grey-2);
    opacity: 1;
}

/* Inline error messages ------------------------------------ */

/* JS-toggled placeholders are hidden until activated by signon_2015 inline JS. */
#usernameResponse,
#usernameResponseNotPersonal {
    display: none;
    color: var(--emo26-red);
    font-size: 0.8125rem;
    font-weight: 500;
    margin: 0.35rem 0 0;
}

/* CakePHP form->error() output is shown as soon as it is rendered. */
.emo26-field .error-message,
.emo26-checkbox .error-message,
div.error-message {
    display: block;
    color: var(--emo26-red);
    font-size: 0.8125rem;
    font-weight: 500;
    margin: 0.35rem 0 0;
}

#usernameResponseNotPersonal a {
    color: var(--emo26-red);
    text-decoration: underline;
}

/* Checkboxes ----------------------------------------------- */

.emo26-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--emo26-grey);
    margin: 0;
}

.emo26-checkbox input[type="checkbox"] {
    width: 1.125rem !important;
    height: 1.125rem !important;
    min-width: 1.125rem;
    margin: 0.2rem 0 0 !important;
    padding: 0 !important;
    flex: none;
    accent-color: var(--emo26-primary);
    cursor: pointer;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

.emo26-checkbox label {
    flex: 1;
    margin: 0 !important;
    font-weight: 400 !important;
    color: var(--emo26-grey);
    cursor: pointer;
}

.emo26-checkbox a {
    color: var(--emo26-primary);
    text-decoration: none;
    font-weight: 500;
}

.emo26-checkbox a:hover {
    text-decoration: underline;
}

/* FriendlyCaptcha ------------------------------------------ */

.emo26-captcha {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 0.25rem;
}

/* Submit button -------------------------------------------- */

.emo26-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: var(--emo26-radius-sm);
    background: var(--emo26-primary);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: var(--emo26-btn-shadow);
    transition: box-shadow 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
    text-transform: none;
    margin-top: 0.5rem;
    -webkit-appearance: none;
    appearance: none;
}

.emo26-submit:hover:not(:disabled) {
    box-shadow: var(--emo26-btn-shadow-hov);
    transform: translateY(-1px);
}

.emo26-submit:active:not(:disabled) {
    transform: translateY(0);
}

.emo26-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Form footer ---------------------------------------------- */

.emo26-form-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--emo26-grey);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--emo26-border);
}

.emo26-form-footer a {
    color: var(--emo26-primary);
    font-weight: 500;
    text-decoration: none;
}

.emo26-form-footer a:hover {
    text-decoration: underline;
}

/* Fine print ----------------------------------------------- */

.emo26-fineprint {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--emo26-grey);
    margin: 3rem auto 0;
    max-width: 48rem;
}

/* ───────────── Flash banners ───────────── */

.emo26-flash {
    max-width: 77.5rem;
    margin: 1.25rem auto 0;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.emo26-flash-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 1.125rem;
    border-radius: var(--emo26-radius-sm);
    border: 1px solid var(--emo26-border);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--emo26-black);
}

.emo26-flash-banner p {
    margin: 0;
}

.emo26-flash-icon {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border-radius: 999px;
    position: relative;
}

.emo26-flash-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: currentColor;
    opacity: 0.18;
}

.emo26-flash-icon::after {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: currentColor;
    line-height: 1;
}

.emo26-flash-banner.is-error  .emo26-flash-icon { color: var(--emo26-red); }
.emo26-flash-banner.is-error  .emo26-flash-icon::after { content: '!'; }
.emo26-flash-banner.is-error  { border-color: #f3c2cc; background: #fdf2f4; }

.emo26-flash-banner.is-warning .emo26-flash-icon { color: #b06a00; }
.emo26-flash-banner.is-warning .emo26-flash-icon::after { content: '!'; }
.emo26-flash-banner.is-warning { border-color: #f3dcb1; background: #fff8e8; }

.emo26-flash-banner.is-success .emo26-flash-icon { color: #057b2c; }
.emo26-flash-banner.is-success .emo26-flash-icon::after { content: '\2713'; }
.emo26-flash-banner.is-success { border-color: #bfe6cb; background: #f1faf3; }

.emo26-flash-banner.is-info    .emo26-flash-icon { color: var(--emo26-primary); }
.emo26-flash-banner.is-info    .emo26-flash-icon::after { content: 'i'; font-style: italic; }
.emo26-flash-banner.is-info    { border-color: #cfe2f6; background: var(--emo26-primary-light); }

.emo26-flash-body {
    flex: 1;
    min-width: 0;
}

.emo26-flash-body a {
    color: inherit;
    text-decoration: underline;
}

.emo26-flash-close {
    flex: none;
    background: transparent;
    border: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--emo26-radius-xs);
    font-size: 1.25rem;
    line-height: 1;
    color: var(--emo26-grey);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.emo26-flash-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--emo26-black);
}

@media (max-width: 991px) {
    .emo26-flash {
        padding: 0 1.5rem;
    }
}

@media (max-width: 600px) {
    .emo26-flash {
        padding: 0 1rem;
    }

    .emo26-flash-banner {
        font-size: 0.875rem;
    }
}

/* ───────────── Numbered step list (used on /register/success) ───────────── */

.emo26-steplist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    counter-reset: emo26-step;
}

.emo26-steplist li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1.0625rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--emo26-black);
    counter-increment: emo26-step;
}

.emo26-steplist li::before {
    content: counter(emo26-step);
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: var(--emo26-primary-light);
    color: var(--emo26-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ───────────── Confirmation card variant (success / status messages) ───────────── */

.emo26-form-card.is-message {
    text-align: center;
    padding: 2.5rem;
}

.emo26-form-card.is-message h2 {
    margin: 0 0 0.5rem;
}

.emo26-form-card.is-message p {
    color: var(--emo26-grey);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.emo26-form-card.is-message .emo26-message-note {
    font-size: 0.8125rem;
    color: var(--emo26-grey);
    margin: 1.25rem 0 0;
    line-height: 1.5;
}

.emo26-form-card.is-message .emo26-message-note a {
    color: var(--emo26-primary);
    font-weight: 500;
    text-decoration: none;
}

.emo26-form-card.is-message .emo26-message-note a:hover {
    text-decoration: underline;
}

.emo26-success-circle {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: #e8f6ec;
    color: #057b2c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.emo26-success-circle svg {
    width: 2rem;
    height: 2rem;
}

/* Make .emo26-submit usable as an <a> link too (no button reset weirdness) */
a.emo26-submit,
a.emo26-submit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
}

a.emo26-submit:hover,
a.emo26-submit-link:hover {
    color: #fff;
    text-decoration: none;
}

/* ───────────── Pending/review badge (orange) — /register/manually ───────────── */

.emo26-pending-circle {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: #fff4dc;
    color: #b06a00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.emo26-pending-circle svg {
    width: 2rem;
    height: 2rem;
}

/* ───────────── Secondary outlined button variant ───────────── */

.emo26-submit.is-secondary,
a.emo26-submit-link.is-secondary {
    background: #fff;
    color: var(--emo26-primary);
    border: 1px solid var(--emo26-border);
    box-shadow: none;
}

.emo26-submit.is-secondary:hover:not(:disabled),
a.emo26-submit-link.is-secondary:hover {
    background: var(--emo26-primary-light);
    color: var(--emo26-primary);
    border-color: var(--emo26-primary);
    box-shadow: none;
    transform: translateY(-1px);
}

/* ───────────── Vertical button stack (confirmation cards) ───────────── */

.emo26-button-stack {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 0.25rem;
}

/* ───────────── Token / activation-code input ───────────── */
/* Monospace, larger height, optimized for pasting long hashes */

.emo26-field.is-token input[type="text"],
.emo26-field input.is-token-input {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 1rem;
    letter-spacing: 0.02em;
    height: 56px !important;
    padding: 0 1.125rem !important;
}

/* ───────────── Centered hero variant (/users/reactivate_expired) ───────────── */

.emo26-hero.is-centered .emo26-heading-col {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
    align-items: center;
}

.emo26-hero.is-centered .emo26-trust-list {
    align-items: center;
}

/* ───────────── Amber warning badge (e.g. "Testzeitraum abgelaufen") ───────────── */

.emo26-badge.is-warning {
    background: #fff4dc;
    background-image: none;
    color: #b06a00;
    box-shadow: none;
}

.emo26-badge.is-warning .emo26-badge-icon {
    stroke: #b06a00;
}

/* ───────────── Check-icon trust list ("what's included") ───────────── */

.emo26-trust-list.is-checks .emo26-trust-icon {
    background: #e8f6ec;
    color: #057b2c;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
}

.emo26-trust-list.is-checks .emo26-trust-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.emo26-trust-list.is-checks .emo26-trust {
    font-size: 1.0625rem;
    font-weight: 500;
}

/* ───────────── Pricing section (/users/reactivate_expired) ───────────── */

.emo26-pricing-section {
    padding: 0 2rem 4rem;
}

.emo26-pricing-section .emo26-container {
    max-width: 60rem;
}

.emo26-pricing-card {
    background: #fff;
    border: 1px solid var(--emo26-border);
    border-radius: var(--emo26-radius-md);
    padding: 2.5rem;
    box-shadow: var(--emo26-card-shadow);
}

.emo26-pricing-card h2 {
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emo26-black);
    margin: 0 0 0.5rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.emo26-pricing-card .emo26-form-subtitle {
    text-align: center;
}

.emo26-pricing-table-wrap {
    margin-top: 1.25rem;
}

.emo26-pricing-table-wrap > * {
    width: 100% !important;
}

.emo26-pricing-support {
    text-align: center;
    margin: 1.5rem auto 0;
    max-width: 60rem;
    padding: 0 2rem;
    font-size: 0.875rem;
    color: var(--emo26-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.emo26-pricing-support a:not(.emo26-submit-link) {
    color: var(--emo26-primary);
    text-decoration: none;
    font-weight: 500;
}

.emo26-pricing-support a:not(.emo26-submit-link):hover {
    text-decoration: underline;
}

.emo26-pricing-support .emo26-submit-link.is-secondary {
    width: auto;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

@media (max-width: 600px) {
    .emo26-pricing-section { padding: 0 1rem 2.5rem; }
    .emo26-pricing-card { padding: 1.5rem; }
    .emo26-pricing-support { padding: 0 1rem; }
}

/* ───────────── Centered single-card wrapper ───────────── */
/* Used on subscriber-facing confirmation screens (e.g. /subscribers/send_pdf_ticket)
   where a two-column hero is overkill for a short message. */

.emo26-centered-card {
    max-width: 30rem;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .emo26-centered-card {
        max-width: 100%;
    }
}

/* ───────────── Barcode input (/entrys/index check-in) ───────────── */
/* Full-width, tall, monospace, centred — optimized for hardware scanner output. */

.emo26-field.is-barcode input[type="text"],
.emo26-field input.is-barcode-input {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    height: 72px !important;
    padding: 0 1.25rem !important;
    text-align: center;
}

@media (max-width: 600px) {
    .emo26-field.is-barcode input[type="text"],
    .emo26-field input.is-barcode-input {
        font-size: 1.25rem;
        height: 60px !important;
    }
}

/* ───────────── Inline check-in result (above the form on /entrys/index) ───────────── */

.emo26-checkin-result {
    border: 1px solid var(--emo26-border);
    border-radius: var(--emo26-radius-sm);
    padding: 0.875rem 1.125rem;
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    background: #fff;
    color: var(--emo26-black);
}

.emo26-checkin-result p {
    margin: 0;
}

.emo26-checkin-result.is-success { background: #f1faf3; border-color: #bfe6cb; color: #057b2c; }
.emo26-checkin-result.is-error   { background: #fdf2f4; border-color: #f3c2cc; color: var(--emo26-red); }
.emo26-checkin-result.is-warning { background: #fff8e8; border-color: #f3dcb1; color: #b06a00; }
.emo26-checkin-result.is-info    { background: var(--emo26-primary-light); border-color: #cfe2f6; color: var(--emo26-primary); }

/* ───────────── Table section + table component ───────────── */
/* Used on /service/teilnehmertickets for paginated ticket lookup results. */

.emo26-table-section {
    padding: 0 2rem 4rem;
}

.emo26-table-section > .emo26-container {
    max-width: 77.5rem;
}

.emo26-table-section .emo26-form-card h2 {
    margin: 0 0 0.5rem;
}

.emo26-table-counter {
    font-size: 0.875rem;
    color: var(--emo26-grey);
    margin: 0 0 1rem;
}

.emo26-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.emo26-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    color: var(--emo26-black);
}

.emo26-table thead th {
    text-align: left;
    background: var(--emo26-light);
    border-bottom: 1px solid var(--emo26-border);
    color: var(--emo26-grey);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 1rem;
    white-space: nowrap;
}

.emo26-table thead th a {
    color: inherit;
    text-decoration: none;
}

.emo26-table thead th a:hover {
    color: var(--emo26-primary);
}

.emo26-table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--emo26-border);
    vertical-align: middle;
}

.emo26-table tbody tr:last-child td {
    border-bottom: 0;
}

.emo26-table tbody tr:hover td {
    background: var(--emo26-light);
}

.emo26-table-action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.875rem;
    border: 1px solid var(--emo26-border);
    border-radius: var(--emo26-radius-sm);
    background: #fff;
    color: var(--emo26-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.emo26-table-action:hover {
    background: var(--emo26-primary-light);
    border-color: var(--emo26-primary);
    text-decoration: none;
}

/* ───────────── Pagination ───────────── */

.emo26-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--emo26-grey);
    flex-wrap: wrap;
}

.emo26-pagination a,
.emo26-pagination span {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: var(--emo26-radius-xs);
    text-decoration: none;
    color: var(--emo26-grey);
}

.emo26-pagination a {
    color: var(--emo26-primary);
    font-weight: 500;
}

.emo26-pagination a:hover {
    background: var(--emo26-primary-light);
}

.emo26-pagination .current {
    background: var(--emo26-primary);
    color: #fff;
    font-weight: 600;
}

/* ───────────── Empty state ───────────── */

.emo26-empty-state {
    background: var(--emo26-light);
    border: 1px solid var(--emo26-border);
    border-radius: var(--emo26-radius-md);
    padding: 2rem;
    text-align: center;
    color: var(--emo26-grey);
    font-size: 0.9375rem;
}

.emo26-empty-state p {
    margin: 0;
}

@media (max-width: 600px) {
    .emo26-table-section { padding: 0 1rem 2.5rem; }
    .emo26-table { font-size: 0.875rem; }
    .emo26-table thead th,
    .emo26-table tbody td { padding: 0.625rem 0.75rem; }
}

/* ───────────── Footer ───────────── */

.emo26-footer {
    border-top: 1px solid var(--emo26-border);
    padding: 2rem;
    margin-top: 4rem;
    background: #fff;
}

.emo26-footer-inner {
    max-width: 77.5rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: var(--emo26-grey);
}

.emo26-footer nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.emo26-footer a {
    color: var(--emo26-grey);
    text-decoration: none;
}

.emo26-footer a:hover {
    color: var(--emo26-primary);
}

/* ───────────── Reveal animation (paired with signon_2026.js) ───────────── */

.emo26-reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
}

.emo26-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ───────────── Responsive ───────────── */

@media (max-width: 991px) {
    .emo26-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .emo26-heading-col {
        max-width: 100%;
    }

    .emo26-hero {
        padding: 2.5rem 1.5rem;
    }

    .emo26-form-card {
        padding: 1.75rem;
    }

    .emo26-topbar-inner {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .emo26-hero {
        padding: 2rem 1rem;
    }

    .emo26-form-card {
        padding: 1.25rem;
        border-radius: var(--emo26-radius-sm);
    }

    .emo26-field-row {
        grid-template-columns: 1fr;
        gap: 1.125rem;
    }

    .emo26-h1 {
        font-size: 1.625rem;
    }

    .emo26-trust {
        font-size: 1rem;
    }

    .emo26-topbar-inner {
        padding: 0.75rem 1rem;
        height: 64px;
    }

    .emo26-topbar-logo img {
        height: 30px;
    }
}
