﻿/* ─────────────────────────────────────────────────────────
   BlackStore — Auth CSS
   Covers: Login, Register, AccessDenied
   ───────────────────────────────────────────────────────── */

.auth-wrap {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

/* ── CARD ───────────────────────────────────────────────── */
.auth-card {
    background: #fff;
    border: 0.5px solid #e8e8ed;
    border-radius: 18px;
    padding: 36px 40px 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

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

/* ── LOGO ───────────────────────────────────────────────── */
.auth-card__logo {
    text-align: center;
    margin-bottom: 24px;
}

.auth-card__logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.3px;
}

    .auth-card__logo-text span {
        color: #0071e3;
    }

/* ── HEADINGS ───────────────────────────────────────────── */
.auth-card__title {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.3px;
    text-align: center;
    margin-bottom: 6px;
}

.auth-card__sub {
    font-size: 13.5px;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 24px;
}

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

/* ── ERROR SUMMARY ──────────────────────────────────────── */
.auth-error {
    background: #fff2f2;
    border: 0.5px solid #ffcdd2;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #cf222e;
}

    .auth-error:empty {
        display: none;
    }

/* ── REMEMBER ME ────────────────────────────────────────── */
.auth-remember {
    display: flex;
    align-items: center;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #3a3a3c;
    cursor: pointer;
    user-select: none;
}

    .auth-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: #0071e3;
        cursor: pointer;
    }

/* ── SUBMIT BUTTON ──────────────────────────────────────── */
/* Override Bootstrap defaults completely */
.auth-submit {
    margin-top: 4px;
    padding: 12px 18px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    background: #0071e3 !important;
    color: #fff !important;
    border: none !important;
    width: 100% !important;
    display: block !important;
    cursor: pointer !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    transition: background 0.15s !important;
    text-decoration: none !important;
}

    .auth-submit:hover {
        background: #0077ed !important;
        color: #fff !important;
        text-decoration: none !important;
    }

    .auth-submit:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.3) !important;
    }

/* ── DIVIDER ────────────────────────────────────────────── */
.auth-card__divider {
    height: 0.5px;
    background: #f0f0f0;
    margin: 24px 0 20px;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.auth-card__footer {
    font-size: 13px;
    color: #6e6e73;
    text-align: center;
    margin: 0;
}

.auth-card__footer-link {
    color: #0071e3;
    text-decoration: none;
    font-weight: 500;
}

    .auth-card__footer-link:hover {
        text-decoration: underline;
    }

/* ── ACCESS DENIED ──────────────────────────────────────── */
.auth-denied__icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px 24px;
        border-radius: 14px;
    }
}
