/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
}

/* Login Container */
#loginContainer {
    width: 50%; /* 50% width for left section */
    height: 100%;
    background-color: #000; /* Black background */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Welcome Container */
#welcomeContainer {
    width: 50%; /* 50% width for right section */
    height: 100%;
    background-color: #ededed; /* Light grey background */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo */
.login-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

/* Form Inputs */
form {
    width: 50%; /* Form width relative to container */
    right: 25%;
}

form input[type="text"],
form input[type="password"] {
    width: 100%; /* Full width of the form */
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff; /* White input fields */
    color: #000; /* Black text */
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 14px;
    color: #fff; /* White text */
}

.remember-me input {
    margin-right: 10px;
}

/* Login Button */
form button {
    width: 100%;
    padding: 14px;
    background-color: #004393; 
    color: #fff; 
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

form button:hover {
    background-color:#0064DC;
}

/* Welcome Container Image */
#welcomeContainer img {
    max-width: 80%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        flex-direction: column; /* Stack the two sections vertically */
    }

    #loginContainer, #welcomeContainer {
        width: 100%; /* Full width for both sections */
        height: 50%; /* Half height each */
    }

    #welcomeContainer img {
        max-width: 60%; /* Adjust image size for smaller screens */
    }
}


/* New CSS for the labels, switcher, and password visibility icon */
#loginContainer input {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
}

#loginContainer label {
    display: block;
    margin-bottom: 5px;
    text-align: center;
    font-weight:600;
    font-family: "Poppins", Sans-serif;
    text-transform: uppercase;
}

#loginContainer .eye-icon {
    cursor: pointer;
    position: absolute;
    right: 10px;
    bottom: -17px;
    transform: translateY(-50%);
    color: black;
    height:38px;
    width:auto;
}

#loginContainer .input-container {
    position: relative;
}

#loginContainer .remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom switcher styling */
#loginContainer .switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

#loginContainer .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#loginContainer .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 50px;
}

#loginContainer .slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    border-radius: 50px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

#loginContainer input:checked + .slider {
    background-color: #0064DC;
}

#loginContainer input:checked + .slider:before {
    transform: translateX(14px);
}
