/* hi-impact Portal — Branded Auth Pages (Login, Access Denied) */

.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(160deg, var(--hi-primary) 0%, #171b3c 100%);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card-wrapper {
    width: 100%;
    max-width: 420px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-brand-logo {
    display: block;
    width: 220px;
    max-width: 70%;
    height: auto;
    margin: 0 auto 0.75rem;
}

.auth-brand-title {
    color: var(--hi-white);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
}

.auth-brand-title span {
    color: var(--hi-secondary);
}

.auth-brand-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.auth-card {
    background: var(--hi-white);
    border-radius: 14px;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.auth-card h2 {
    color: var(--hi-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.auth-card .auth-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-card .form-label {
    font-weight: 500;
    color: var(--hi-dark-text);
    font-size: 0.9rem;
}

.auth-card .form-control:focus {
    border-color: var(--hi-secondary);
    box-shadow: 0 0 0 0.2rem rgba(81, 184, 182, 0.25);
}

.btn-hi-primary {
    background-color: var(--hi-primary);
    border-color: var(--hi-primary);
    color: var(--hi-white);
    font-weight: 600;
    padding: 0.6rem 1rem;
}

.btn-hi-primary:hover,
.btn-hi-primary:focus {
    background-color: #1b2044;
    border-color: #1b2044;
    color: var(--hi-white);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #adb5bd;
    font-size: 0.8rem;
    margin: 1.5rem 0 1rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.auth-divider:not(:empty)::before {
    margin-right: 0.75em;
}

.auth-divider:not(:empty)::after {
    margin-left: 0.75em;
}

.btn-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: var(--hi-white);
    color: var(--hi-dark-text);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
    transition: all 0.15s ease;
}

.btn-sso:hover {
    background: #f8f9fa;
    border-color: #ced4da;
}

.btn-sso i {
    font-size: 1.1rem;
}

.btn-sso.btn-google i {
    color: #ea4335;
}

.btn-sso.btn-microsoft i {
    color: #00a4ef;
}

.auth-footer-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    margin-top: 1.5rem;
}

.auth-footer-text a {
    color: rgba(255, 255, 255, 0.75);
}

#ssoComingSoon {
    display: none;
}
