/*
 * A27 Booking Form CSS – Light Theme v2.0.0
 */

/* ── Base ──────────────────────────────────────────────────────────────── */
.a27-booking-wrap {
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
}

/* ── Combined price + qty block ────────────────────────────────────────── */
.a27-price-qty-combined {
    display: flex;
    align-items: center;
    gap: 28px;
}
.a27-price-qty-combined .a27-price-info-box {
    flex: 1;
    min-width: 0;
}
.a27-qty-column {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 130px;
}
.a27-qty-column-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #888 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-align: center;
}
@media (max-width: 600px) {
    .a27-price-qty-combined {
        flex-direction: column;
        gap: 18px;
    }
    .a27-qty-column {
        width: 100%;
        align-items: center;
        border-top: 1px solid #f0f0f4;
        padding-top: 16px;
    }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.a27-booking-hero {
    text-align: center;
    padding: 40px 24px 32px;
    background: linear-gradient(135deg, #fafafa 0%, #f3f3f8 100%);
    border-radius: 16px;
    margin-bottom: 28px;
    border: 1px solid #e8e8f0;
}
.a27-booking-logo {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 16px;
}
.a27-booking-event-name {
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #0f0f18 !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.5px;
}
.a27-booking-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0 0 14px;
}
.a27-booking-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}
.a27-booking-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.a27-early-bird-banner {
    display: inline-block;
    margin-top: 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #f59e0b;
}
.a27-capacity-warning {
    display: inline-block;
    margin-top: 8px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #fca5a5;
}

/* ── Form Sections ─────────────────────────────────────────────────────── */
.a27-booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.a27-form-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.a27-form-section:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,.10);
    border-color: #d1d5db;
}
.a27-section-title {
    display: flex !important;
    align-items: center;
    gap: 12px;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f0f18 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: none !important;
}
.a27-step-num {
    display: inline-flex;
    width: 28px; height: 28px;
    align-items: center; justify-content: center;
    background: #c8972a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Price Info Box (replaces ticket type cards) ─────────────────────── */
.a27-price-info-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #fffbf0, #fef9e7);
    border: 2px solid #c8972a;
    border-radius: 12px;
    padding: 18px 22px;
    flex-wrap: wrap;
}
.a27-price-info-label {
    font-size: 15px;
    font-weight: 600;
    color: #0f0f18;
    flex: 1;
}
.a27-price-info-value {
    font-size: 24px;
    font-weight: 900;
    color: #c8972a;
    white-space: nowrap;
}
.a27-price-info-note {
    width: 100%;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.a27-qty-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
.a27-qty-btn {
    width: 44px; height: 44px;
    border: 2px solid #c8972a;
    background: #fff;
    color: #c8972a;
    font-size: 22px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    line-height: 1;
    flex-shrink: 0;
}
.a27-qty-btn:hover {
    background: #c8972a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(200,151,42,.35);
    transform: translateY(-1px);
}
.a27-qty-btn:active {
    transform: translateY(0);
    box-shadow: none;
}
.a27-qty-display {
    font-size: 32px;
    font-weight: 900;
    color: #0f0f18;
    min-width: 40px;
    text-align: center;
}

/* ── Attendee Blocks ────────────────────────────────────────────────────── */
.a27-attendee-block {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 12px;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.a27-attendee-block:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    border-color: #c8972a44;
}
.a27-attendee-block:last-child { margin-bottom: 0; }
.a27-attendee-header {
    margin-bottom: 14px;
}
.a27-attendee-label {
    font-size: 13px;
    font-weight: 700;
    color: #c8972a;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.a27-attendee-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}
@media (max-width: 480px) {
    .a27-attendee-fields { grid-template-columns: 1fr; }
}
.a27-field-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.a27-field-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #0f0f18;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.a27-field-group input:focus {
    outline: none;
    border-color: #c8972a;
    box-shadow: 0 0 0 3px rgba(200,151,42,.12);
}
.a27-field-group input.a27-field-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.a27-required { color: #dc2626; }

/* ── Student Checkbox ──────────────────────────────────────────────────── */
.a27-student-row {
    margin-bottom: 14px;
}
.a27-student-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    transition: all .2s;
}
.a27-student-toggle:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
.a27-student-toggle input[type="checkbox"] {
    display: none;
}
.a27-student-checkmark {
    width: 20px; height: 20px;
    border: 2px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.a27-student-toggle input:checked ~ .a27-student-checkmark {
    background: #c8972a;
    border-color: #c8972a;
}
.a27-student-toggle input:checked ~ .a27-student-checkmark::after {
    content: '';
    display: block;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none; border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}
.a27-student-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.a27-student-label small {
    font-weight: 400;
    color: #6b7280;
    margin-left: 6px;
}

/* ── Meals ─────────────────────────────────────────────────────────────── */
.a27-meal-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}
.a27-meal-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
}
.a27-meal-optional {
    font-weight: 400;
    color: #9ca3af;
    font-size: 12px;
}
.a27-meal-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.a27-meal-group { flex: 1; min-width: 160px; }
.a27-meal-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
/* New meal button style */
.a27-meal-btn {
    display: flex;
    flex: 1;
    min-width: 180px;
    cursor: pointer;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    transition: none;
}
.a27-meal-btn input[type="checkbox"] { display: none; }
.a27-meal-btn-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 14px 18px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all .2s;
    cursor: pointer;
}
.a27-meal-btn input:checked + .a27-meal-btn-inner {
    background: #fffbf0;
    border-color: #c8972a;
    box-shadow: 0 0 0 3px rgba(200,151,42,.12);
}
.a27-meal-btn:hover .a27-meal-btn-inner {
    border-color: #c8972a;
    background: #fffdf5;
}
.a27-meal-btn-emoji { font-size: 28px; line-height: 1; }
.a27-meal-btn-text  { font-size: 15px; font-weight: 700; color: #0f0f18; }
.a27-meal-btn-price { font-size: 13px; color: #c8972a; font-weight: 600; }
.a27-meal-btn-price em { font-style: normal; color: #888; font-weight: 400; margin-left: 4px; }
.a27-meal-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 12px;
    background: #f3f4f6;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all .15s;
}
.a27-meal-toggle:hover { background: #e9f5e9; border-color: #86efac; }
.a27-meal-toggle input { accent-color: #16a34a; }
.a27-meal-submenu {
    margin-top: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.a27-meal-option-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    color: #374151;
}
.a27-meal-option-radio input { accent-color: #c8972a; }

/* ── Price Summary ──────────────────────────────────────────────────────── */
.a27-price-summary {
    background: #0f0f18;
    border-radius: 14px;
    padding: 20px 24px;
    color: #e8e8f0;
}
.a27-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    align-items: center;
}
.a27-price-row:last-child { border-bottom: none; }
.a27-price-row-sub {
    font-size: 12px;
    color: #a0a0b8;
}
.a27-student-tag {
    font-style: normal;
    background: #1d4ed8;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}
.a27-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid #c8972a;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
#a27-total-price {
    color: #c8972a;
    font-size: 22px;
    font-weight: 900;
}

/* ── Submit ─────────────────────────────────────────────────────────────── */
.a27-form-submit {
    text-align: center;
}
.a27-btn-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #c8972a, #e8b84b);
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    padding: 18px 48px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(200,151,42,.4);
    transition: transform .2s, box-shadow .2s;
    width: 100%;
    max-width: 400px;
}
.a27-btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(200,151,42,.5);
}
.a27-btn-order:disabled {
    opacity: .7;
    transform: none;
    cursor: not-allowed;
}
.a27-submit-hint {
    margin: 12px 0 0;
    font-size: 12px;
    color: #9ca3af;
}
.a27-form-error {
    margin-top: 12px;
    padding: 12px 16px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #fca5a5;
}

/* ── Sold Out ───────────────────────────────────────────────────────────── */
.a27-sold-out {
    text-align: center;
    padding: 60px 24px;
    background: #f9fafb;
    border-radius: 16px;
    border: 2px dashed #d1d5db;
}
.a27-sold-out-icon { font-size: 48px; margin-bottom: 16px; }
.a27-sold-out h2 { font-size: 24px; color: #0f0f18; margin-bottom: 8px; }
.a27-sold-out p  { color: #6b7280; }

/* ── Birthdate field (shown below student checkbox) ─────────────────────── */
.a27-birthdate-row {
    margin-top: 10px;
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.a27-birthdate-row label {
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.a27-birthdate-row input[type="date"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #93c5fd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #0f0f18;
    box-sizing: border-box;
}
.a27-birthdate-row input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.a27-birthdate-hint {
    font-size: 11px;
    color: #6b7280;
}

/* ── Price info box (Step 1) ─────────────────────────────────────────────── */
.a27-early-bird-note {
    width: 100%;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 8px 14px;
}
.a27-capacity-note {
    width: 100%;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    padding: 6px 12px;
}
.a27-price-per {
    font-size: 14px;
    font-weight: 400;
    color: #b07820;
    margin-left: 4px;
}

/* ── Early-Bird Ribbon ────────────────────────────────────────── */
.a27-price-info-box { position: relative; overflow: hidden; }
.a27-has-ribbon     { overflow: visible; }
.a27-ribbon {
    position: absolute;
    top: 16px; right: -30px;
    background: linear-gradient(135deg, #e8a020, #c8972a);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 36px;
    transform: rotate(35deg);
    transform-origin: top right;
    box-shadow: 0 2px 8px rgba(200,151,42,.35);
    pointer-events: none;
    white-space: nowrap;
    border-radius: 2px;
}
.a27-ticket-desc {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin-top: 2px;
    font-style: italic;
}
/* ═══════════════════════════════════════════════════════════════
   WIZARD STYLES v2.2.0
   ═══════════════════════════════════════════════════════════════ */

/* ── Wizard section ──────────────────────────────────────────── */
.a27-wizard-section {
    padding: 0;
    overflow: hidden;
}
.a27-wizard-stage {
    transition: opacity .25s ease, transform .25s ease;
}

/* ── Progress dots ───────────────────────────────────────────── */
.a27-wizard-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 20px 24px 0;
    margin-bottom: 24px;
}
.a27-wizard-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.a27-dot-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #999;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    border: 2px solid transparent;
}
.a27-wizard-dot.active .a27-dot-circle {
    background: #c8972a;
    color: #fff;
    border-color: #c8972a;
    box-shadow: 0 0 0 4px rgba(200,151,42,.2);
}
.a27-wizard-dot.done .a27-dot-circle {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
}
.a27-dot-label {
    font-size: 11px;
    color: #888;
    max-width: 64px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.a27-wizard-dot.active .a27-dot-label { color: #c8972a; font-weight: 700; }
.a27-wizard-dot.done .a27-dot-label   { color: #22c55e; }
.a27-dot-line {
    height: 2px;
    width: 32px;
    background: #e5e5e5;
    margin: 0 4px;
    margin-bottom: 22px;
    flex-shrink: 0;
}

/* ── Wizard step container ───────────────────────────────────── */
.a27-wizard-step {
    padding: 0 24px 24px;
}
.a27-wizard-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0 12px;
    border-bottom: 2px solid #f0eff0;
}
.a27-wizard-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg,#c8972a,#e8b84b);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.a27-wizard-step-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
}

/* ── Wizard blocks (Name / Meals / Sessions) ─────────────────── */
.a27-wizard-block {
    background: #fafaf8;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid #ede9e0;
}
.a27-wizard-block-title {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.a27-wizard-block-desc {
    font-size: 13px;
    color: #777;
    margin: 0 0 14px;
}
.a27-optional-badge {
    font-size: 11px;
    font-weight: 600;
    background: #f0eff0;
    color: #888;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Meal submenu ────────────────────────────────────────────── */
.a27-meal-group { margin-bottom: 12px; }
.a27-meal-submenu {
    margin-top: 10px;
    animation: a27-slide-down .25s ease;
}
@keyframes a27-slide-down {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0);    }
}

/* ── Menu cards ──────────────────────────────────────────────── */
.a27-menu-group-title {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin-bottom: 4px;
}
.a27-menu-group-info {
    font-size: 12px;
    color: #c8972a;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.a27-menu-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}
.a27-menu-card {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid #e5e5e5;
    background: #fff;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.a27-menu-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.a27-menu-card:hover {
    border-color: #c8972a;
    box-shadow: 0 4px 16px rgba(200,151,42,.15);
    transform: translateY(-1px);
}
.a27-menu-card.a27-menu-selected {
    border-color: #c8972a;
    background: linear-gradient(135deg,#fffbf0,#fff8e7);
    box-shadow: 0 4px 16px rgba(200,151,42,.2);
}
.a27-menu-card.a27-menu-selected::after {
    content: '✓';
    position: absolute;
    top: 6px; right: 8px;
    font-size: 14px;
    color: #c8972a;
    font-weight: 900;
}
.a27-menu-card-inner {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.a27-menu-emoji    { font-size: 24px; line-height: 1; }
.a27-menu-card-label { font-size: 13px; font-weight: 700; color: #1a1a2e; }
.a27-menu-card-desc  { font-size: 11px; color: #777; }
.a27-menu-card.a27-menu-vegi { border-style: dashed; }
.a27-vegi-badge {
    display: inline-block;
    font-size: 10px;
    background: #dcfce7;
    color: #16a34a;
    padding: 1px 6px;
    border-radius: 99px;
    font-weight: 700;
    margin-left: 4px;
}

/* ── Session slot ────────────────────────────────────────────── */
.a27-session-slot { margin-bottom: 16px; }
.a27-session-slot-label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
    padding-left: 2px;
}
.a27-session-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.a27-session-card {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    border: 2px solid #e5e5e5;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.a27-session-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.a27-session-card:hover:not(.a27-session-full) {
    border-color: #6366f1;
    box-shadow: 0 4px 16px rgba(99,102,241,.15);
    transform: translateY(-1px);
}
.a27-session-card.a27-session-selected {
    border-color: #6366f1;
    background: linear-gradient(135deg,#f5f3ff,#eef2ff);
}
.a27-session-card.a27-session-selected::after {
    content: '✓';
    position: absolute;
    top: 6px; right: 8px;
    font-size: 14px;
    color: #6366f1;
    font-weight: 900;
}
.a27-session-card.a27-session-full {
    opacity: .5;
    cursor: not-allowed;
    background: #f5f5f5;
}
.a27-session-card.a27-session-none {
    border-style: dashed;
    border-color: #ccc;
}
.a27-session-card-inner { padding: 12px; }
.a27-session-card-title   { font-size: 13px; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.a27-session-card-speaker { font-size: 12px; color: #666; margin-bottom: 8px; }
.a27-session-card-footer  { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.a27-session-room { font-size: 11px; color: #888; }

/* Capacity badges */
.a27-cap-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.a27-cap-badge.ok        { background: #dcfce7; color: #16a34a; }  /* grün:  > 100 frei */
.a27-cap-badge.warn      { background: #fef9c3; color: #854d0e; }  /* gelb:  51–100 frei */
.a27-cap-badge.low       { background: #fee2e2; color: #dc2626; }  /* rot:   1–50 frei */
.a27-cap-badge.full      { background: #f3f4f6; color: #9ca3af; }  /* grau:  ausgebucht */
.a27-cap-badge.unlimited { background: #dcfce7; color: #16a34a; }  /* grün:  keine Kapazität gesetzt */

/* ── Wizard nav buttons ───────────────────────────────────────── */
.a27-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px 20px;
    gap: 12px;
}
.a27-wizard-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
    font-family: inherit;
}
.a27-wizard-btn-prev {
    background: #f0f0f0;
    color: #555;
}
.a27-wizard-btn-prev:hover { background: #e0e0e0; }
.a27-wizard-btn-next {
    background: linear-gradient(135deg,#c8972a,#e8b84b);
    color: #fff;
    box-shadow: 0 4px 16px rgba(200,151,42,.35);
}
.a27-wizard-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,151,42,.45);
}

/* ── Wizard hint/error ───────────────────────────────────────── */
.a27-wizard-hint {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #92400e;
    margin: 0 24px 16px;
    animation: a27-slide-down .3s ease;
}
.a27-wizard-error {
    background: #fee2e2;
    color: #dc2626;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 24px 8px;
}

/* ── Summary step ────────────────────────────────────────────── */
.a27-summary-step { padding: 0 24px 24px; }
.a27-summary-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.a27-summary-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
}
.a27-sum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}
.a27-sum-total { font-weight: 800; color: #c8972a; font-size: 16px; }
.a27-sum-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    padding: 2px 0;
}
.a27-sum-sessions {
    margin-top: 8px;
    font-size: 12px;
    color: #6366f1;
    padding-top: 6px;
    border-top: 1px dashed #e5e5e5;
}
.a27-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 900;
    color: #1a1a2e;
    padding: 16px 0 0;
    border-top: 2px solid #1a1a2e;
}
/* ── Vegi toggle (appears below selected menu card) ────────────── */
.a27-menu-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.a27-vegi-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-top: none;
    border-radius: 0 0 10px 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    animation: a27-slide-down .2s ease;
    margin-top: -2px;
}
.a27-vegi-toggle.a27-vegi-toggle-visible { display: flex; }
.a27-vegi-toggle input[type="checkbox"] { display: none; }
.a27-vegi-toggle-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid #86efac;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
}
.a27-vegi-check:checked + .a27-vegi-toggle-box,
.a27-vegi-toggle input:checked ~ .a27-vegi-toggle-box {
    background: #16a34a;
    border-color: #16a34a;
}
.a27-vegi-toggle input:checked ~ .a27-vegi-toggle-box::after {
    content: '';
    display: block;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none; border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}
/* Adjust card bottom radius when vegi toggle is visible */
.a27-vegi-toggle-visible ~ .a27-menu-card,
.a27-menu-card:has(+ .a27-vegi-toggle-visible) {
    border-radius: 10px 10px 0 0;
}
/* ── Meal button: checkmark + dynamic text ──────────────────────── */
.a27-meal-btn-check {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    font-size: 28px;
    color: #22c55e;
    font-weight: 900;
    opacity: 0;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s ease;
    pointer-events: none;
    line-height: 1;
}
.a27-meal-btn { position: relative; overflow: visible; }
.a27-meal-active .a27-meal-btn-check {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.a27-meal-btn-text {
    transition: color .2s ease;
}
.a27-meal-active .a27-meal-btn-text {
    color: #15803d;
    font-weight: 800;
}
/* Summary info box */
.a27-summary-info {
    margin: 16px 0 8px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}
.a27-summary-info-open {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}
.a27-summary-info-complete {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #14532d;
}
/* ── Church autocomplete dropdown ─────────────────────────────────── */
.a27-church-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    z-index: 1000;
    overflow: hidden;
    max-height: 280px;
    overflow-y: auto;
}
.a27-church-dd-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
}
.a27-church-dd-item:last-child { border-bottom: none; }
.a27-church-dd-item:hover,
.a27-church-dd-item.a27-church-active {
    background: #f5f0e8;
    color: #c8972a;
    font-weight: 500;
}
