@font-face {
    font-family: 'cairo';
    src: url(/Templates/assets/fonts/Cairo-Regular.ttf), local('Cairo-Regular'), format('ttf');
    font-display: swap;
    font-weight: 100 400;
}

@font-face {
    font-family: 'cairo';
    src: url(/Templates/assets/fonts/Cairo-Medium.ttf), local('Cairo-Regular'), format('ttf');
    font-display: swap;
    font-weight: 500;
}

@font-face {
    font-family: 'cairo';
    src: url(/Templates/assets/fonts/Cairo-SemiBold.ttf), local('Cairo-SemiBold'), format('ttf');
    font-display: swap;
    font-weight: 600;
}

@font-face {
    font-family: 'cairo';
    src: url(/Templates/assets/fonts/Cairo-Bold.ttf), local('Cairo-Bold'), format('ttf');
    font-display: swap;
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'cairo';
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'cairo';
/*    overflow: hidden;*/
    backdrop-filter: blur(40px) !important;
    background: #ffffffaa !important;
    box-shadow: 0px 0px 30px 0px #D0FFFF4D !important;
}

.login-page {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: row-reverse;
    background-image: url(/Templates/assets/images/diwan-bg.png);
    background-repeat: no-repeat;
    /* background-position: center 0%; */
    background-position: 85% 0%;
    background-size: cover;
}

.login-wrapper {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 130px; */
    padding: 6rem;
    margin-inline: 12% auto;
}

.login-box {
    width: 100%;
    min-width: 368px;
    max-width: 543px;
    padding: 16px 32px;
    border-radius: 40px;
    backdrop-filter: blur(40px);
    /* background: #ffffffaa; */
    background-color: transparent;
          box-shadow: 0px 0px 30px 0px #D0FFFF4D;
/*    box-shadow: 0px 0px 30px 0px #e2e3e64d !important;*/
    display: flex;
    flex-direction: column;
    gap: 8px;
}
    .login-box form {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .login-box .form-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 0px;
    }
.logo img {
    width: 172px;
    height: 172px;
    display: block;
    margin: auto;
}

.label {
    font-weight: 600;
    font-size: 16px;
    text-align: right;
    color: #000;
    font-family: 'cairo';
    margin-bottom: 4px;
}

.input {
    height: 48px;
    width: 100%;
    padding: 8px 24px;
    border-radius: 12px;
    border: 2px solid #D8D3FF1A;
    background: #0000000D;
    font-size: 15px;
    outline: none;
    font-family: 'cairo';
}

    .input:focus {
        outline: none;
        /* box-shadow: 0 0 0 2px #122241; */
        box-shadow: inset 0 0 2px 5px #ffffffaa;
        border: 2px solid #122241;
    }

.password-wrap {
    position: relative;
}

.show-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-wrap {
    position: relative;
}

    .password-wrap .show-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
    }


        .password-wrap .show-icon img {
            width: 20px;
            height: 20px;
            display: block;
            filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) opacity(50%);
        }

.forgot {
    color: #56596D;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    font-family: "cairo";
}
    .forgot:hover {
        color: #56596D;
    }
.login-btn {
    height: 54px;
    width: 100%;
    border-radius: 12px;
    background: #0E1A31;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    font-family: "cairo";
}

.footer-logo {
    width: 50px;
    height: 34px;
}

.footer-text {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #000000B2;
    font-family: "cairo";
    margin-bottom: 0;
}

.login-meta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    font-family: 'cairo';
    font-weight: 600;
    font-size: 12px;
    padding-block: 8px;
}


.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "cairo";
    font-size: 14px;
    color: #000000B2;
    cursor: pointer;
    margin-bottom: 0px;
}

    .remember-me input {
        margin: 0;
    }

        .remember-me input[type="checkbox"] {
            background: #0E1A31;
            cursor: pointer;
            accent-color: #0E1A31;
            width: 14px;
            height: 14px;
        }

.text-danger {
    height: 14px;
    line-height: 1.3;
    font-family: cairo;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: inline-block;
    color: #C74848 !important;
    text-align: start;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: inset 0 0 2px 5px #ffffffaa !important;
/*    box-shadow: 0 0 0 1000px #f2f2f2 inset !important;*/
    box-shadow: inset 0 0 2px 5px #ffffffaa;
    -webkit-text-fill-color: #000 !important;
    caret-color: #000;
    border: 2px solid #0E1A31 !important;
    transition: background-color 9999s ease-in-out 0s;
}


/*.general-error {
    text-align: center;*/
    /*   margin-bottom: 15px; */
    /*font-weight: bold;
    margin-top: 40px;
}*/

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-thumb {
    background-color: #0E1A31dd;
    border-radius: 8px;
}
    ::-webkit-scrollbar-thumb:hover {
        background-color: #0E1A3199;
    }
::-webkit-scrollbar-track {
    background-color: #0E1A3122;
}
/* -----------------------
   Responsive
------------------------- */

@media (max-width: 1024px) {

    .login-wrapper {
        width: 100%;
        padding: 20px;
        margin-inline: auto;
    }
}

@media (max-width: 992px) {
    .login-page {
        background-image: unset;
    }
}

@media (min-width: 1500px) {
    .login-box {
        gap: 18px;
    }
    .login-form-wrapper .login-meta {
        width: 100%;
        height: 42px;
        font-size: 14px;
    }
}