﻿@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --text-primary: #333;
    --input-bg: #ffffff;
    --border-color: #ced4da;
    --form-label-bg: #fff;
    --label-text-primary: #576065;
}

html,
body {
    /*    font-family: "Poppins", sans-serif !important;*/
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #4a4a69;
    background-color: #4a4a69;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    /* background-image: url('../../images/login-bg.jpg'); */
    background-image: url('../../images/new-login.svg');
    background-repeat: no-repeat;
    height: 100%;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px !important;
}

input {
    text-align: left;
}

.login-page-wrap {
    /*background-image: url('../../images/login-bg.jpg');*/
    background-repeat: no-repeat;
    /*height: 100vh;*/
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
/* .container-fluid{
    background-image: url('../../images/new-login.svg');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
} */

.login-box {
    border-radius: 16px;
    /* background-color: rgb(0 0 0 / 20%); */
    background-color: #fff;
    padding: 30px 40px;
    /* max-width: 446px; */
    max-width: 450px;
    width: 100%;
    margin: 25px;
    border: 1px solid rgb(99 99 99 / 95%);
}

.login-box .logo {
    width: 70px;
    margin: auto;
    background: rgb(231 231 231 / 20%);
    text-align: center;
    padding: 12px;
    border-radius: 40px;
    height: 69px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgb(255 255 255 / 16%);
}

.login-box .logo img {
    width: 100%;
    margin-bottom: 0;
}

.login-box h2 {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #1E2028;
    /* margin: 0; */
    margin: 20px 0px 30px;
    transition: color 0.3s ease;
    /* margin-bottom: 40px; */
}

.login-box h2 small {
    font-size: 16px;
    font-weight: 400;
    margin-top: 8px;
    text-transform: uppercase;
    display: block;
}

.input-container {
    position: relative;
    margin-bottom: 30px;
}

.input-container .form-label {
    /* padding: 0; */
    padding: 0px 2px;
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    z-index: 2;
    top: -5px;
    left: 10px;
    background: #fff;
    line-height: 10px;
    color: #4F5253;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.input-container .form-control {
    font-size: 18px;
    /* color: #ffffff; */
    color: #1A3449;
    font-weight: 500;
    border-radius: .50rem;
    border-color: var(--border-color);
    transition: all 0.3s ease;
    appearance: none;
    box-sizing: border-box;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid rgb(95 108 136);
    /* -webkit-text-fill-color: #fff; */
    -webkit-text-fill-color: #1A3449;
    /* -webkit-box-shadow: 0 0 0px 1000px rgb(68 83 114) inset; */
    -webkit-box-shadow: 0 0 0px 1000px rgb(255 255 255) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.login-page-wrap .checkbox {
    padding: 0px;
    align-items: center;
}

.checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.submit-btn {
    font-size: 16px;
    padding: 10px 20px;
    color: #fff;
    background-color: #0051bf;
    border: 1px solid #0051bf;
    position: relative;
    display: block;
    width: 100%;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 30px;
    min-width: 80px;
    text-align: center;
}
.outline-btn {
    font-size: 16px;
    padding: 10px 20px;
    color: #6C6C6C;
    background-color: transparent;
    border: 1px solid #DEDEDE;
    width: 100%;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 30px;
    min-width: 80px;
    text-align: center;
}

.checkbox [type=checkbox] {
    display: inline-block;
    margin: 0;
    width: 18px;
    height: 18px;
}

.forgot-password {
    text-align: center;
}

.forgot-password a {
    font-size: 16px;
    font-weight: 600;
    color: #0062E7;
    text-decoration: none;
}

.error,
.error-message {
    font-size: 14px;
    color: #D92632 !important;
}

.error {
    display: none;
}

.error.field-validation-error {
    display: block;
}

span.field-validation-error {
    display: block !important;
}

.input-container .password-reveal {
    cursor: pointer;
    background-color: transparent;
    padding: 0;
    border: none;
    position: absolute;
    right: 12px;
    top: 25%;
}

.d-none {
    display: none;
}

.hidden {
    display: none !important;
}

.input-addon {
    display: flex;
    position: relative;
}

.input-addon .form-control {
   padding: 12px 32px 12px 20px;
}

.input-addon svg {
    width: 20px;
}

label {
    font-size: 16px;
    color: #6C6C6C;
    font-weight: 500;
}

.form-options-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo-container{
    margin-bottom: 40px;
}
.logo-container img{
    width: 160px;
}
.error-container{
    background-color: #FCEEEF;
    border: 1px solid #D92632;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
}
/* responsive css */
@media (max-width: 576px) {
    .logo-container img {
        width: 130px;
    }

    .login-box {
        padding: 20px;
        margin: 16px;
    }

    .login-box h2 {
        font-size: 24px;
    }
    .checkbox label{
        font-size: 14px;
    }
    .forgot-password a {
    font-size: 14px;
}
}
/* Password toggle icon styles */
.password-input-wrapper {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 18px;
    z-index: 10;
}

    .password-toggle-icon:hover {
        color: #495057;
    }

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.form-text.text-muted {
    font-size: 0.875rem;
    color: #b8b8b8 !important;
    margin-top: 5px;
    display: block;
}