/* Modern Login Styles */
body.login-modern-bg {
    background-color: #f3f3f4;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Side - Branding */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #2f4050 0%, #1a202e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../uploads/ESFS_bg.png') center center no-repeat;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.login-left-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.login-left h2 {
    font-size: 3em;
    font-weight: 300;
    margin-bottom: 20px;
}

.login-left p {
    font-size: 1.2em;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

/* Right Side - Form */
.login-right {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    position: relative;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.login-form-box {
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h3 {
    font-size: 2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.login-header p {
    color: #888;
}

.form-control.modern-input {
    height: 50px;
    padding: 10px 20px;
    font-size: 14px;
    background-color: #f9f9f9;
    border: 1px solid #e7eaec;
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 20px;
    transition: all 0.2s ease-in-out;
}

.form-control.modern-input:focus {
    border-color: #1ab394;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(26, 179, 148, 0.1);
}

.btn-modern {
    background-color: #1ab394;
    border-color: #1ab394;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(26, 179, 148, 0.2);
}

.btn-modern:hover,
.btn-modern:focus,
.btn-modern:active {
    background-color: #18a689;
    border-color: #18a689;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(26, 179, 148, 0.3);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #999;
}

.login-footer a {
    color: #1ab394;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        overflow-y: auto;
    }

    .login-left {
        min-height: 200px;
        padding: 30px;
        flex: 0 0 auto;
    }

    .login-left h2 {
        font-size: 2em;
    }

    .login-left p {
        display: none;
        /* Hide descriptions on mobile to save space */
    }

    .login-right {
        padding: 30px;
        flex: 1 0 auto;
    }
}