.show-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    top: 17px;
    transition: 0.3s;
    color: #858C95;

    &:hover, &.active{
        color: rgb(26, 26, 26);
    }
}

a.auth-link-b {
    color: #313335;
    font-size: 12px;
    font-weight: 400;
    padding-left: 6px;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;

    &:hover{
        color: #FE902F;
    }
}

a.link-auth {
    color: #1E9EDE;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 45px;
    text-decoration: none;
    transition: 0.3s;

    &:hover{
        color: #06acff;;
        transform: scale(1.02);
    }
}

.close-form {
    color: #E8E8E8;
    position: absolute;
    right: 19px;
    top: 19px;
    z-index: 1;
    cursor: pointer;
    transition: 0.3s;

    &:hover {
        transform: scale(1.05);
        filter: contrast(0.7);
    }
}


/*CheckBox*/
.checkbox {
    transition: 0.3s;
    cursor: pointer;
    border-radius: 6px;
    border: 2px solid #E5E5E7;
    background: #F8F9FB;
    width: 20px;
    height: 20px;

    &:hover{
        background: #e9e9e9;
    }
}

.chekbox-active {
    width: 32px;
    transform: translate3d(-8px, -2px, 10px);
    opacity: 0;
    transition: 0.3s;
}
.checkbox.active > .chekbox-active {
    opacity: 1!important;
}
/*CheckBox close*/


.absolute-form {
    position: fixed;
    inset: 0;
    overflow: auto;
    z-index: 3;
    width: 100%;
    height: 100%;
    background: #0000008a;
    backdrop-filter: blur(7px);
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.absolute-form.tfa, .absolute-form.auth {
    align-items: center;
    padding: 24px;
}

.auth-form, .tfa-form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-form-auth {
    width: 1184px;
    height: 656px;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    border-radius: 17px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    margin: auto;
}

.modal-form-tfa {
    width: 656px;
    height: 656px;
    border-radius: 17px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    padding: 54px;
}

img.slide-background-shadow {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}



.error-message {
    text-align: left;
    width: 100%;
    color: #FF5434;
    font-size: 10px;
    opacity: 0;
    font-weight: 400;
    transition: 0.3s;
    transform: translateY(10px);
    min-height: 8px;
}

h2#swal2-title {
    font-size: 13px;
    font-weight: 400;
}

.left-auth {
    width: 50%;
    height: 100%;
    margin-left: -2px;
}

.right-auth {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2.h2-auth {
    color: #313335;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
}

p.p-auth {
    color: #858C95;
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
}

section.top-section {
    gap: 17px;
    display: grid;
}

img.avatar-user-auth {
    position: absolute;
    width: 26.056px;
    height: 27.14px;
    margin-left: 15px;
    left: 0px;
    top: 16px;
}

.custom-input-1, select{
    border-radius: 6px;
    border: 1px solid #E5E5E7;
    background: #F8F9FB;
    width: 100%;
    height: 61px;
    outline: none;
    color: #323539;
    font-size: 12px;
    font-weight: 400;
    padding-left: 15px;
    padding-right: 15px;
    transition: 0.3s;

    &.swal2-select{
        width: auto;
        font-size: 15px;
    }

    &#password {
        padding-right: 45px;
    }
    
    &#login {
        padding-left: 52px;
    }

    &:not(.refferal):not(.swal2-select):focus{
        background: #fe902f1a;
        border: 1px solid #fe902f;
    }

    &.copy, &.active {
        background: #8bc34a26;
        border: 1px solid #8bc34a9e;
        color:#8BC34A;
    }

    &.refferal {
        cursor: pointer;
        padding-right: 119px;
    }

    &.error_input {
        border-radius: 6px;
        border: 1px solid #FF5434;
        background: rgba(255, 84, 52, 0.04);
    }
}

.slider-auth > .owl-dots {
    position: absolute;
    bottom: 68px;
    left: -52px;
}

.object-input {
    display: flex;
    align-items: flex-start;
    position: relative;
    flex-direction: column;
}

.auth-form-a {
    display: grid;
    gap: 21px;
}

.text-group-bottom {
    display: flex;
    gap: 14px;
    align-items: center;
    cursor: pointer;
}

p.text-left {
    color: rgba(0, 0, 0, 0.75);
    font-size: 12px;
    font-weight: 400;
    padding-top: 3px;
}

button.custom-button-1.auth-button {
    width: 100%;
}

.bottom-group {
    display: grid;
    gap: 25px;
}

p.text-info {
    color: #858C95;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.12px;
}

.slider-auth {
    width: 100%;
    height: 100%;
}
.owl-stage-outer {
    height: 100%;
    width: 100%;
}

.inputs-group {
    display: grid;
    gap: 33px;
}

section.content-slider-a {
    position: absolute;
    z-index: 1;
    max-width: 398px;
    bottom: 100px;
    left: 58px;
    display: grid;
    justify-items: start;
    gap: 8px;
}

h3.auth-h3 {
    color: #FFF;
    font-size: 32px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: -0.32px;
}

img.tfa-loading {
    aspect-ratio: 1 / 1;
    width: 100px;
    margin: auto;
}

@media (max-width: 1174px) {
    .left-auth {
        display: none;
    }
    .right-auth {
        width: 100%;
    }
    .modal-form-auth, .modal-form-tfa {
        max-width: 553px;
        padding: 54px;
    }
}
@media (max-width: 650px) {
    .modal-form-auth, .modal-form-tfa {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0px;
        padding: 25px;
    }
    .absolute-form {
        background: white;
    }
    .modal-form-auth {
        box-shadow: unset;
    }
}

/* Compact auth modal and header account menu */
.absolute-form.auth {
    align-items: center;
    padding: 20px;
}

.absolute-form.auth .modal-form-auth {
    width: min(560px, calc(100vw - 32px));
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 32px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #1f1f1f;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.absolute-form.auth .left-auth {
    display: none;
}

.absolute-form.auth .right-auth,
.absolute-form.auth .auth-form {
    width: 100%;
    height: auto;
}

.absolute-form.auth .auth-form-a {
    width: 100%;
    gap: 18px;
    padding: 34px;
}

.absolute-form.auth .top-section {
    padding-right: 28px;
}

.absolute-form.auth .inputs-group {
    gap: 12px;
}

.absolute-form.auth .bottom-group {
    gap: 14px;
}

.absolute-form.auth .custom-input-1 {
    height: 52px;
    box-sizing: border-box;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #242424;
    color: #fff;
    font-size: 13px;
    line-height: 52px;
    padding: 0 16px;
}

.absolute-form.auth #login,
.absolute-form.auth #password {
    padding-left: 16px;
    padding-right: 16px;
}

.absolute-form.auth img.avatar-user-auth,
.absolute-form.auth .show-password {
    display: none;
}

.absolute-form.auth .custom-input-1:focus {
    border-color: #fe902f;
    box-shadow: 0 0 0 3px rgba(254, 144, 47, 0.12);
}

.absolute-form.auth input.custom-input-1:-webkit-autofill,
.absolute-form.auth input.custom-input-1:-webkit-autofill:hover,
.absolute-form.auth input.custom-input-1:-webkit-autofill:focus,
.absolute-form.auth input.custom-input-1:-webkit-autofill:active {
    caret-color: #fff;
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #242424 inset;
    box-shadow: 0 0 0 1000px #242424 inset;
    border-color: #fe902f;
    transition: background-color 9999s ease-out, color 9999s ease-out;
}

.absolute-form.auth .custom-input-1::placeholder,
.absolute-form.auth p.text-info {
    color: rgba(255, 255, 255, 0.58);
}

.absolute-form.auth h2,
.absolute-form.auth p.text-left {
    color: #fff;
}

.absolute-form.auth a.auth-link-b {
    color: #fe902f;
    padding-left: 4px;
}

.absolute-form.auth .text-group-bottom {
    gap: 10px;
}

.absolute-form.auth .close-form {
    top: 18px;
    right: 18px;
}

.auth-top-li.auth-user-holder {
    position: relative;
}

.auth-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 25;
    display: grid;
    min-width: 190px;
    padding: 10px 8px 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(31, 31, 31, 0.98);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.auth-user-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.auth-user-holder:hover .auth-user-menu,
.auth-user-menu:hover {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.auth-user-menu-link,
.auth-user-logout {
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.auth-user-menu-link:hover,
.auth-user-logout:hover {
    background: rgba(254, 144, 47, 0.14);
    color: #fe902f;
}

@media (max-width: 650px) {
    .absolute-form.auth {
        padding: 0;
        background: rgba(0, 0, 0, 0.76);
    }

    .absolute-form.auth .modal-form-auth {
        width: 100%;
        height: auto;
        max-height: 100%;
        border-radius: 0;
    }

    .absolute-form.auth .auth-form-a {
        padding: 28px 18px;
    }
}
