/*
 * TeatronWeb — Magic Login modal restyle (25 mag 2026)
 * Override del modale #tw-login-dialog (definito in header.php e
 * stilato di base in style.css:795-850). Palette nero-cinematografica,
 * glow #e03030 solo su elementi attivi (focus/hover). Carica dopo
 * style.css via dipendenza 'tw-style' in functions.php.
 */

.tw-login-dialog {
    background: #020202;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.75);
}

.tw-login-dialog::backdrop {
    background: rgba(0,0,0,0.82);
}

.tw-login-close {
    color: rgba(255,255,255,0.45);
    transition: color 120ms ease, text-shadow 120ms ease;
}
.tw-login-close:hover,
.tw-login-close:focus-visible {
    color: #e03030;
    text-shadow:
        0 0 6px rgba(224,48,48,0.55),
        0 0 14px rgba(224,48,48,0.35);
    outline: none;
}

.tw-login-title {
    color: #fff;
}

.tw-login-hint {
    color: rgba(255,255,255,0.62);
    opacity: 1;
}

.tw-login-label {
    color: rgba(255,255,255,0.55);
}

.tw-login-dialog input[type="email"] {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.tw-login-dialog input[type="email"]::placeholder {
    color: rgba(255,255,255,0.35);
}
.tw-login-dialog input[type="email"]:focus {
    background: rgba(255,255,255,0.06);
    border-color: #e03030;
    box-shadow:
        0 0 0 3px rgba(224,48,48,0.18),
        0 0 14px rgba(224,48,48,0.22);
}

.tw-login-submit {
    background: #fff;
    color: #020202;
    transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.tw-login-submit:hover:not(:disabled),
.tw-login-submit:focus-visible:not(:disabled) {
    background: #e03030;
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(224,48,48,0.6),
        0 0 18px rgba(224,48,48,0.45),
        0 0 36px rgba(224,48,48,0.25);
    outline: none;
}
.tw-login-submit:disabled {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.55);
}

.tw-login-feedback {
    background: rgba(224,48,48,0.08);
    border-left: 3px solid #e03030;
    color: #fff;
}
