/* =========================================================
   Ticket Lock Overlay – ruhig, klar, Lagom-konform
   ========================================================= */

#ticket-lock-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Hintergrund deutlich abdunkeln + beruhigen */
    background: rgba(10, 15, 25, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ---------------------------------------------------------
   Hauptbox (kein Hover, keine Bewegung!)
   --------------------------------------------------------- */
.ticket-lock-box {
    max-width: 760px;
    width: 92%;
    padding: 26px 30px;
    border-radius: 16px;

    background: linear-gradient(
        180deg,
        rgba(40,45,60,0.98),
        rgba(25,30,45,0.98)
    );

    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 28px 65px rgba(0,0,0,.7);
}

/* ---------------------------------------------------------
   Telegram-Statusbox (Lagom-Style)
   --------------------------------------------------------- */
.ticket-lock-telegram-box {
    background: rgba(255,255,255,0.04);
    border-left: 4px solid #0dcaf0;
    padding: 14px 16px;
    border-radius: 10px;
}

/* ---------------------------------------------------------
   Voucher-Ausnahme ruhig & klar
   --------------------------------------------------------- */
.ticket-lock-voucher-box {
    background: rgba(40,180,90,0.08);
    border-left: 4px solid #28a745;
    padding: 14px 16px;
    border-radius: 10px;
}

/* ---------------------------------------------------------
   Buttons – ruhig, ohne Spielerei
   --------------------------------------------------------- */
.ticket-lock-box .btn {
    transition: background-color .15s ease, box-shadow .15s ease;
}

.ticket-lock-box .btn:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* ---------------------------------------------------------
   Button-Layout
   --------------------------------------------------------- */
.ticket-lock-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ticket-lock-actions-right {
    display: flex;
    gap: 14px;
}

/* ---------------------------------------------------------
   Mobile Optimierung
   --------------------------------------------------------- */
@media (max-width: 576px) {

    .ticket-lock-box {
        width: 94%;
        padding: 22px 20px;
        border-radius: 14px;
    }

    .ticket-lock-box h3 {
        font-size: 1.35rem;
    }

    .ticket-lock-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-lock-actions-right {
        flex-direction: column;
    }

    .ticket-lock-box .btn {
        width: 100%;
    }
}
