/* =========================================================
   BtSh – Auth Pages (Login / Forgot / Reset)
   Shared Enterprise CSS
========================================================= */

:root {
    --bg: #f4f6fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --danger: #dc2626;
    --success: #16a34a;
    --radius: 14px;
    --shadow: 0 24px 48px rgba(0, 0, 0, .08);
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
}

/* ===== Layout ===== */

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ===== Brand Panel ===== */

.auth-brand {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #ffffff;
    padding: 56px;
    display: flex;
    align-items: center;
}

.auth-brand-inner {
    max-width: 420px;
}

.btsh-auth-logo img {
    width: 120px;
    margin-bottom: 24px;
}

.auth-brand h2 {
    margin-bottom: 12px;
}

.auth-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.85;
}

/* ===== Form Panel ===== */

.auth-form {
    background: var(--card);
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -14px 0 40px rgba(0, 0, 0, .05);
}

.auth-form h1 {
    margin-bottom: 6px;
}

.auth-sub {
    color: var(--muted);
    margin-bottom: 28px;
}

/* ===== Inputs ===== */

label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 18px;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

/* ===== Buttons ===== */

.btn-primary {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* ===== Messages ===== */

.auth-message {
    margin-top: 18px;
    font-size: 14px;
    min-height: 18px;
}

.auth-message.error {
    color: var(--danger);
}

.auth-message.success {
    color: var(--success);
}

/* ===== Footer links ===== */

.auth-alt {
    margin-top: 22px;
    font-size: 14px;
    color: var(--muted);
}

.auth-alt a {
    color: var(--primary);
    text-decoration: none;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand {
        display: none;
    }

    .auth-form {
        box-shadow: none;
        padding: 48px 24px;
    }
}