:root {
    --eb-bg: #120824;
    --eb-bg-card: #1b0f35;
    --eb-bg-card-inner: #2e1a5c;
    --eb-accent: #c5a04d;
    --eb-accent-text: #0d0b21;
    --eb-text: #ffffff;
    --eb-text-muted: #9b94b8;
    --eb-border: rgba(197, 160, 77, 0.45);
    --eb-success-bg: rgba(34, 80, 55, 0.55);
    --eb-radius: 22px;
    --eb-radius-sm: 16px;
}

* {
    box-sizing: border-box;
}

body.eb-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Noto Kufi Arabic", sans-serif;
    background: var(--eb-bg);
    color: var(--eb-text);
    direction: rtl;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

html:has(body.eb-body) {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* intl-tel-input mobile mode adds a fixed fullscreen layer that blocks page scroll */
body.eb-body.iti-mobile {
    overflow-y: auto !important;
    position: static !important;
    height: auto !important;
}

body.eb-body.eb-phone-dropdown-open {
    overflow-y: auto !important;
    touch-action: pan-y;
}

@media (max-width: 991px) {
    body.eb-body.eb-phone-dropdown-open .eb-page {
        padding-bottom: calc(110px + min(260px, 45vh));
    }
}

.eb-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px 110px;
}

.eb-logo {
    display: block;
    margin: 4px auto 18px;
    height: 44px;
    width: auto;
}

.eb-step {
    display: none;
}

.eb-step.is-active {
    display: block;
}

/* Mobile hero */
.eb-hero {
    position: relative;
    border-radius: var(--eb-radius);
    overflow: hidden;
    margin-bottom: -32px;
    height: 210px;
}

.eb-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eb-hero-dots,
.eb-gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.eb-hero-dots span,
.eb-gallery-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition:
        width 0.2s,
        background 0.2s;
}

.eb-hero-dots span.is-active,
.eb-gallery-dots span.is-active {
    width: 22px;
    border-radius: 8px;
    background: #fff;
}

.eb-book-layout {
    display: block;
}

.eb-desktop-info {
    display: none;
}

.eb-book-main {
    min-width: 0;
}

.eb-card {
    background: var(--eb-bg-card);
    border-radius: var(--eb-radius) var(--eb-radius) 0 0;
    padding: 22px 18px 18px;
    position: relative;
    z-index: 2;
}

.eb-card-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 14px;
}

.eb-divider {
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    margin: 0 0 18px;
}

.eb-field {
    margin-bottom: 16px;
}

.eb-field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--eb-text);
    margin-bottom: 10px;
}

.eb-field-tickets .eb-field-label {
    margin-bottom: 8px;
}

.eb-ticket-row {
    background: var(--eb-bg-card-inner);
    border-radius: var(--eb-radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.eb-attributes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eb-event-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: var(--eb-radius-sm);
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.eb-event-note strong {
    display: block;
    color: #f0c040;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.eb-event-note p {
    margin: 0;
    color: var(--eb-text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.eb-footer-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.eb-footer-subtotal {
    color: var(--eb-text-muted);
    text-decoration: line-through;
    font-size: 0.72rem;
}

.eb-ticket-type {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.eb-ticket-type strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.eb-ticket-type span {
    font-size: 0.78rem;
    color: var(--eb-text-muted);
    line-height: 1.4;
}

.eb-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.eb-qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--eb-accent);
    color: var(--eb-accent-text);
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.eb-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.eb-qty-value {
    font-size: 1.15rem;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
}

.eb-alert-success {
    background: var(--eb-success-bg);
    border: 1px solid var(--eb-border);
    border-radius: var(--eb-radius-sm);
    padding: 12px 14px;
    font-size: 0.84rem;
    margin: 12px 0 8px;
    text-align: center;
}

.eb-hint-upsell {
    color: var(--eb-accent);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 0 14px;
    text-align: start;
}

.eb-select-trigger {
    width: 100%;
    background: var(--eb-bg-card-inner);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--eb-radius-sm);
    color: var(--eb-text);
    padding: 14px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.eb-select-trigger.is-open {
    border-color: var(--eb-accent);
}

.eb-select-chevron {
    color: var(--eb-text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.eb-select-value {
    flex: 1;
    text-align: start;
    color: var(--eb-text-muted);
}

.eb-select-trigger.has-value .eb-select-value {
    color: var(--eb-text);
}

.eb-cal-icon {
    color: var(--eb-accent);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.eb-date-list {
    display: none;
    margin-top: 8px;
    max-height: 220px;
    overflow-y: auto;
    background: var(--eb-bg-card-inner);
    border-radius: var(--eb-radius-sm);
    padding: 4px 8px;
}

.eb-date-list.is-open {
    display: block;
}

.eb-date-item.is-selected {
    border-color: #d4a84b;
    background: rgba(212, 168, 75, 0.12);
}

.eb-date-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.eb-date-item:last-child {
    border-bottom: none;
}

.eb-date-badge {
    border: 1px solid var(--eb-border);
    border-radius: 10px;
    padding: 6px 10px;
    text-align: center;
    min-width: 52px;
}

.eb-date-badge strong {
    display: block;
    font-size: 1rem;
}

.eb-date-badge small {
    font-size: 0.65rem;
    color: var(--eb-accent);
}

.eb-phone-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: var(--eb-bg-card-inner);
    border-radius: var(--eb-radius-sm);
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.eb-phone-iti {
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: visible;
}

.eb-phone-iti--open {
    z-index: 200;
}

.eb-phone-iti .iti {
    display: block;
    width: 100%;
}

/* Anchored country list below the full-width input (never a body-level sheet) */
body.eb-body .iti--container,
.eb-phone-iti .iti--container,
body.iti-mobile .eb-phone-iti .iti--container {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    inset-inline: 0;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 250;
    background: transparent;
    border-radius: 0;
    pointer-events: auto;
}

.eb-phone-iti .iti--container.eb-iti-dropup {
    top: auto !important;
    bottom: 100% !important;
}

body.eb-body .iti--container .iti__country-list,
.eb-phone-iti .iti--container .iti__country-list,
body.iti-mobile .eb-phone-iti .iti--container .iti__country-list {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    max-height: 260px !important;
    margin: 6px 0 0 !important;
    padding: 4px 0 8px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    white-space: normal;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll !important;
    overflow-x: hidden;
    overscroll-behavior: contain;
    pointer-events: auto;
    touch-action: pan-y;
}

.eb-phone-iti .iti--container.eb-iti-dropup .iti__country-list {
    margin: 0 0 6px !important;
}

.eb-phone-iti .iti__flag {
    width: 20px;
    min-width: 20px;
    height: 15px;
    box-shadow: none;
    background-color: transparent;
    background-image: url('../images/flags@2x.png');
    background-repeat: no-repeat;
    background-size: 5652px 15px;
}

.eb-phone-iti .iti__flag.iti__om {
    height: 10px;
}

.eb-phone-iti .iti__flag.iti__eg {
    height: 14px;
}

.eb-phone-iti .iti__flag-container {
    z-index: 2;
    direction: ltr;
}

.eb-phone-iti .iti__selected-flag {
    display: flex;
    flex-direction: row;
    direction: ltr;
    align-items: center;
    gap: 6px;
    background: transparent;
    border-radius: var(--eb-radius-sm) 0 0 var(--eb-radius-sm);
}

.eb-phone-iti .iti__selected-flag:hover,
.eb-phone-iti .iti__selected-flag:focus {
    background: rgba(255, 255, 255, 0.06);
}

.eb-phone-iti .iti__selected-dial-code {
    order: 2;
    color: var(--eb-text);
    font-size: 0.85rem;
    direction: ltr;
    unicode-bidi: plaintext;
}

.eb-phone-iti .iti__selected-flag .iti__flag {
    order: 1;
}

.eb-phone-iti .iti__arrow {
    order: 3;
    border-top-color: var(--eb-text-muted, #b8a8cc);
    margin-left: 2px;
}

.eb-phone-iti .iti__country-list {
    background: var(--eb-bg-card-inner);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--eb-text);
    border-radius: var(--eb-radius-sm);
    text-align: right;
}

.eb-phone-iti .iti__country {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    direction: ltr;
    padding: 10px 12px;
}

.eb-phone-iti .iti__country.iti__highlight {
    background: rgba(201, 162, 77, 0.2);
}

.eb-phone-iti .iti__flag-box {
    order: 1;
    width: 28px;
    min-width: 28px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
}

.eb-phone-iti .iti__country-name {
    order: 2;
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eb-phone-iti .iti__dial-code {
    order: 3;
    color: rgba(255, 255, 255, 0.65);
    direction: ltr;
    unicode-bidi: plaintext;
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.eb-phone-iti .iti__divider {
    display: none;
}

.eb-phone-iti .eb-phone-input,
.eb-phone-iti .iti input[type="tel"] {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--eb-text);
    padding: 14px 14px 14px 96px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    direction: ltr;
    text-align: left;
    min-width: 0;
    margin: 0 !important;
}

.eb-phone-iti .eb-phone-input::placeholder,
.eb-phone-iti .iti input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.eb-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 11, 33, 0.97);
    backdrop-filter: blur(10px);
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 50;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.eb-footer-total small {
    display: block;
    color: var(--eb-text-muted);
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.eb-footer-total strong {
    color: var(--eb-accent);
    font-size: 1.4rem;
    font-weight: 700;
}

.eb-btn-primary {
    background: var(--eb-accent);
    color: var(--eb-accent-text);
    border: none;
    border-radius: var(--eb-radius-sm);
    padding: 15px 32px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    min-width: 140px;
}

.eb-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Summary */
.eb-summary-card {
    background: var(--eb-bg-card);
    border-radius: var(--eb-radius);
    padding: 20px 18px;
}

.eb-summary-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

.eb-summary-head-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eb-summary-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.eb-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--eb-text);
    cursor: pointer;
    line-height: 1;
}

.eb-summary-box {
    background: var(--eb-bg-card-inner);
    border-radius: var(--eb-radius-sm);
    padding: 16px;
}

.eb-summary-box h3 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.eb-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--eb-text-muted);
}

.eb-line span:last-child {
    color: var(--eb-text);
}

.eb-line.is-discount span:last-child {
    color: var(--eb-accent);
}

.eb-line.is-total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    font-weight: 700;
}

.eb-line.is-total span {
    color: var(--eb-accent);
    font-size: 1rem;
}

.eb-sms-note {
    margin-top: 14px;
    padding: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--eb-radius-sm);
    font-size: 0.8rem;
    color: var(--eb-text-muted);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* Processing */
.eb-processing {
    text-align: center;
    padding: 80px 24px;
}

.eb-spinner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(197, 160, 77, 0.2);
    border-top-color: var(--eb-accent);
    margin: 0 auto 24px;
    animation: eb-spin 0.9s linear infinite;
}

@keyframes eb-spin {
    to {
        transform: rotate(360deg);
    }
}

.eb-processing h2 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.eb-processing p {
    margin: 0;
    color: var(--eb-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.eb-event-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.35;
}

.eb-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--eb-accent);
    font-size: 0.88rem;
    margin: 0 0 14px;
}

.eb-location svg {
    flex-shrink: 0;
}

.eb-desktop-desc {
    color: var(--eb-text-muted);
    font-size: 0.88rem;
    line-height: 1.85;
    margin: 0;
}

.eb-gallery {
    position: relative;
    border-radius: var(--eb-radius);
    overflow: hidden;
}

.eb-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eb-error {
    color: #ff8a8a;
    font-size: 0.8rem;
    margin-top: 8px;
    display: none;
}

.eb-error.is-visible {
    display: block;
}

.eb-checkout-error {
    margin-top: 12px;
    text-align: center;
}

body.eb-hide-footer .eb-footer {
    display: none;
}

/* Success / ticket page */
.eb-desktop-only {
    display: none !important;
}

.eb-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(180deg, #1a1535 0%, #12101f 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.eb-site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.eb-header-logo {
    height: 40px;
    width: auto;
}

.eb-header-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--eb-text);
}

body.eb-success-page {
    padding-top: 88px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

.eb-success-main {
    padding-top: 8px;
    padding-bottom: 24px;
}

.eb-success-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eb-success-event {
    display: none;
}

.eb-pass-tickets {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eb-pass-ticket {
    position: relative;
    background: linear-gradient(180deg, #2a2548 0%, var(--eb-bg-card) 100%);
    border: 1px solid rgba(197, 160, 77, 0.35);
    border-radius: var(--eb-radius);
    padding: 20px 18px 18px;
    overflow: visible;
}

.eb-pass-notch {
    position: absolute;
    top: 38%;
    width: 14px;
    height: 14px;
    background: var(--eb-bg);
    border-radius: 50%;
    z-index: 1;
}

.eb-pass-notch--start {
    inset-inline-start: -7px;
}

.eb-pass-notch--end {
    inset-inline-end: -7px;
}

.eb-pass-qr-wrap {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    width: fit-content;
    margin: 0 auto 14px;
}

.eb-pass-qr {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.eb-pass-event {
    margin: 0 0 6px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.eb-pass-number {
    margin: 0 0 14px;
    text-align: center;
    color: var(--eb-accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.eb-pass-divider {
    border: none;
    border-top: 1px dashed rgba(197, 160, 77, 0.45);
    margin: 0 0 12px;
}

.eb-pass-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eb-pass-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
}

.eb-pass-label {
    color: var(--eb-text-muted);
    flex: 1;
    text-align: start;
}

.eb-pass-value {
    flex-shrink: 0;
    text-align: end;
    direction: ltr;
    unicode-bidi: plaintext;
}

.eb-pass-line--discount .eb-pass-value {
    color: var(--eb-accent);
}

.eb-pass-line--total {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dotted rgba(197, 160, 77, 0.35);
}

.eb-pass-line--total .eb-pass-label {
    color: var(--eb-text);
    font-weight: 700;
}

.eb-pass-line--total .eb-pass-value {
    color: var(--eb-accent);
    font-size: 1.1rem;
    font-weight: 700;
}

.eb-ticket-card {
    background: var(--eb-bg-card);
    border-radius: var(--eb-radius);
    padding: 20px 18px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.eb-ticket-card-title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.eb-ticket-ref-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(197, 160, 77, 0.45);
    border-radius: var(--eb-radius-sm);
    padding: 18px 16px;
    text-align: center;
    margin: 0 0 16px;
}

.eb-ticket-ref-label {
    margin: 0 0 8px;
    font-size: 0.78rem;
    color: var(--eb-text-muted);
}

.eb-ticket-ref {
    font-family: ui-monospace, monospace;
    letter-spacing: 1.5px;
    margin: 0 0 8px;
    color: var(--eb-accent);
    font-size: 1.05rem;
    font-weight: 700;
}

.eb-qr-hint {
    margin: 0;
    color: var(--eb-text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.eb-whatsapp-success {
    background: rgba(37, 211, 102, 0.12);
    border: 1px dashed rgba(37, 211, 102, 0.45);
    border-radius: var(--eb-radius-sm);
    padding: 12px 14px;
    font-size: 0.82rem;
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.eb-whatsapp-icon {
    flex-shrink: 0;
    color: #25d366;
    margin-top: 2px;
}

.eb-success-page .eb-pass-tickets .eb-whatsapp-success {
    margin-top: 4px;
}

.eb-sms-success {
    background: var(--eb-success-bg);
    border: 1px solid rgba(197, 160, 77, 0.35);
    border-radius: var(--eb-radius-sm);
    padding: 12px 14px;
    font-size: 0.82rem;
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.eb-sms-icon {
    flex-shrink: 0;
    color: var(--eb-accent);
    margin-top: 2px;
}

.eb-btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--eb-accent);
    color: var(--eb-accent-text);
    border: none;
    border-radius: var(--eb-radius-sm);
    padding: 16px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.eb-btn-download:hover {
    filter: brightness(1.06);
}

.eb-success-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, #0d0b21 55%, rgba(13, 11, 33, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.eb-success-brand {
    text-align: center;
    margin-top: 20px;
    margin-bottom: calc(88px + env(safe-area-inset-bottom));
    padding-bottom: 0;
}

.eb-brand-logo {
    height: 36px;
    width: auto;
    opacity: 0.85;
    margin-bottom: 8px;
}

.eb-success-brand p {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--eb-text-muted);
    text-transform: uppercase;
}

/* Desktop */
@media (min-width: 992px) {
    .eb-page {
        padding: 20px 28px 40px;
    }

    .eb-logo {
        margin-bottom: 28px;
        height: 52px;
    }

    .eb-hero {
        display: none;
    }

    .eb-step-book .eb-book-layout,
    .eb-step[data-eb-step="summary"] .eb-book-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        align-items: start;
    }

    .eb-desktop-info {
        display: block;
    }

    .eb-gallery-desktop {
        height: 300px;
        margin-bottom: 22px;
    }

    .eb-card {
        border-radius: var(--eb-radius);
        padding: 26px 24px 22px;
    }

    .eb-card-title,
    .eb-divider {
        display: none;
    }

    .eb-footer {
        position: static;
        background: transparent;
        backdrop-filter: none;
        border-top: none;
        padding: 18px 0 0;
        max-width: none;
        transform: none;
        margin-inline-start: calc(50% + 18px);
        width: calc(50% - 18px);
    }

    .eb-page {
        padding-bottom: 32px;
    }

    .eb-step[data-eb-step="summary"] .eb-footer {
        margin-inline-start: calc(50% + 18px);
    }
}

@media (max-width: 991px) {
    .eb-step[data-eb-step="summary"] .eb-desktop-info,
    .eb-step[data-eb-step="processing"] .eb-desktop-info {
        display: none;
    }
}

/* Success page — tablet */
@media (min-width: 768px) and (max-width: 991px) {
    body.eb-success-page {
        padding-top: 92px;
    }

    .eb-success-main {
        max-width: 520px;
        margin: 0 auto;
    }

    .eb-ticket-card {
        padding: 24px 22px;
    }
}

/* Success page — desktop */
@media (min-width: 992px) {
    body.eb-success-page {
        padding-top: 96px;
        padding-bottom: 40px;
    }

    .eb-site-header-inner {
        padding: 18px 28px;
    }

    .eb-header-logo {
        height: 48px;
    }

    .eb-header-title {
        display: none;
    }

    .eb-success-brand {
        display: none;
        margin-bottom: 0;
    }

    .eb-ticket-card-title.eb-desktop-only {
        display: block !important;
    }

    .eb-success-actions {
        position: static;
        padding: 0;
        margin-top: 18px;
        background: transparent;
        border-top: none;
    }

    .eb-success-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        align-items: start;
    }

    .eb-success-event {
        display: block;
    }

    .eb-success-event .eb-gallery-desktop {
        height: 300px;
        margin-bottom: 22px;
    }

    .eb-ticket-card-title {
        text-align: start;
    }
}

/* Booking page — summary footer on tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .eb-step[data-eb-step="summary"] .eb-footer {
        max-width: 520px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        border-radius: var(--eb-radius) var(--eb-radius) 0 0;
    }

    body.eb-success-page {
        padding-bottom: calc(108px + env(safe-area-inset-bottom));
    }
}

/* -------------------------------------------------------------------------- */
/* Client card page (credit top-up WhatsApp link)                              */
/* -------------------------------------------------------------------------- */

body.eb-client-card-page {
    padding-top: 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.eb-cc-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 14px;
    background: rgba(18, 8, 36, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.eb-cc-header-logo {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(220px, 70vw);
}

.eb-cc-header-title {
    margin: 0;
    font-size: clamp(0.9rem, 2.8vw, 1rem);
    font-weight: 700;
    color: var(--eb-text);
    text-align: center;
}

.eb-cc-main {
    flex: 1;
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 20px 16px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.eb-cc-card {
    position: relative;
    background: linear-gradient(180deg, #2a2548 0%, var(--eb-bg-card) 100%);
    border: 1px solid rgba(197, 160, 77, 0.35);
    border-radius: var(--eb-radius);
    padding: 22px 18px 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.eb-cc-notch {
    position: absolute;
    top: 42%;
    width: 14px;
    height: 14px;
    background: var(--eb-bg);
    border-radius: 50%;
    z-index: 1;
}

.eb-cc-notch--start {
    inset-inline-start: -7px;
}

.eb-cc-notch--end {
    inset-inline-end: -7px;
}

.eb-cc-qr-wrap {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 16px;
}

.eb-cc-qr {
    display: block;
    width: min(200px, 58vw);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.eb-cc-name {
    margin: 0 0 6px;
    text-align: center;
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.eb-cc-phone {
    margin: 0 0 16px;
    text-align: center;
    color: var(--eb-accent);
    font-weight: 700;
    font-size: clamp(0.78rem, 2.6vw, 0.95rem);
    line-height: 1.5;
    word-break: break-all;
}

.eb-cc-divider {
    border: none;
    border-top: 1px dashed rgba(197, 160, 77, 0.45);
    margin: 0 0 14px;
}

.eb-cc-details {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eb-cc-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.eb-cc-row dt {
    margin: 0;
    flex: 1 1 45%;
    color: var(--eb-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.eb-cc-row dd {
    margin: 0;
    flex: 0 1 auto;
    text-align: end;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
}

.eb-cc-hint {
    margin: 0;
    text-align: center;
    color: var(--eb-text-muted);
    font-size: clamp(0.78rem, 2.5vw, 0.88rem);
    line-height: 1.7;
    padding: 0 4px;
}

.eb-cc-footer {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.eb-cc-footer-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 120px;
    opacity: 0.75;
}

.eb-cc-footer span {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--eb-text-muted);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .eb-cc-header {
        padding: 20px 24px 16px;
    }

    .eb-cc-header-logo {
        height: 46px;
    }

    .eb-cc-main {
        padding: 28px 24px 36px;
        gap: 22px;
    }

    .eb-cc-card {
        padding: 28px 24px 24px;
    }

    .eb-cc-qr {
        width: 210px;
    }
}

@media (min-width: 992px) {
    body.eb-client-card-page {
        padding-bottom: 40px;
    }

    .eb-cc-main {
        width: min(100%, 480px);
        padding-top: 36px;
    }

    .eb-cc-card {
        padding: 32px 28px 28px;
    }

    .eb-cc-qr {
        width: 220px;
    }
}
