/* ====================================
   AUTH / LOGIN PAGE STYLES
   PRISM Insurance Brokers Limited
   Background gradient: Navy → mid-navy
   ==================================== */

body {
    background: linear-gradient(135deg, var(--primary-color) 0%, #153370 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family), sans-serif;
}

.login-container {
    min-width: 500px;
}

.login-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hard);
    overflow: hidden;
}

/* ── Login Header — Navy + Gold accent ── */
.login-header {
    background: var(--primary-color);              /* Navy */
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);  /* Gold bottom border */
}

.login-header .logo {
    font-family: var(--font-family-serif), serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.login-header .logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.login-header .tagline {
    font-size: 0.8rem;
    color: var(--accent-color);                    /* Gold tagline */
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
}

/* ── Login Body ── */
.login-body {
    padding: 2rem 1.5rem;
}

/* ── Form focus override (blue focus ring) ── */
.form-control:focus {
    border-color: var(--secondary-color);          /* PRISM blue */
    box-shadow: 0 0 0 3px rgba(26, 79, 214, 0.15);
}

/* ── Links ── */
.link-primary {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
    font-weight: 600;
}
.link-primary:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* ── Divider ── */
.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}
.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}
.divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ── Password Strength Colors ── */
#strengthProgress {
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* ── Submit Button (Gold CTA) ── */
.btn-login {
    background: var(--accent-color);               /* Gold CTA */
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    letter-spacing: 0.04em;
}
.btn-login:hover {
    background: #e0b55c;
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .login-container {
        min-width: unset;
        width: 95%;
    }
}
