/* Zusatzstil für das FUTGAMES-Anmeldefenster. Benutzt die Variablen aus style.css. */
.auth-feedback {
    color: var(--accent);
    font-size: .9rem;
    min-height: 1.4rem;
}

.auth-dialog {
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    margin: auto;
    padding: 30px;
    color: var(--text-main);
    background: #101c16;
    border: 1px solid rgba(120, 255, 178, .24);
    border-radius: 24px;
    box-shadow: 0 22px 90px rgba(0, 0, 0, .7), 0 0 40px rgba(51, 209, 122, .12);
    font-family: Inter, system-ui, sans-serif;
}

.auth-dialog::backdrop {
    background: rgba(1, 6, 3, .82);
    backdrop-filter: blur(8px);
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.auth-brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #33d17a, #8cf3b9);
    color: #07110c;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 0 25px rgba(51, 209, 122, .24);
}
.auth-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}
.auth-close:hover { background: rgba(255, 255, 255, .1); }
.auth-eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .16em;
}
.auth-dialog h2 {
    font-size: clamp(1.7rem, 5vw, 2.1rem);
    font-weight: 800;
    margin: 0 0 8px;
}
.auth-subtitle {
    margin: 0 0 24px;
    color: var(--text-soft);
    font-size: .92rem;
}
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 5px;
    margin-bottom: 22px;
    background: #0a130e;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 13px;
}
.auth-tab {
    border: 0;
    border-radius: 9px;
    padding: 11px;
    background: transparent;
    color: var(--text-soft);
    font-weight: 700;
    cursor: pointer;
}
.auth-tab.active {
    background: #22382b;
    color: #c4ffd9;
}
#authForm label {
    display: block;
    margin: 17px 0 8px;
    color: var(--text-main);
    font-size: .88rem;
    font-weight: 650;
}
#authForm input {
    display: block;
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #304437;
    border-radius: 12px;
    outline: none;
    background: #0a130f;
    color: var(--text-main);
    font: inherit;
}
#authForm input::placeholder { color: #819488; }
#authForm input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(51, 209, 122, .14);
}
.auth-message {
    min-height: 1.4rem;
    margin: 14px 0 8px;
    color: #9cf5bd;
    font-size: .88rem;
}
.auth-message.error { color: #ffadad; }
.auth-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    border-radius: 13px;
    padding: 15px 17px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #041109;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(51, 209, 122, .22);
}
.auth-submit:hover { filter: brightness(1.06); }
.auth-submit:disabled { cursor: wait; opacity: .6; }
.auth-submit span { font-size: 1.2rem; }
.auth-footnote {
    margin: 20px 0 0;
    color: var(--text-soft);
    text-align: center;
    font-size: .74rem;
}
@media (max-width: 480px) {
    .auth-dialog { padding: 22px; border-radius: 20px; }
}
