/* ============================================================
   Moneta — Shared auth page styling (login, register,
   forgot-password). Standalone: does not depend on style.css.
   ============================================================ */
:root {
    --brand-primary:    #1B4332;
    --brand-cta:        #1B4332;
    --brand-cta-hover:  #2D6A4F;
    --brand-cta-soft:   rgba(27,67,50,0.18);
    --brand-cta-shadow: rgba(27,67,50,0.32);
    --bg-from:          #0B2118;
    --bg-to:            #1B4332;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-from) 0%, var(--bg-to) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow-x: hidden;
    color: #1e293b;
}

body::before, body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(20px);
}
body::before {
    top: -180px; right: -180px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, #40916C 0%, transparent 70%);
    opacity: 0.20;
}
body::after {
    bottom: -180px; left: -180px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    opacity: 0.32;
}

.auth-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 22px;
    padding: 44px 38px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 28px 80px rgba(0,0,0,0.32);
}

.auth-brand { text-align: center; margin-bottom: 32px; }
.auth-logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: #D4A843;
    letter-spacing: 0.18em;
    line-height: 1;
}
.auth-logo-sub {
    font-size: 0.62rem;
    font-weight: 700;
    color: #D4A843;
    letter-spacing: 0.34em;
    margin-top: 4px;
}
.auth-tagline {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}
.auth-trial-note {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
}

.form-label.small {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
}
.form-control {
    border-radius: 11px;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
    border-color: var(--brand-cta);
    box-shadow: 0 0 0 3px var(--brand-cta-soft);
    outline: none;
}

.btn-auth {
    width: 100%;
    background: var(--brand-cta);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 6px 20px var(--brand-cta-shadow);
}
.btn-auth:hover {
    background: var(--brand-cta-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--brand-cta-shadow);
}

.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 4px;
    font-size: 0.82rem;
}
.auth-row a { color: #64748b; text-decoration: none; transition: color 0.15s; }
.auth-row a:hover { color: var(--brand-cta-hover); }

.auth-foot {
    text-align: center;
    margin-top: 26px;
    font-size: 0.85rem;
    color: #64748b;
}
.auth-foot a {
    color: var(--brand-cta);
    font-weight: 700;
    text-decoration: none;
}
.auth-foot a:hover { color: var(--brand-cta-hover); }

.alert {
    border-radius: 10px;
    border: none;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 0.85rem;
}
.alert-danger { background: #fef2f2; color: #b91c1c; }
.alert-success { background: #f0fdf4; color: #166534; }
