
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding:0;
    overflow: hidden;
}

body {
    background:#1a468d;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content:center;
    align-items:center;
}


html[lang="ar"] body,
html[lang="ar"] input,
html[lang="ar"] button,
html[lang="ar"] select {
    font-family: "Almarai", sans-serif;
}

html[lang="he"] body,
html[lang="he"] input,
html[lang="he"] button,
html[lang="he"] select {
    font-family: "Arimo", sans-serif;
}

.LoginCard {
    background:#fff;
    color:#212529;
    padding:30px;
    width:85%;
    max-width:500px;
    box-shadow: 0 1.6rem 3rem #0000001a;
    border-radius:32px;
}

.HeaderCardLogin {
    display: flex;
    align-items:center;
    gap:10px;
    padding-bottom:4px;
    justify-content:space-between;
    border-bottom:1px solid #EEEEEE;
}

.LoginLogo {
    display: flex;
    align-items:center;
    gap:10px;
}

.LoginLogo img {
    width:40px;
    height:40px;
}

.LoginLogo p{
    font-size: 17px;
    font-weight: 500;
    color: #1a468d;
}

.LoginCardText {
    display: flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-direction:column;
    margin:10px 0 20px 0;
}

.LoginCardText h5{
    padding:0;
    margin:0;
    font-size:30px;
    font-weight: 700;
    color:#323232;
}

.LoginCardText p{
   padding:0;
   margin:0;
   color:#323232bf;
}

.LoginFormPhone {
    display: flex;
    gap:10px;
    flex-direction:column;
}

.LoginFormPhone p{
    padding:0;
    margin:0 0 5px 0;
    font-size:18px;
}

.login_phone_input{
   -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
    color: #323232;
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    padding: 15px;
    width: 100%;
    text-align:center;
    outline:none;
}


.login_continue_otp{
    border:0;
    background:#ffc107;
    color:#000;
    cursor:pointer;
    height:50px;
    outline:none;
    font-size:20px;
    border-radius: 16px;
}


.LoginFormOTP {
    display: none;
    gap:10px;
    flex-direction:column;
}

.LoginFormOTP p{
    padding:0;
    margin:20px 0 0 0;
    font-size:17px;
}

.LoginSubmit {
    border:0;
    background:#0d6efd;
    color:#fff;
    cursor:pointer;
    height:50px;
    font-size:18px;
    outline:none;
    border-radius: 16px;
}

.OtpContainer {
    direction: ltr;
    display: flex;
    margin:10px 0 10px 0;
    gap: 10px;
}

.OtpInput {
    width: 100%;
    height: 60px;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
    color: #323232;
    display: block;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
    padding: 15px;
    width: 100%;
    outline:none;
}


.BackToPhoneSec {
    background: rgb(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
    display: none;
    padding: 7px 0;
    text-align: center;
    font-weight: 300;
    width: 100%;
    max-width: 70px;
    font-size: 14px;
    border-radius: 6px;
    cursor:pointer;
}

.OtpResend p {
    font-size:15px;
    font-weight:400;
}

.OtpResend p span {
    color:#0d6efd;
    font-weight:600;
    cursor:pointer;
}



.LangChange {
    position: relative;
}

.LangChange img {
    width:35px;
    height:35px;
    cursor:pointer;
}

.LangChangeDrop {
    list-style:none;
    position: absolute;
    right: 0;
    margin-top: 10px;
    width: 140px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9;
    border-radius:10px;
    pointer-events: none;
    opacity:0;
}

html[dir="rtl"] .LangChangeDrop {
    right:auto;
    left: 0;
}

.LangChangeDrop.LangActiveDrop {
    pointer-events: auto;
    opacity:1;
}

.LangChangeDrop li {
    display:flex;
    padding:10px;
    cursor:pointer;
    display:flex;
    align-items: center;
    gap:7px;
    border-bottom:1px solid #F7F7F7;
}

.LangChangeDrop li img {
    width:20px;
    height:20px;
}

.LangChangeDrop li:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.LangChangeDrop li:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom:0;
}

.LangChangeDrop li:hover {
    background:#F7F7F7;
}

.BlurEffect {
    filter: blur(8px);
}

.FormError {
    margin-top: 8px !important;
    padding: 10px 14px !important;
    font-size:17px !important;
    font-weight: 500;
    line-height: 1.4;
    color: #b42318;
    background: #fff1f1;
    border: 1px solid #f3b4b4;
    border-radius: 10px;
    display: none;
    align-items: center;
    animation: errorFadeIn 0.25s ease-out;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
