/* ── LANDialog: einheitlicher Ersatz für alert()/confirm()/prompt() ──────────
 * Gleiche dunkle Karte + roter CTA-Verlauf wie der Rest des Ticket-Bereichs
 * (siehe .lan-transfer-submit in frontend-account.css) - läuft bewusst auch
 * auf wp-admin-Seiten (Checkin, Editor, Turniere) im gleichen Look, damit
 * das Popup überall als "unser" Popup erkennbar ist statt als Browser-Default. */

.lan-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000; /* über wp-admin-Chrome (Adminbar etc.) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0);
    transition: background .15s ease;
}

.lan-dialog-overlay.lan-dialog-in {
    background: rgba(0, 0, 0, .6);
}

.lan-dialog {
    width: 100%;
    max-width: 420px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    padding: 28px 28px 24px;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    color: #f1f1f1;
    font-family: "Roboto", Arial, sans-serif;
    transform: scale(.92) translateY(8px);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
}

.lan-dialog-overlay.lan-dialog-in .lan-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.lan-dialog-title {
    font-family: "Big Macca", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0 0 12px;
    color: #fff;
}

.lan-dialog-message {
    font-size: 14px;
    line-height: 1.55;
    color: #d4d4d8;
    margin: 0 0 20px;
    white-space: pre-line;
}

.lan-dialog-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin: -6px 0 20px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}

.lan-dialog-input:focus {
    outline: none;
    border-color: #f90000;
}

.lan-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.lan-dialog-btn {
    font-family: "Roboto", Arial, sans-serif;
    border: none;
    padding: 11px 22px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .3px;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity .15s ease, filter .15s ease, background .15s ease;
}

.lan-dialog-btn--primary {
    background: linear-gradient(0deg, #6a1010 0%, #f90000 100%);
    color: #fff;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .3));
}

.lan-dialog-btn--primary:hover {
    opacity: .85;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4));
}

.lan-dialog-btn--secondary {
    background: transparent;
    color: #d4d4d8;
    border: 1px solid rgba(255, 255, 255, .22);
}

.lan-dialog-btn--secondary:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

@media (max-width: 480px) {
    .lan-dialog {
        padding: 22px 20px 18px;
    }

    .lan-dialog-actions {
        flex-direction: column-reverse;
    }

    .lan-dialog-btn {
        width: 100%;
        text-align: center;
    }
}
