/* ==================== AUTH CONTAINER ==================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--m-bg);
    padding: 20px;
}

/* ==================== AUTH CARD ==================== */
.auth-card {
    background-color: var(--m-surface);
    border-radius: var(--m-radius);
    box-shadow: var(--m-shadow-md);
    border: 1px solid var(--m-border);
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

/* ==================== AUTH HEADER ==================== */
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--m-text);
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

    .auth-logo::before {
        content: 'Q';
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--m-accent) 0%, var(--m-accent-hover) 100%);
        box-shadow: 0 4px 10px rgba(var(--m-accent-rgb), .35), inset 0 1px 0 rgba(255, 255, 255, .2);
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 0;
        flex-shrink: 0;
    }

.auth-welcome {
    font-size: 0.95rem;
    color: var(--m-text-muted);
    margin: 0;
}

/* ==================== AUTH FORM ==================== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==================== GOOGLE BUTTON ==================== */
.auth-google-btn {
    width: 100%;
    height: 44px;
    background-color: var(--m-surface);
    border: 1px solid var(--m-border);
    border-radius: var(--m-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--m-text);
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
}

    .auth-google-btn:hover {
        background-color: var(--m-surface-2);
        border-color: var(--m-text-faint);
    }

.auth-google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==================== DIVIDER ==================== */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 8px 0;
}

    .auth-divider::before,
    .auth-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid var(--m-border);
    }

    .auth-divider span {
        padding: 0 12px;
        font-size: 0.85rem;
        color: var(--m-text-muted);
    }

/* ==================== AUTH LINK ==================== */
.auth-link {
    font-size: 0.85rem;
    color: var(--m-text-muted);
    text-decoration: none;
    align-self: flex-end;
    margin-top: -4px;
}

    .auth-link:hover {
        color: var(--m-text);
        text-decoration: underline;
    }

/* ==================== AUTH FOOTER ==================== */
.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--m-text-muted);
    margin-top: 8px;
}

    .auth-footer a {
        color: var(--m-text);
        text-decoration: none;
        font-weight: 500;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

/* ==================== FORGOT PASSWORD INSTRUCTION ==================== */
.auth-instruction {
    font-size: 0.9rem;
    color: var(--m-text-muted);
    text-align: center;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 24px;
    }

    .auth-header {
        margin-bottom: 28px;
    }

    .auth-logo {
        font-size: 1.75rem;
    }

    .auth-welcome {
        font-size: 0.9rem;
    }

    .auth-form {
        gap: 14px;
    }
}