.sec-auth {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.auth-logo-res {
    display: none;
}

.sec-auth::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    background: #F1F5F9;
    width: 35%;
    height: 100%;
}

.sec-auth .auth-visual {
    width: 100%;
    aspect-ratio:  1 / 1;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: column;
    border-radius: 56px;
    background: url(../../media/image/svg/auth-banner-patt.svg) no-repeat center;
    background-size: cover;
    background-color: #E12528;
    padding: 30px;
    padding-bottom: 0;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.sec-auth .auth-visual::after,
.sec-auth .auth-visual::before {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.auth-bot,
.greeting-title,
.greeting-subtitle,
.sec-auth .auth-visual::after,
.sec-auth .auth-visual::before {
  transform-style: preserve-3d;
  will-change: transform;
}

.sec-auth .auth-visual::before {
    content: "";
    background: url(../../media/image/svg/Ornament-Colorful-white.svg) no-repeat center;
    background-size: cover;
    width: 47px;
    height: 50px;
    position: absolute;
    top: 46%;
    left: 54%;
    transform: translate(-50% , -50%);
    z-index: 1;
    pointer-events: none;
}

.sec-auth .auth-visual::after {
    content: "";
    background: url(../../media/image/svg/Ornament-Pale-white.svg) no-repeat center;
    background-size: cover;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 53%;
    left: 51%;
    transform: translate(-50% , -50%);
    z-index: 1;
    pointer-events: none;
}

.sec-auth .auth-visual .auth-visual-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    border-radius: 56px;
}

.sec-auth .auth-visual .auth-visual-inner::before {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 45%;
    transform: translateX(-50%);
    z-index: 0;
    pointer-events: none;
    width: 700px;
    height: 700px;
    border-radius: 999px;
    background: #94181AE5;
    filter: blur(100px);
}

.sec-auth .auth-visual .auth-bot {
    margin-left: -280px;
}

.sec-auth .auth-visual .auth-greeting {
    width: 100%;
    height: auto;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.auth-visual .auth-greeting .greeting-title {
    font-size: clamp(16px , 2vw , 24px);
    font-weight: 400;
    color: #FFFFFF;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

.auth-visual .auth-greeting .greeting-subtitle {
    font-size: clamp(20px , 3vw , 32px);
    font-weight: 600;
    color: #FFFFFF;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-transform: capitalize;
    line-height: 30px !important;
}

.sec-auth .auth-panel {
    width: 100%;
    max-width: 420px;
    height: auto;
    overflow: hidden;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 60px;
    margin: 0 auto;
}

.auth-panel .auth-header {
    width: 100%;
    max-width: 320px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
}

.auth-panel .auth-header .auth-logo {
    margin-inline: auto;
}

.auth-panel .auth-header .auth-tabs {
    width: 100%;
    height: 65px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #F1F5F9;
    position: relative;
    z-index: 0;
    gap: 10px;
    padding: 10px 12px;
}

.auth-header .auth-tabs .tab-btn {
    width: 50%;
    height: 100%;
    border-radius: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 600;
    font-size: 16px;
    font-family: "YekanBakh";
    border: 0;
    outline: 0;
    color: #2D2E30;
    transition: color .4s ease , background .4s ease;
    cursor: pointer ;
    background: transparent;
}

.auth-tabs .tab-btn.active {
    color: #F1F5F9;
    background: #223558;
}

/* Forms */

.auth-panel .wrap-form {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-panel .wrap-form .auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    height: auto;
    overflow: hidden;
    align-items: center;
    justify-content: center
}

.wrap-form .auth-form .form-group {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    position: relative;
}

.auth-form .form-group .form-label {
    font-size: 16px;
    font-weight: 600;
    color: #333F48;
    margin-bottom: 15px;
}

.auth-form .form-group .form-control {
    width: 100%;
    height: 56px;
    font-size: 14px;
    padding: 20px;
    border-radius: 12px;
    outline: none;
    transition: .4s ease;
    color: #223558;
    background: #F1F5F9;
    font-family: "YekanBakh";
    font-weight: 600;
    position: relative;
    user-select: auto;
    border: 1px solid #DFE2F7;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.form-group .form-control:focus {
    border: 1px solid #223558;
}

.form-control.error {
    border-color: #e53935 !important;
}

.form-control.success {
    border-color: #43a047 !important;
}

.form-group .form-control::placeholder {
    font-weight: 400;
    font-size: 14px;
    color: #999DBA;
    text-align: right;
    opacity: 1;
    transition: .3s ease;
}

.form-group .form-control:focus::placeholder {
    opacity: 0;
}

.auth-form .btn-primary {
    margin-inline: auto;
    width: 100%;
    height: 57px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #223558;
    border-radius: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    font-family: "YekanBakh";
    outline: 0;
    border: 1px solid #223558;
    cursor: pointer;
    color: #F1F5F9;
}

.auth-panel .wrap-form .auth-form.hidden {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    z-index: 0;
}

.wrap-form .auth-form .hint {
    font-size: 14px;
    font-weight: 600;
    color: #707070;
    text-align: center;
}

.field-error {
    font-size: 12px;
    font-weight: 600;
    color: #707070;
    margin-top: 5px;
}

/* All Media Queris Authentication Page */

@media screen and (max-width: 1260px) {
    .sec-auth .auth-visual .auth-bot {
        margin-left: -200px;
    }
    .sec-auth .auth-visual::after {
        left: 57%;
    }
    .sec-auth .auth-visual::before {
        left: 60%;
    }
}

@media screen and (max-width: 1100px) {
    .sec-auth .auth-visual .auth-bot {
        margin-left: -150px;
        width: 400px;
    }
    .sec-auth .auth-visual::after {
        left: 70%;
    }
    .sec-auth .auth-visual::before {
        left: 73%;
    }
}

@media screen and (max-width: 992px) {
    .auth-logo-res {
        display: block;
    }
    .auth-logo {
        display: none;
    }
    .sec-auth .auth-panel {
        margin-top: 50px;
    }
    .sec-auth::before {
        content: unset;
    }
    .sec-auth .auth-visual {
        aspect-ratio: unset;
        height: auto;
    }
    .sec-auth .auth-visual .auth-bot {
        margin-left: 0;
        margin-right: auto;
    }
    .sec-auth {
        height: 100%;
        padding: 20px;
        padding-top: 30px;
    }
    .sec-auth .auth-visual::before {
        left: 60%;
    }
    .sec-auth .auth-visual::after {
        left: 58%;
    }
    .sec-auth .auth-visual {
        padding: 50px;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .sec-auth .auth-visual .auth-bot {
        width: 300px;
    }
    .sec-auth .auth-visual::after {
        top: 57%;
    }
    .sec-auth .auth-visual {
        padding: 30px;
        padding-bottom: 0;
        border-radius: 25px;
    }
    .sec-auth .auth-visual .auth-visual-inner {
        border-radius: 25px;
    }
    .sec-auth .auth-visual .auth-visual-inner::before {
        width: 400px;
        height: 400px;
        left: 30%;
        bottom: -30%;
    }
}

@media screen and (max-width: 575px) {
    .sec-auth .auth-visual .auth-bot {
        width: 200px;
    }
    .sec-auth .auth-visual {
        padding: 20px;
        padding-bottom: 0;
    }
    .sec-auth .auth-visual::after {
        width: 20px;
        height: 23px;
        top: 60%;
        left: 48%;
    }
    .sec-auth .auth-visual::before {
        left: 50%;
        top: 50%;
        width: 30px;
        height: 33px;
    }
}

@media screen and (max-width: 470px) {
    .sec-auth .auth-visual::after {
        top: 61%;
        left: 62%;
    }
    .sec-auth .auth-visual::before {
        left: 65%;
    }
}

@media screen and (max-width: 370px) {
    .sec-auth .auth-visual::after {
        top: 61%;
        left: 78%;
        width: 15px;
        height: 16px;
    }
    .sec-auth .auth-visual::before {
        left: 80%;
        top: 55%;
        width: 20px;
        height: 23px;
    }
}