/* Live Ticket Pass Pro — ظاهر سایت */

/* ---------- پایه ---------- */
.ltp-scope {
    direction: rtl;
    text-align: right;
    font-family: var(--ltp-font);
    color: var(--ltp-ink);
    line-height: 1.7;
    box-sizing: border-box;
}

.ltp-scope *,
.ltp-scope *::before,
.ltp-scope *::after {
    box-sizing: border-box;
}

.ltp-scope .ltp-icon {
    flex: none;
    vertical-align: middle;
}

.ltp-ltr {
    direction: ltr;
    unicode-bidi: embed;
}

.ltp-muted {
    color: var(--ltp-muted);
}

/* ---------- دکمه‌ها ---------- */
.ltp-scope .ltp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin: 0;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
    transition: transform .12s ease, background .15s, box-shadow .15s, opacity .15s;
}

.ltp-scope .ltp-btn:focus-visible {
    outline: none;
    box-shadow: var(--ltp-ring);
}

.ltp-scope .ltp-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

.ltp-scope .ltp-btn--primary {
    background: linear-gradient(135deg, var(--ltp-brand), var(--ltp-brand-2));
    color: #fff;
    box-shadow: 0 12px 24px -12px rgba(79, 70, 229, .8);
}

.ltp-scope .ltp-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px -12px rgba(79, 70, 229, .9);
}

.ltp-scope .ltp-btn--success {
    background: var(--ltp-ok);
    color: #fff;
}

.ltp-scope .ltp-btn--success:hover:not(:disabled) {
    background: #047857;
}

.ltp-scope .ltp-btn--ghost {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}

.ltp-scope .ltp-btn--ghost:hover {
    background: rgba(255, 255, 255, .18);
}

.ltp-scope .ltp-btn--muted {
    background: var(--ltp-soft);
    border-color: var(--ltp-line);
    color: var(--ltp-faint);
    opacity: 1;
}

.ltp-scope .ltp-btn--gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1c1917;
}

.ltp-scope .ltp-btn--gold:hover {
    transform: translateY(-1px);
}

.ltp-scope .ltp-btn--block {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
}

.ltp-scope .ltp-btn.is-loading {
    position: relative;
    color: transparent !important;
}

.ltp-scope .ltp-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ltp-spin .7s linear infinite;
}

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

/* ---------- نشان وضعیت ---------- */
.ltp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    white-space: nowrap;
}

.ltp-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.ltp-badge--valid {
    background: var(--ltp-ok-soft);
    border-color: var(--ltp-ok-line);
    color: var(--ltp-ok);
}

.ltp-badge--used {
    background: var(--ltp-bad-soft);
    border-color: var(--ltp-bad-line);
    color: var(--ltp-bad);
}

/* ---------- هشدار و حالت خالی ---------- */
.ltp-alert {
    margin: 0 0 16px;
    padding: 14px 18px;
    border: 1px solid;
    border-radius: var(--ltp-radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.ltp-alert--info { background: var(--ltp-brand-soft); border-color: #c7d2fe; color: var(--ltp-brand-ink); }
.ltp-alert--warn { background: var(--ltp-warn-soft); border-color: var(--ltp-warn-line); color: var(--ltp-warn); }
.ltp-alert--error { background: var(--ltp-bad-soft); border-color: var(--ltp-bad-line); color: #991b1b; }

.ltp-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 36px 20px;
    border: 1px dashed var(--ltp-line-2);
    border-radius: var(--ltp-radius);
    background: var(--ltp-soft);
    color: var(--ltp-muted);
    text-align: center;
}

.ltp-empty p {
    margin: 0;
}

.ltp-section-head {
    margin: 0 0 22px;
    text-align: center;
}

.ltp-section-head--start {
    text-align: right;
}

.ltp-section-head h2,
.ltp-section-head h3 {
    margin: 0 0 6px;
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 900;
    color: var(--ltp-ink);
}

.ltp-section-head p {
    margin: 0;
    font-size: 14px;
    color: var(--ltp-muted);
}

.ltp-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--ltp-brand-soft);
    color: var(--ltp-brand-ink);
    font-size: 12px;
    font-weight: 800;
}

/* ================================================================
 * کارت بلیت
 * ============================================================= */
.ltp-thankyou {
    margin: 32px 0;
}

.ltp-ticket-stack {
    display: grid;
    gap: 20px;
}

.ltp-ticket {
    --ltp-notch-bg: var(--ltp-page-bg, #ffffff);
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(99, 102, 241, .28), transparent 55%),
        linear-gradient(150deg, #0b1220 0%, #111c33 55%, #1e293b 100%);
    color: #f8fafc;
    box-shadow: 0 24px 48px -20px rgba(2, 6, 23, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}

.ltp-ticket__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 24px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #1c1917;
}

.ltp-ticket__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 900;
}

.ltp-ticket__event {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .9);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 800;
}

.ltp-ticket__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
}

.ltp-ticket__info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    margin: 0;
}

.ltp-ticket__cell {
    margin: 0;
}

.ltp-ticket__cell--wide {
    grid-column: 1 / -1;
}

.ltp-ticket__cell dt {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 3px;
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
}

.ltp-ticket__cell dd {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.ltp-ticket__code {
    direction: ltr;
    text-align: right;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 18px !important;
    letter-spacing: 1.5px;
    color: #fbbf24 !important;
}

.ltp-ticket__accent {
    color: #7dd3fc !important;
}

.ltp-ticket__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
}

.ltp-ticket__qr img {
    display: block;
    width: 132px;
    height: 132px;
}

.ltp-ticket__qr figcaption {
    direction: ltr;
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    font-weight: 800;
}

.ltp-ticket__tear {
    position: relative;
    height: 24px;
    margin: 0 18px;
    border-top: 2px dashed rgba(255, 255, 255, .16);
    transform: translateY(12px);
}

.ltp-ticket__tear::before,
.ltp-ticket__tear::after {
    content: "";
    position: absolute;
    top: -13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ltp-notch-bg);
}

.ltp-ticket__tear::before { right: -30px; }
.ltp-ticket__tear::after { left: -30px; }

.ltp-ticket__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 24px 20px;
}

.ltp-ticket__foot .ltp-badge--valid {
    background: rgba(16, 185, 129, .14);
    border-color: rgba(16, 185, 129, .35);
    color: #34d399;
}

.ltp-ticket__foot .ltp-badge--used {
    background: rgba(239, 68, 68, .14);
    border-color: rgba(239, 68, 68, .35);
    color: #fca5a5;
    white-space: normal;
}

.ltp-ticket.is-used .ltp-ticket__qr img {
    opacity: .25;
    filter: grayscale(1);
}

.ltp-ticket.is-used .ltp-ticket__qr::after {
    content: "ابطال‌شده";
    position: absolute;
    padding: 4px 12px;
    border: 2px solid #dc2626;
    border-radius: 8px;
    color: #dc2626;
    font-weight: 900;
    transform: translateY(48px) rotate(-12deg);
    background: rgba(255, 255, 255, .9);
}

.ltp-ticket__qr {
    position: relative;
}

/* ---------- بلیت‌های من ---------- */
.ltp-mytix {
    width: 100%;
}

.ltp-mytix__row {
    margin: 0 0 10px;
    border: 1px solid var(--ltp-line);
    border-radius: 16px;
    background: var(--ltp-surface);
    overflow: hidden;
    transition: box-shadow .15s, border-color .15s;
}

.ltp-mytix__row[open] {
    border-color: #c7d2fe;
    box-shadow: var(--ltp-shadow);
}

.ltp-mytix__row summary {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto 20px;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
}

.ltp-mytix__row summary::-webkit-details-marker {
    display: none;
}

.ltp-mytix__event {
    display: flex;
    flex-direction: column;
    font-weight: 800;
    min-width: 0;
}

.ltp-mytix__event small {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--ltp-muted);
    text-align: right;
}

.ltp-mytix__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ltp-ink-2);
}

.ltp-mytix__chev {
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--ltp-faint);
    border-bottom: 2px solid var(--ltp-faint);
    transform: rotate(-45deg);
    transition: transform .2s;
}

.ltp-mytix__row[open] .ltp-mytix__chev {
    transform: rotate(135deg);
}

.ltp-mytix__body {
    padding: 4px 14px 18px;
    background: var(--ltp-soft);
    --ltp-page-bg: var(--ltp-soft);
}

.ltp-mytix__row.is-used summary {
    opacity: .8;
}

/* ================================================================
 * تقویم رزرو
 * ============================================================= */
.ltp-booking {
    width: 100%;
    margin: 0 auto;
}

.ltp-booking__card {
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--ltp-line);
    border-radius: 24px;
    background: var(--ltp-surface);
    box-shadow: var(--ltp-shadow);
}

.ltp-booking__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ltp-line);
}

.ltp-booking__head h3 {
    margin: 0 0 4px;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 900;
    color: var(--ltp-ink);
}

.ltp-booking__head p {
    margin: 0;
    font-size: 14px;
    color: var(--ltp-muted);
}

.ltp-booking__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 16px;
    border-radius: 14px;
    background: var(--ltp-soft);
    border: 1px solid var(--ltp-line);
}

.ltp-booking__price span {
    font-size: 12px;
    color: var(--ltp-muted);
}

.ltp-booking__price strong {
    font-size: 18px;
    font-weight: 900;
}

.ltp-booking__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: clamp(18px, 3vw, 32px);
    align-items: start;
}

.ltp-booking__panel {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--ltp-line);
    border-radius: 20px;
    background: linear-gradient(180deg, var(--ltp-soft), #fff);
}

.ltp-panel-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--ltp-line);
}

.ltp-panel-step__num {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ltp-brand-soft);
    color: var(--ltp-brand-ink);
    font-size: 13px;
    font-weight: 900;
}

.ltp-booking__panel.is-ready .ltp-panel-step:first-child .ltp-panel-step__num {
    background: var(--ltp-ok);
    color: #fff;
}

.ltp-panel-step__grow {
    flex: 1;
}

.ltp-panel-step__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ltp-muted);
}

.ltp-panel-step__value {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: var(--ltp-ink);
}

.ltp-panel-step__hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--ltp-muted);
}

.ltp-panel-step__hint.is-low {
    color: var(--ltp-warn);
    font-weight: 700;
}

/* استپر تعداد نفرات */
.ltp-stepper {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 4px;
    border: 1px solid var(--ltp-line-2);
    border-radius: 14px;
    background: #fff;
}

.ltp-scope .ltp-stepper__btn,
.ltp-scope .ltp-qty__btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--ltp-brand-soft);
    color: var(--ltp-brand-ink);
    font: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.ltp-scope .ltp-stepper__btn:hover:not(:disabled),
.ltp-scope .ltp-qty__btn:hover:not(:disabled) {
    background: var(--ltp-brand);
    color: #fff;
}

.ltp-scope .ltp-stepper__btn:disabled,
.ltp-scope .ltp-qty__btn:disabled {
    background: var(--ltp-soft);
    color: #cbd5e1;
    cursor: not-allowed;
}

.ltp-scope .ltp-stepper input {
    width: 64px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ltp-ink);
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.ltp-stepper input::-webkit-outer-spin-button,
.ltp-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ltp-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ltp-ink);
    color: #fff;
}

.ltp-total span {
    font-size: 13px;
    color: #cbd5e1;
}

.ltp-total strong {
    font-size: 18px;
    font-weight: 900;
}

/* ================================================================
 * پنل اپراتور گیت
 * ============================================================= */
.ltp-op {
    width: 100%;
    max-width: 1400px;
    margin: 24px auto;
}

.ltp-op__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 24px 24px 0 0;
    background:
        radial-gradient(90% 160% at 0% 0%, rgba(56, 189, 248, .25), transparent 55%),
        radial-gradient(80% 140% at 100% 100%, rgba(99, 102, 241, .35), transparent 55%),
        linear-gradient(135deg, #0b1220, #172554);
    color: #fff;
}

.ltp-op__title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ltp-op__logo {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #7dd3fc;
}

.ltp-op__title h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(19px, 2.6vw, 26px);
    font-weight: 900;
    line-height: 1.4;
}

.ltp-op__title p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #cbd5e1;
}

.ltp-op__live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, .14);
    border: 1px solid rgba(52, 211, 153, .35);
    color: #6ee7b7;
    font-size: 13px;
    font-weight: 800;
}

.ltp-op__pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    animation: ltp-pulse 1.6s infinite;
}

.ltp-op__live.is-offline {
    background: rgba(239, 68, 68, .14);
    border-color: rgba(248, 113, 113, .4);
    color: #fca5a5;
}

.ltp-op__live.is-offline .ltp-op__pulse {
    background: #ef4444;
    animation: none;
}

@keyframes ltp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ltp-op__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    background: #0f172a;
}

.ltp-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-top: 3px solid #94a3b8;
}

.ltp-stat--valid { border-top-color: #10b981; }
.ltp-stat--used { border-top-color: #ef4444; }
.ltp-stat--today { border-top-color: #38bdf8; }

.ltp-stat__label {
    font-size: 12px;
    color: #94a3b8;
}

.ltp-stat__value {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.ltp-op__toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.ltp-op__search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 340px;
    min-width: 0;
    margin: 0;
    color: var(--ltp-faint);
}

.ltp-op__search .ltp-icon {
    position: absolute;
    right: 14px;
}

.ltp-scope .ltp-op__search input {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 44px 10px 130px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: #fff;
    color: var(--ltp-ink);
    font: inherit;
    font-size: 15px;
    box-shadow: none;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.ltp-scope .ltp-op__search input:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, .3);
}

.ltp-op__search kbd {
    position: absolute;
    left: 10px;
    padding: 3px 8px;
    border-radius: 8px;
    background: var(--ltp-soft);
    border: 1px solid var(--ltp-line);
    color: var(--ltp-muted);
    font-family: inherit;
    font-size: 11px;
    white-space: nowrap;
}

.ltp-seg {
    display: inline-flex;
    padding: 4px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.ltp-scope .ltp-seg button {
    margin: 0;
    padding: 8px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #cbd5e1;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
}

.ltp-scope .ltp-seg button.is-active {
    background: #fff;
    color: var(--ltp-ink);
}

.ltp-op [data-ltp-refresh].is-spinning .ltp-icon {
    animation: ltp-spin .8s linear infinite;
}

.ltp-op__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--ltp-soft);
    border-bottom: 1px solid var(--ltp-line);
}

.ltp-op__chips-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--ltp-muted);
}

.ltp-scope .ltp-chip {
    margin: 0;
    padding: 6px 14px;
    border: 1px solid var(--ltp-line-2);
    border-radius: 999px;
    background: #fff;
    color: var(--ltp-ink-2);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
}

.ltp-scope .ltp-chip[aria-pressed="true"] {
    background: var(--ltp-brand);
    border-color: var(--ltp-brand);
    color: #fff;
}

.ltp-op__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--ltp-line);
    border-top: 0;
    border-radius: 0 0 24px 24px;
    background: #fff;
    box-shadow: var(--ltp-shadow);
}

.ltp-op__table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 14px;
}

.ltp-op__table th {
    position: sticky;
    top: 0;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid var(--ltp-line);
    background: var(--ltp-soft);
    color: var(--ltp-muted);
    font-size: 12px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.ltp-op__table td {
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    text-align: right;
}

.ltp-op__table td small {
    display: block;
    font-size: 12px;
    color: var(--ltp-muted);
}

.ltp-op__table tbody tr {
    transition: background .2s;
}

.ltp-op__table tbody tr:hover {
    background: #fafbff;
}

.ltp-op__table tbody tr.is-used {
    background: #fffafa;
}

.ltp-op__table tbody tr.is-used .ltp-op__code {
    color: #94a3b8;
    text-decoration: line-through;
}

.ltp-op__table tbody tr.is-flash {
    animation: ltp-flash 2.4s ease;
}

@keyframes ltp-flash {
    0%, 30% { background: #dcfce7; }
    100% { background: #fffafa; }
}

.ltp-op__code {
    direction: ltr;
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 800;
    color: var(--ltp-brand);
    letter-spacing: .5px;
}

.ltp-op__date {
    font-weight: 700;
    color: var(--ltp-ink-2);
    white-space: nowrap;
}

.ltp-tag {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 8px;
    border-radius: 6px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
}

.ltp-op__time {
    font-weight: 800;
    color: var(--ltp-bad);
    white-space: nowrap;
}

.ltp-op__note {
    color: var(--ltp-bad) !important;
}

.ltp-op__action {
    text-align: center !important;
}

.ltp-op__empty {
    padding: 40px 20px !important;
    text-align: center !important;
    color: var(--ltp-faint);
}

.ltp-op__empty.is-error {
    color: var(--ltp-bad);
}

.ltp-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border: 2px solid var(--ltp-line-2);
    border-top-color: var(--ltp-brand);
    border-radius: 50%;
    vertical-align: middle;
    animation: ltp-spin .7s linear infinite;
}

.ltp-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    z-index: 99999;
    max-width: min(92vw, 520px);
    padding: 14px 20px;
    border-radius: 14px;
    background: var(--ltp-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 18px 40px -12px rgba(2, 6, 23, .5);
    transform: translateX(-50%);
    animation: ltp-toast-in .25s ease;
}

.ltp-toast[hidden] {
    display: none;
}

.ltp-toast--success { background: #065f46; }
.ltp-toast--error { background: #991b1b; }

@keyframes ltp-toast-in {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ================================================================
 * استپر نفرات در صفحه پرداخت
 * ============================================================= */
.ltp-qty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 8px;
    font-weight: 400;
}

.ltp-qty__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--ltp-muted);
}

.ltp-qty__ctrl {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--ltp-line-2);
    border-radius: 12px;
    background: #fff;
}

.ltp-scope .ltp-qty__btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
}

.ltp-qty__val {
    min-width: 34px;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    color: var(--ltp-ink);
}

.ltp-qty__hint {
    font-size: 11.5px;
    color: var(--ltp-muted);
}

.ltp-qty__error {
    flex-basis: 100%;
    font-size: 12px;
    font-weight: 700;
    color: var(--ltp-bad);
}

.ltp-qty.is-loading .ltp-qty__ctrl {
    opacity: .55;
    pointer-events: none;
}

.ltp-qty-static {
    font-size: 13px;
    color: var(--ltp-muted, #64748b);
}

/* ================================================================
 * واکنش‌گرا
 * ============================================================= */
@media (max-width: 900px) {
    .ltp-booking__layout {
        grid-template-columns: 1fr;
    }

    .ltp-booking__panel {
        position: static;
    }

    .ltp-op__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* جدول اپراتور به کارت تبدیل می‌شود */
    .ltp-op__table thead {
        display: none;
    }

    .ltp-op__table,
    .ltp-op__table tbody,
    .ltp-op__table tr,
    .ltp-op__table td {
        display: block;
        width: 100%;
    }

    .ltp-op__table tbody tr {
        padding: 12px 14px;
        border-bottom: 6px solid var(--ltp-soft);
    }

    .ltp-op__table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 7px 0;
        border-bottom: 1px dashed #eef2f7;
        text-align: left;
    }

    .ltp-op__table td::before {
        content: attr(data-label);
        flex: none;
        font-size: 12px;
        font-weight: 700;
        color: var(--ltp-muted);
    }

    .ltp-op__cell {
        min-width: 0;
        text-align: left;
    }

    .ltp-op__table td.ltp-op__action .ltp-op__cell {
        width: 100%;
    }

    .ltp-op__table td.ltp-op__action {
        border-bottom: 0;
        padding-top: 12px;
    }

    .ltp-op__table td.ltp-op__action::before {
        display: none;
    }

    .ltp-op__table td.ltp-op__action .ltp-btn {
        width: 100%;
    }

    .ltp-op__table td.ltp-op__empty {
        display: block;
    }

    .ltp-op__table td.ltp-op__empty::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .ltp-ticket__body {
        grid-template-columns: 1fr;
    }

    .ltp-ticket__qr {
        justify-self: center;
    }

    .ltp-ticket__info {
        grid-template-columns: 1fr;
    }

    .ltp-ticket__foot {
        flex-direction: column;
        align-items: stretch;
    }

    .ltp-mytix__row summary {
        grid-template-columns: 1fr auto;
    }

    .ltp-mytix__date {
        grid-column: 1;
    }

    .ltp-mytix__chev {
        display: none;
    }

    .ltp-op__search kbd {
        display: none;
    }

    .ltp-scope .ltp-op__search input {
        padding-left: 14px;
    }

    .ltp-seg {
        flex: 1 1 auto;
    }

    .ltp-scope .ltp-seg button {
        flex: 1;
    }

    .ltp-op [data-ltp-refresh] {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ltp-scope *,
    .ltp-scope *::before,
    .ltp-scope *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ================================================================
 * چاپ تکی بلیت
 * ============================================================= */
@media print {
    body.ltp-printing * {
        visibility: hidden !important;
    }

    body.ltp-printing .ltp-print-target,
    body.ltp-printing .ltp-print-target * {
        visibility: visible !important;
    }

    body.ltp-printing .ltp-print-target {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        max-width: 640px !important;
        margin: 0 auto !important;
        box-shadow: none !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.ltp-printing .ltp-print-target .ltp-btn {
        display: none !important;
    }
}
