.custom-auth-page {
    min-height: 90vh;
    background-color: var(--bs-primary-red);
    background-image: url('../images/auth-bg.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: inherit;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 15px;
    position: relative;
    direction: rtl;
    overflow: hidden;
}
.auth-box-wrap {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 5;
    text-align: center;
    margin-bottom: 0;
}
.auth-card {
    background: #fff;
    border-radius: 30px 30px 0 0;
    padding: 38px 42px 36px;
    min-height: 550px;
    min-width: 450px;
    box-shadow: 0px 0px 50px 0px #26205229;
}

.auth-socials {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 20px;
}
.auth-socials a {
    color:var(--bs-yellow);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-page-title {
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 24px;
    line-height: 140%;
    text-align: center;
    vertical-align: center;

}
.auth-form {
    width: 100%;
}
.auth-field {
    margin-bottom: 30px;
    text-align: right;
}
.auth-field label {
    display: block;
    color: var(--bs-color2);
    margin-bottom: 8px;
    padding-right: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: right;
    vertical-align: middle;
}
.auth-field input {
    background: #fff;
    padding: 0 18px;
    color: #1e1b32;
    font-size: 13px;
    outline: none;
    transition: all 0.25s ease;
    direction: rtl;
    border: 2px solid #D7D3EF80;
    width:100%;
    height: 44px;
    top: 358px;
    left: 542px;
    opacity: 1;
    border-radius: 80px;
    backdrop-filter: blur(14px)
}
.auth-field input::placeholder {
    color: #2620521A;
}
.auth-field input:focus {
    border-color: var(--bs-color2);
    box-shadow: 0 0 0 3px rgba(48, 39, 95, 0.08);
}
.phone-input-wrap {
    position: relative;
}
.phone-input-wrap input {
    padding-left: 58px;
}
.phone-code {
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: #DEE8F0;
    color: #1e1b32;
    font-size: 12px;
    font-weight: 600;
    border-radius: 80px 0 0 80px;
    padding: 13px;
    direction: ltr;
    opacity: 40%;
    z-index: 2;
}
.auth-terms {
    color: var(--bs-color2);
    margin: 5px 0 26px;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    letter-spacing: 0%;
    vertical-align: middle;
}
.auth-terms a {
    color:var(--bs-primary-red);
    text-decoration: none;
    font-weight: 700;
}
.auth-submit {
    width: 100%;
    border: none;
    background: var(--bs-color2);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 14px;
    height: 50px;
    top: 686px;
    left: 542px;
    opacity: 1;
    border-radius: 80px;

}
.auth-submit:hover {
    transform: translateY(-2px);
}
.auth-switch {
    width: 100%;
    height: 50px;
    border: 2px solid var(--bs-color2);
    color: #262052;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.25s ease;
    top: 752px;
    left: 542px;
    opacity: 1;
    border-radius: 80px;
}
.auth-switch:hover {
    transform: translateY(-2px);
}
.auth-alert {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: right;
}

.auth-alert p {
    margin: 0;
}
.auth-alert-error {
    background: #fff1f1;
    color: var(--bs-primary-red);
    border: 1px solid rgba(196, 0, 20, 0.15);
}
.auth-socials a:hover {
    color: #fff;
}

