﻿body {
    font-family: 'Inter';
    margin: 0;
    padding: 0;
    background: linear-gradient( rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5) ), url('/img/loginBackground.jpg');
    background-size: cover;
    background-position-y: 83%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: lightslategrey;
    opacity: 0.1;
    z-index: 1;
}
    
.container {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 1400px; /* Control max width for wide screens */
    padding: 0 100px; /* Padding to add space on the sides */
    gap: 50px; /* Add space between the left and right containers */
    position: relative;
    z-index: 2;
}

.left-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
    padding: 20px;
    justify-content: start;

}

.right-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    padding: 20px;
    margin-top: 6rem;
}

.login-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 35px;
    max-width: 430px;
    width: 100%;
    text-align: left;
}

.loginTxt {
    display: flex;
    justify-content: space-between;
}

.login {
    color: black;
    font-weight: 600;
    font-size: 18px;
}

.accLink {
   justify-content: end;
   font-size: 13px;
}

a.accLink {
    color: #015EB3 !important;
}

.img-container {
    top: -3rem;
    left: 20px;
    z-index: 5;
    display: flex;
    flex: 1;
    width: 100%;
    padding: 0 100px; /* Padding to add space on the sides */
    position: relative;
    z-index: 2;
}

.img-container img {
    margin-left: 0 !important;
    max-width: 25%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

h2 {
    margin-top: 0;
    font-weight: 700;
    font-size: 50px;
}

.left-container h2 {
    color: white;
}

.txtDesc {
   font-size: 15px;
}

.login-box h2 {
    color: black;
}

.login-box a {
    color: black;
}

.control-label {
    color: #808080;
    font-size: 13px;
}

input::placeholder {
    color: black !important;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="checkbox"] {
    margin-right: 5px;
    vertical-align: middle;
}

label {
    color: black;
}

button {
    background-color: #015EB3;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}

.submitButton {
    margin-bottom: 5px;
    margin-top: 15px;
}

a {
    display: inline;
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: underline;
    color: #ddd;
}

.footer-links {
    text-align: center;
    color: white;
    position: fixed;
    bottom: 20px;
}

.footer-links a {
    color: white;
    padding-left: 20px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 10px; /* Smaller gap for mobile */
    }

    h2 {
        font-size: 20px;
    }

    .txtDesc {
        font-size: 12px;
    }

    .left-container, .right-container {
        width: 100%;
        padding: 10px;
        text-align: left;
    }

    .right-container  {
        margin-top: 0rem;
    }

    .login-box {
        padding: 30px;
        min-height: 300px;
        font-size: 12px;
    }

    input[type="text"], input[type="password"] {
        padding: 10px;
        margin: 8px 0;
    }

    button {
        padding: 10px 15px;
    }
}
