/* Training Database — sign-in, forgotten and reset password pages (includes/auth_page_layout.php).
   Moved out of an inline <style> block in MAINT-12 stage 6 (2026-09-30); linked at the
   block's old position, so the cascade order is unchanged. */

:root {
    --bg: #070a14;
    --bg-2: #0b1020;
    --surface: #10172b;
    --surface-2: #151d35;
    --line: rgba(148, 163, 184, 0.14);
    --line-strong: rgba(148, 163, 184, 0.26);
    --text: #e8ecf6;
    --text-2: #a5b0c8;
    --text-3: #7d89a5;
    --magenta: #ff2e93;
    --violet: #7c5cff;
    --blue: #3b82f6;
    --cyan: #22d3ee;
    --grad-btn: linear-gradient(135deg, #ff2e93 0%, #7c5cff 100%);
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: dark;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
.login-page {
    position: relative;
    background-color: #070a14;
    min-height: 100vh;
    isolation: isolate;
    overflow-x: hidden;
}
.hero-glow {
    position: absolute;
    inset: -120px 0 auto 0;
    height: 900px;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(600px 380px at 78% 30%, rgba(124, 92, 255, 0.28), transparent 70%),
        radial-gradient(520px 360px at 95% 60%, rgba(34, 211, 238, 0.14), transparent 70%),
        radial-gradient(520px 420px at 10% 10%, rgba(255, 46, 147, 0.18), transparent 70%);
}
.login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 20%, transparent 75%);
    opacity: 0.45;
}
.login-card {
    background: rgba(16, 23, 43, 0.85);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75), 0 0 60px -20px rgba(124, 92, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.login-input {
    background: #0b1020;
    border: 1px solid var(--line);
    color: #e8ecf6;
    transition: all 0.2s ease;
}
.login-input:hover {
    border-color: rgba(148, 163, 184, 0.4);
}
.login-input:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}
.btn-welcome {
    background: var(--grad-btn);
    box-shadow: 0 10px 30px -10px rgba(255, 46, 147, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
    cursor: pointer;
}
.btn-welcome:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px -10px rgba(255, 46, 147, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-welcome:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.callout-card {
    background: rgba(16, 23, 43, 0.65);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.6);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.callout-card:hover {
    border-color: rgba(34, 211, 238, 0.45);
}
.brand-title {
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.025em;
}
