﻿body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-image: url(/Templates/assets/images/library-window-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

    .login-wrapper .login-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #00000025;
        z-index: 1;
    }


    .login-wrapper .login-form {
        width: 380px;
        height: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25em;
        padding: 1.5em;
        font-family: cairo;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        text-align: center;
        /*        color: #000;*/
        background-color: #cca67c85;
        border-radius: 2.5rem;
        border: 2px solid #cca67c11;
        backdrop-filter: blur(12px);
        box-shadow: 0px 0px 30px 0px #cca67c59;
        z-index: 4;
        margin: 1em;
    }
        .login-wrapper .login-form.register-form {
            height: auto;
        }
.login-form .company-logo {
    width: 100%;
    height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

    .login-form .company-logo img {
        height: 100%;
        width: 160px;
        margin-inline-end: 1.35em;
    }

.login-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 120%;
    color: #1e1710;
    margin-block: 0.25em 0.5em;
}

.login-form .form-data {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.register-form .form-data {
    max-height: 280px;
    overflow-y: auto;
    padding-inline-end: 1.5em;
    margin-inline-end: -1.5em;
}
.login-form .form-data > .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: start;
    gap: 0.5em;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
    color: #32271b;
    margin-bottom: 4px;
}

.login-form input,
.login-form input[type="checkbox"],
.login-form button {
    gap: 1em;
    border-radius: 0.65em;
    /*    background-color: #81654745;*/
    background-color: #d4b59245;
    border: none;
    outline: unset;
    padding: 12px;
}

.login-btns {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}
.login-form .login-bgn {
    font-weight: 700;
    line-height: 110%;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    font-size: 18px;
    color: #ffffff;
    background-color: #14100bcc;
    transition: background-color 0.3s ease;
}

.login-form .signin-with {
    width: 100%;
    display: flex;
    justify-content: center;

}
.login-form .sigin-google {
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #1e1710;
    background-color: transparent;
    display: flex;
    align-items: center;
    /*    justify-content: space-between;*/
    gap: 0.5em;
    padding: 0.5em;
    text-decoration: none;
/*    transition: all 0.3s ease;*/
}
    .login-form .sigin-google:is(:hover, :target) {
        color: #482e15;
        /*        background-color: #d4b59215;*/
        text-decoration: underline;
    }
.sigin-google img {
    width: 20px;
    height: 20px;
}

.login-form input {
    border: 1px solid #14100b88;
}
    .login-form input::placeholder {
        color: #d4b592cc;
    }
    .login-form input:not(.checkmark):focus {
        box-shadow: 0 0 6px 0px #d7ba99cc !important;
    }
    .login-form input:-webkit-autofill,
    .login-form input:-webkit-autofill:hover,
    .login-form input:-webkit-autofill:focus,
    .login-form input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 1000px #81654745 inset !important;
        -webkit-text-fill-color: #000 !important;
        background-color: #81654745 !important;
        transition: background-color 5000s ease-in-out 0s;
    }

.login-form .chechbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.35em;
}

.chechbox-wrapper input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    border-radius: 4px;
    border: 1px solid #14100b88;
}

.chechbox-wrapper .checkmark:checked {
    background-color: #14100bcc;
    border: 1px solid #14100b88;
    position: relative;
}

    .chechbox-wrapper .checkmark:checked::after {
        content: '✓';
        position: absolute;
        top: 43%;
        left: 50%;
        color: white;
        font-size: 13px;
        transform: translate(-50%, -50%);
    }

.login-action {
    display: flex;
    flex-direction: column;
/*    gap: 0.25em;*/
}
    .login-action .actions {
        display: flex;
        justify-content: space-between;
        gap: 1em;
    }
    .login-action .chechbox-wrapper {
        font-size: 14px;
        font-weight: 500;
        color: #000000;
    }

.to-register {
    font-size: 14px;
    font-weight: 500;
    color: #14100b;
    margin-block: 0em;
}

    .to-register a {
        color: #563719;
        font-weight: 600;
        text-decoration: none;
    }
        .to-register a:is(:hover, :target) {
            text-decoration: underline;
            color: #563719dd;
        }
.alert-error {
    height: 14px;
    display: block;
    margin-top: 2px;
    /*    display: flex;*/
    /*    justify-content: start;*/
}
.text-danger {
    height: 14px;
    display: block;
    font-size: 14px;
    margin-block: 0;
    margin-inline: 4px;
    /*    color: #dc3545;*/
    color: #bb2d3b;
}
.form-data::-webkit-scrollbar {
    width: 0.2em;
}
.form-data::-webkit-scrollbar-track {
    background-color: #d1b08a35;
}
.form-data::-webkit-scrollbar-thumb {
    background-color: #3b2f21cc;
}
.form-data::-webkit-scrollbar-thumb:hover {
    background-color: #3b2f21;
}
@media (min-width: 1600px) {
}

@media (max-width: 1600px) {
   
}

@media (max-width: 1200px) {
  
}

@media (max-width: 992px) {
}

@media (max-width: 786px) {
   
}
