@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");

:root {
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

* {
    font-family: var(--bs-font-sans-serif);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h2 {
    color: #1e2022;
    font-size: 32px;
    font-weight: 500;
    padding-bottom: 15px;
}

.head h2 {
    padding-bottom: 20px;
}

h2>a {
    font-weight: 700;
    text-decoration: none !important;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.input-field {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    margin-bottom: 20px;
}

.icon-log {
    position: absolute;
    top: 14px;
    left: 10px;
    background-color: transparent !important;
    color: #007bff;
    border: none;
    z-index: 10;
    font-size: 20px;
}

.icon-log:nth-child(3) {
    right: 10px !important;
    left: auto !important;
}

main#login-form-data,
#forgot-form-data,
#reset-form-data {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-control {
    display: block;
    width: 100%;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #1e2022;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #eeeeff;
    border-radius: 0;
    height: 50px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #0d6efd;
    outline: 0;
}

/* Placeholder styling */
.form-control::placeholder {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.col {
    padding: 20px;
    width: 80%;
}

.container {
    width: 100%;
    padding: 0px 45px;
    margin: auto;

}

.row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

#login-bg-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    top: 0;
    right: 0;
    background-image: url("../images/HRMS_Bg.jpg");
    background-size: cover;
    background-position: center;
}

#login-bg-side .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.3);
}

#forgot-bg-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    top: 0;
    right: 0;
    background-image: url("../images/HRMS_Bg.jpg");
    background-size: cover;
    background-position: center;
}

#forgot-bg-side .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.3);
}

#reset-bg-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    top: 0;
    right: 0;
    background-image: url("../images/background1.jpg");
    background-size: cover;
    background-position: center;
}

#reset-bg-side .overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.3);
}

.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 8px 25px;
    font-size: 14px;
    border-radius: 5px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.form-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo-icon img {
    width: 100%;
    max-width: 40px;
}

.forgot-pass {
    font-size: 14px;
    line-height: 24px;
}

p {
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    padding-bottom: 10px;
}

.far {
    cursor: pointer;
}

.error {
    border-bottom: 1px solid red;
}

.footer-text p {
    padding-top: 40px;
    text-align: center;
}

@media screen and (max-width:991px) {

    div#login-bg-side,
    #forgot-bg-side,
    #reset-bg-side {
        display: none;
    }

    .container {
        padding: 0px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 12px;
        line-height: 22px;
        text-align: left;
    }

    .footer-text p {
        padding-top: 20px;
    }
}

.alert {
    position: fixed;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 99999;
    color: #fff;
    font-size: 1.2rem;
    width: 100%;
    max-width: 100%;
    font-weight: 400;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 1.6rem 1rem;
    -webkit-box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.25);
}

.alert--success {
    background-color: #20bf6b;
}

.alert--error {
    background-color: #eb4d4b;
}



/* HTML: <div class="loader"></div> */
.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    cursor: pointer;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    z-index: 999;
    position: absolute;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    right: 50%;
    top: 50%;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-bottom-color: #FF3D00;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}