/* Root Variables */
:root {
    --background: #282d41;
    --light: #c4e6e8;
    --middle: #c4e6e8;
    --middle-to-dark: #3f678b;
    --darker: #6a6664;
    --errors: #9B111E;
    --module-background: #323a51;
    --font-color: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


  /*--
Author: W3layouts
Author URL: http://w3layouts.com
--*/
/* reset code */
html {
    scroll-behavior: smooth;
}

.login-logo {
    position: relative; /* Context for pseudo-element */
    width: 150px; /* or any size that fits your needs */
    height: auto; /* maintains the aspect ratio */
    display: block; /* for block level placement */
    margin: 0 auto; /* for centering the image if needed */
    filter: invert(25%) sepia(16%) saturate(4%) hue-rotate(275deg) brightness(90%) contrast(90%);
}

    .login-logo::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5; /* Adjust opacity to desired overlay strength */
        z-index: 1;
    }

.login-logo {
    width: 150px; /* or any size that fits your needs */
    height: auto; /* maintains the aspect ratio */
    display: block; /* for block level placement */
    margin: 0 auto; /* for centering the image if needed */
}

body,
html {
    margin: 0;
    padding: 0;
    color: var(--middle);
}

* {
    box-sizing: border-box;
    font-family: var(--font-family);
}

/*  wrapper */
.wrapper {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .wrapper {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .wrapper {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .wrapper {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .wrapper {
        max-width: 1140px;
    }
}

/*  /wrapper */

.d-grid {
    display: grid;
}

button,
input,
select {
    -webkit-appearance: none;
    outline: none;
}

button,
.btn,
select {
    cursor: pointer;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

.w3l-login-form #form-section {
    background: url(../images/UpdatedBackground.png) no-repeat center fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -ms-background-size: cover;
    position: relative;
    display: grid;
    align-items: center;
    min-height: 100vh;
    padding: 15px 0;
}

.form-fields {
    grid-template-columns: 1fr 1fr;
}

.w3l-login-form #form-section:before {
    content: "";
    background: rgba(0, 0, 0, 0.45);
    position: absolute;
    top: 0;
    min-height: 100%;
    left: 0;
    right: 0;
    z-index: -1;
}

.w3l-login-form .logo {
    text-align: center;
    margin-bottom: 40px;
}

.w3l-login-form .logo a {
    font-size: 36px;
    line-height: 40px;
    font-weight: bold;
}

.w3l-login-form .login-form {
    background: #fff;
    max-width: 600px;
    margin: 0px auto;
    box-shadow: 0px 9px 24px 5px rgba(0, 0, 0, 0.04);
}

.w3l-login-form .login-form form input[type="text"],
.w3l-login-form .login-form form input[type="email"],
.w3l-login-form .login-form form input[type="password"] {
    -webkit-appearance: none;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #777777;
    border: none;
    width: 100%;
    background-color: rgba(88, 83, 152, 0.03);
    padding: 24px;
}

.w3l-login-form .login-form form input[type="text"] {
    border-right: 1px solid #e8e8e8;
}

.w3l-login-form .login-form form input[type="text"]:focus,
.w3l-login-form .login-form form input[type="email"]:focus,
.w3l-login-form .login-form form input[type="password"]:focus {
    outline: none;
    background-color: #fff;
    box-shadow: none;
}

    .w3l-login-form .login-form form button {
        -webkit-appearance: none;
        font-size: 14px;
        line-height: 25px;
        text-align: center;
        color: #ffffff;
        background: var(--darker);
        height: 55px;
        border: none;
        display: block;
        cursor: pointer;
        width: 100%;
        font-weight: bold;
        text-transform: uppercase;
        opacity: 0.9;
        transition: 0.3s ease-in-out;
    }

        .w3l-login-form .login-form form button:hover {
            background: var(--darker);
            transition: 0.3s ease-in-out;
            opacity: 1;
        }

.w3l-login-form .login-form form button:focus {
    outline: none;
}

/*  copyright */
.copy-right {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 45px;
    font-weight: bold;
    font-family: var(--font-family);
}

    .copy-right p {
        color: black;
        font-size: 18px;
        line-height: 22px;
        text-align: center;
        padding: 0 15px;
    }

        .copy-right p a {
            color: black;
            font-size: 18px;
            font-weight: bold;
            text-decoration: underline;
        }

.copy-right p a:hover {
    text-decoration: none;
}

/*  /copyright */

.error-message {
    margin-top: 10px;
    font-weight: bold;
    color: var(--errors);
    text-align: center; /* Align the text in the center */
}

    .error-message ul {
        list-style-type: none; /* Remove bullet points */
        padding: 0; /* Remove default padding */
        margin: 0; /* Remove default margin */
    }

    .error-message li {
        font-weight: bold;
        color: black;
    }


.brand-logo {
    color: #656160;
}

@media (max-width: 767px) {
    .copy-right {
        bottom: 5px;
    }

    .login-form {
        max-width: 300px !important;
    }
}

@media (max-width: 500px) {
    .form-fields {
        grid-template-columns: 1fr;
    }
    .login-form {
        max-width: 200px !important;
    }

    .w3l-login-form .login-form form input[type="text"] {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }
}

@media (max-height: 1060px) {
    .form-fields {
        grid-template-columns: 1fr; /* Stack the fields vertically */
    }
    .login-form{
        max-width:400px !important;
    }

    .w3l-login-form .login-form form input[type="text"],
    .w3l-login-form .login-form form input[type="email"],
    .w3l-login-form .login-form form input[type="password"] {
        border-bottom: 1px solid #e8e8e8; /* Add a bottom border for separation */
        border-right: none; /* Remove right border */
    }

    .w3l-login-form .login-form form button {
        margin-top: 15px; /* Add space between buttons */
    }
}

@media (max-width: 500px) {
    .form-fields {
        grid-template-columns: 1fr; /* Ensure stacking on smaller screens */
    }

    .w3l-login-form .login-form form input[type="text"] {
        border-right: none;
    }
}

