/* 📄 CUSTOM LOGIN STYLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Outfit:wght@400;700&display=swap');

:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Split Screen Layout */
.login-split-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Branding Side */
.branding-side {
    flex: 1.2;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.branding-side::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.branding-content {
    z-index: 2;
    max-width: 500px;
    text-align: center;
}

.branding-logo {
    width: 180px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
    /* Make it white for the dark bg */
}

.branding-side h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.branding-side p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Right Login Side */
.login-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
}

.login-card-head {
    text-align: center;
    margin-bottom: 32px;
}

.login-card-head .mobile-logo {
    display: none;
    width: 140px;
    margin-bottom: 20px;
}

.login-card-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.login-card-head p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.password-input-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.password-input-wrapper .form-control {
    padding-right: 48px !important;
}

/* Force the eye icon inside the input */
.password-input-wrapper .toggle-password {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 8px !important;
    margin: 0 !important;
    height: auto !important;
    width: auto !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.password-input-wrapper .toggle-password:hover {
    color: var(--primary) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.password-input-wrapper .toggle-password:focus {
    outline: none !important;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 12px;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .branding-side {
        display: none;
    }

    .login-card-head .mobile-logo {
        display: inline-block;
    }

    .login-side {
        flex: 1;
        padding: 20px;
    }
}

/* 🤐 HIDE UNWANTED FOOTER ELEMENTS (WHITE-LABELING) */
.web-footer .footer-logo-extension .col-md-6.text-right,
#footer-subscribe-email,
#footer-subscribe-button,
.input-group:has(#footer-subscribe-email) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}