/* login-style.css */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f0f2f5; /* A light, modern background color */
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 900px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Important for the border-radius */
}

.login-branding {
    padding: 40px;
    width: 45%;
    background: linear-gradient(135deg, #0d6efd, #0558ca);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.login-branding h2 {
    font-weight: 700;
    margin-bottom: 10px;
}

.login-branding p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.login-form-container {
    padding: 40px;
    width: 55%;
}

.login-form-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 600;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding-left: 45px; /* Space for the icon */
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.input-group-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none; /* Allows clicks to pass through to the input */
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
}

.btn-login {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-branding {
        display: none; /* Hide the branding column on smaller screens */
    }
    .login-form-container {
        width: 100%;
    }
    .login-card {
        max-width: 450px;
    }
}