/* ============================================================
   AUTH PAGES (sign in / forgot / reset) — modern glassy card
   matching the site-wide theme (gold #c19114 on dark, Inter).
   ============================================================ */
.stream-auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 130px 20px 80px;
    overflow: hidden;

    .overlay {
        filter: blur(20px) opacity(0.5);
    }
}

.auth-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: rgba(12, 13, 16, 0.88);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 40px 36px;
    border-radius: 18px;
    box-shadow: 0 34px 70px -28px rgba(0, 0, 0, 0.95);
    color: #fff;
    z-index: 2;
}

/* gold/blue hairline along the card top, echoing the header */
.auth-container::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(193, 145, 20, 0.6), rgba(47, 80, 111, 0.6), transparent);
    pointer-events: none;
}

.auth-title {
    position: relative;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.015em;
    padding-left: 16px;
    margin-bottom: 8px;
}

.auth-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, #c19114 0%, #2f506f 100%);
}

.auth-subtitle {
    color: #b3b3b3;
    font-size: 0.95em;
    padding-left: 16px;
    margin-bottom: 28px;
}

.auth-group {
    margin-bottom: 18px;
}

.auth-group label {
    display: block;
    margin-bottom: 7px;
    color: #ddd;
    font-size: 0.82em;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.auth-group input {
    width: 100%;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95em;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.auth-group input:focus {
    border-color: #c19114;
    background: rgba(255, 255, 255, 0.08);
}

.auth-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-btn {
    width: 100%;
    margin-top: 8px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.auth-links a {
    color: #b3b3b3;
    font-size: 0.9em;
    text-decoration: none;
    transition: color .2s ease;
}

.auth-links a:hover {
    color: #c19114;
}

.auth-error {
    margin-top: 12px;
    color: #ff4c4c;

    a {
        color: #fff;
    }
}

/* ── Mobile: compact top/bottom space ── */
@media screen and (max-width: 768px) {
    .stream-auth-page {
        min-height: 0;
        padding: 100px 5% 150px;
        margin-bottom: 0;
        font-size: .95em;
    }

    .auth-container {
        padding: 30px 22px;
        border-radius: 16px;
    }
}
