/* =============================================
   Auth Pages — login, register, password-reset
   Bootstrap-first: only styles Bootstrap 4 can't handle
   ============================================= */

/* Animations */
@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

@keyframes authSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

#registration .sub-heading{
    height: 0;
    border-top: 1px solid #ddd;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
#registration .sub-heading span{
    display: inline-block;
    position: relative;
    padding: 0 17px;
    top: -18px;
    font-size: 16px;
    color: #80838d;
    background-color: #fff;
}
.providerPreLinking{
    margin: 1rem 0;
    
}

#registration .prepend-icon .field-icon {
    top: 0;
    z-index: 4;
    width: 42px;
    height: 36px;
    color: #6c757d;
    line-height: 36px;
    position: absolute;
    text-align: center;
    transition: all .5s ease-out;
    pointer-events: none;
}

/* Brand panel — gradient background (Bootstrap has no gradient utility) */
.auth-brand {
    background: linear-gradient(135deg, #1f2531 0%, #272835 50%, #0c092b 100%);
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.auth-brand h1 {
    animation: authSlideUp 0.5s ease-out;
}

.auth-brand .auth-tagline {
    opacity: 0.7;
    animation: authSlideUp 0.6s ease-out;
}

/* Card — border-radius 1rem (Bootstrap rounded = 0.25rem, too small) */
.auth-card {
    border-radius: 1rem;
    animation: authFadeIn 0.4s ease-out;
}

/* Form control refinement inside auth card */
.auth-card .form-control {
    padding-left: 36px;
    font-size: 14px;
    border-color: #e0e6ed;
    background-color: #f8f9fc;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.auth-card .form-control:focus {
    background-color: #fff;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

/* Password strength meter — replace inline style="max-height:10px;margin-bottom:15px" */
.auth-card .password-strength-meter .progress {
    max-height: 10px;
    margin-bottom: 15px;
}

/* Auth links row */
.auth-links a {
    color: #6c757d;
}

.auth-links a:hover {
    color: #007bff;
}

/* Override card:hover lift effect from custom.css */
.auth-card:hover {
    transform: none !important;
}

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

/* Tablet: brand panel tighter padding */
@media (max-width: 991.98px) {
    .auth-brand {
        padding: 2rem !important;
    }
}

/* Mobile: when brand panel is hidden, give form more breathing room */
@media (max-width: 767.98px) {
    .auth-card {
        border-radius: 0.75rem;
    }
}
