/* ============================================================
   auth.css – Bejelentkezés és regisztráció oldalak
   ============================================================ */

.auth-page {
    min-height: calc(100vh - var(--header-h) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px var(--page-pad);
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--sh-md);
}

.auth-card--wide { max-width: 600px; }

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-title {
    font-family: var(--fd);
    font-weight: 900;
    font-size: 28px;
    text-transform: uppercase;
    color: var(--text);
    text-align: center;
    margin-bottom: 6px;
}

.auth-sub {
    font-size: 13px;
    color: var(--text-3);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}

.auth-form { display: flex; flex-direction: column; gap: 0; }

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 8px;
}

.auth-forgot {
    font-size: 12px;
    color: var(--gold);
    text-decoration: none;
    transition: var(--t);
}
.auth-forgot:hover { opacity: .75; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-4);
    font-size: 11px;
    font-family: var(--fm);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-switch {
    text-align: center;
    font-size: 13px;
    color: var(--text-3);
}
.auth-switch a { color: var(--gold); font-weight: 600; }

.auth-error {
    background: rgba(192,57,43,.09);
    border: 1px solid rgba(192,57,43,.25);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    font-size: 13px;
    color: var(--red);
    margin-bottom: 16px;
    line-height: 1.5;
}

.auth-success {
    background: rgba(26,122,60,.09);
    border: 1px solid rgba(26,122,60,.25);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    font-size: 13px;
    color: var(--green);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Jelszó mező toggle */
.input-password-wrap {
    position: relative;
}
.input-password-wrap .form-control { padding-right: 42px; }
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-4);
    transition: var(--t);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.password-toggle:hover { color: var(--gold); }

@media (max-width: 520px) {
    .auth-card  { padding: 28px 20px; }
    .auth-form-row { grid-template-columns: 1fr; }
}
