
/* =========================================
   PREMIUM LOGIN PAGE STYLES
========================================= */
/* =========================================
   0. GLOBAL & BASE STYLES
   ========================================= */
body {
    font-family: 'Poppins', sans-serif; 
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}
a { text-decoration: none; }
.text-teal { color: #009688 !important; }

/* =========================================
   1. MAIN WRAPPER (FINAL SPLIT LAYOUT FIX)
   ========================================= */
.login-wrapper {
    display: flex; 
    flex-direction: row; 
    height: 100vh; /* FINAL FIX: Height is locked to viewport height */
    width: 100%;
    overflow: hidden; /* Prevents whole page from scrolling */
}

/* 2. LEFT SIDE (BRANDING) */
.login-left {
    width: 50%; 
    background: linear-gradient(135deg, #002b26 0%, #004d40 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px; /* Reduced Padding */
    text-align: left;
    height: 100%; /* Occupy full wrapper height */
    overflow-y: auto; /* If content is too long, the left side scrolls itself */
}
.login-left::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255,255,255,0.05) 2px, transparent 2px); background-size: 30px 30px; opacity: 0.6; }
.brand-content-fix { position: relative; z-index: 2; max-width: 500px; }
.login-logo-fixed { position: absolute; top: 40px; left: 40px; z-index: 10; }
.main-logo { height: 50px; width: auto; object-fit: contain; }

/* A. TRUST BADGES LAYOUT */
.trust-badges-container { padding-bottom: 10px; position: relative; z-index: 2; }
.trust-badges-top-row { display: flex; gap: 15px; margin-bottom: 15px; }
.trust-badges-top-row .badge-item { flex: 1 1 0; text-align: center; }
.badge-item { background: rgba(255,255,255,0.1); padding: 10px 15px; border-radius: 30px; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,0.1); }
.badge-highlight { width: 100%; display: flex; justify-content: center; background: #ffeb3b !important; color: #004d40 !important; font-weight: 800 !important; border: 1px solid #ffca28 !important; box-shadow: 0 0 15px rgba(255, 235, 59, 0.5); }

/* 3. RIGHT SIDE (FORM AREA - GENERAL) */
.login-right {
    width: 50%; 
    background: #ffffff;
    display: flex;
    align-items: center; /* Vertically Centered Content */
    justify-content: center;
    padding: 40px;
    height: 100%; /* Occupy full wrapper height */
    overflow-y: auto; /* If form is too long, the right side scrolls itself */
}
.login-form-box { width: 100%; max-width: 420px; }


/* =========================================
   4. INPUT & BUTTONS (UNIVERSAL PREMIUM STYLES)
   ========================================= */
.form-control, .form-floating .form-control { background-color: #f7f9fb !important; border: 2px solid #e0e6ed !important; border-radius: 8px !important; font-weight: 600 !important; color: #333 !important; transition: all 0.3s ease !important; height: auto; }
.form-control:focus, .form-floating .form-control:focus { background-color: #ffffff !important; border-color: #009688 !important; box-shadow: 0 0 0 5px rgba(0, 150, 136, 0.3) !important; }
.form-floating .form-control { height: 50px !important; padding-top: 1.625rem !important; padding-bottom: 0.625rem !important; }
.form-floating label { color: #6c757d !important; font-weight: 500 !important; padding-left: 15px !important; }
.password-toggle { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #999; z-index: 10; }
.btn-login { background: #004d40; color: white; border-radius: 12px; padding: 14px; font-weight: 700; font-size: 16px; border: none; transition: 0.3s; }
.btn-login:hover { background: #002b26 !important; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 77, 64, 0.2); color: #ffffff !important; }
.form-check-input:checked { background-color: #009688 !important; border-color: #009688 !important; }



/* 6. NEWS TICKER (MARQUEE) & MOBILE */
.news-ticker-area { position: fixed; bottom: 0; left: 0; width: 100%; height: 40px; background: #111; color: #fff; display: flex; align-items: center; z-index: 9999; border-top: 2px solid #009688; line-height: 40px !important; font-size: 14px; }
.ticker-label { background: #009688; height: 100%; padding: 0 20px; display: flex; align-items: center; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; z-index: 12; box-shadow: 5px 0 10px rgba(0,0,0,0.5); position: relative; }
.ticker-content { flex-grow: 1; position: relative; height: 100%; line-height: 40px !important; padding-left: 10px; }
.final-ticker-track span { margin: 0 10px !important; padding: 0; font-size: 14px; }
.divider { margin: 0 10px; color: #555; }

/* 7. MOBILE VIEW FIXES (RESPONSIVE) */
@media (max-width: 992px) {
    .login-wrapper { flex-direction: column !important; height: auto !important; }
    .login-left { width: 100% !important; min-height: 300px; padding: 80px 20px 40px 20px !important; height: auto !important; }
    .login-logo-fixed { top: 20px !important; left: 20px !important; }
    .main-logo { height: 40px !important; }
    .login-right { width: 100% !important; padding: 30px 20px 80px 20px !important; min-height: auto; height: auto !important; }
    .login-form-box { max-width: 100%; }
    .registration-form-box { max-width: 100% !important; box-shadow: none; border: none; padding: 20px 0; }
    .ticker-label span { display: none; } 
    .ticker-label { padding: 0 15px; }
    .news-ticker-area { z-index: 99999 !important; } 
}