﻿:root {
    --primary-color: #8AB8C8;
    --white: #ffffff;
}

@font-face {
    font-family: Rubik;
    src: url(../fonts/Rubik-VariableFont_wght.ttf);
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #cde0f3;
    background-image: url(../../Images/admiral-bg-new.png), url(../../Images/rectangle2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: Rubik, sans-serif;
}

* {
    text-align: right;
    direction: rtl;
    box-sizing: border-box;
}

input {
    outline: none;
}

    input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px white inset;
    }

._hide {
    background-color: transparent;
    color: transparent;
    width: 0px;
    height: 0px;
    border: 0px;
    display: none;
}

.center-container {
    width: 817px;
    height: 577px;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: var(--white);
}

/* החלק הימני */
.right-side {
    width: 416px;
    height: 100%;
    background-image: url('../../Images/divL.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.logo {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 100px;
    margin-bottom: 20px;
}

.small-image {
    width: 181px;
    height: 33px;
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
    margin-bottom: 20px;
    color: #0A0C4F;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.input-field {
    width: 329px;
    height: 53px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #3370F8;
    border-radius: 25px;
    outline: none;
    text-align: center;
    font-size: 16px;
    color: #333;
    direction: rtl;
    text-align: right;
}

.login-button img {
    width: 329px;
    height: 53px;
    cursor: pointer;
    margin-top: 20px;
}

.forgot-password {
    font-size: 14px;
    color: #0A0C4F;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.3s;
    text-decoration:underline;
}

    .forgot-password:hover {
        color: var(--primary-color);
    }


.login-button {
    width: 329px;
    height: 53px;
    margin-top: 20px;
    display: inline-block;
}

#btnVerifyOtp
{
    width:300px;
}

.login-button-div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #0457E3; /* צבע הרקע */
    color: white; /* צבע הטקסט */
    border-radius: 25px; /* מעגל את הפינות כמו בתיבות הטקסט */
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

    .login-button-div:hover {
        background-color: #034a94; /* צבע רקע כהה יותר בהעברה עם העכבר */
    }

/* החלק השמאלי */
.left-side {
    width: 401px;
    height: 100%;
    background-image: url('../../Images/divR.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .left-side img {
        width: 299px;
        height: 299px;
        object-fit: cover;
        border-radius: 10px;
    }

.hide {
    display: none;
}

._hide_ {
    opacity: 0;
    border: solid 0px;
    width: 1px;
    height: 1px;
}
/* התאמה לסלולר */
@media (max-width: 768px) {
    .center-container {
        width: 100%;
        height: 100%;
    }

    .left-side {
        display: none;
    }

    .right-side {
        width: 100%;
        height: 100%;
        padding-top: 50px;
    }

    .input-field {
        width: 90%; /* הקטנת רוחב תיבות הטקסט באחוזים */
        height: 45px; /* הקטנת גובה תיבות הטקסט */
        font-size: 14px; /* גודל פונט קטן יותר בסלולר */
    }

    .login-button img {
        width: 80%; /* הקטנת כפתור הכניסה בסלולר */
        max-width: 250px;
    }
}


/* טוגל מצבים */
.mode-toggle {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.modeBtn {
    padding: 6px 12px;
    border: 1px solid #d7e0ff;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #0A0C4F;
}

    .modeBtn.active {
        background: #0457E3;
        color: #fff;
        border-color: #0457E3;
    }

/* קופסת שלב 2 */
.smsStep2 {
    width: 100%;
    max-width: 329px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #e5e9ff;
    border-radius: 16px;
    background: #f8fbff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* OTP input באמצע, צר יותר */
.otpRow {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.otpInput {
    width: 200px;
    text-align: center; /* הספרות באמצע */
    letter-spacing: 6px; /* ריווח בין הספרות */
    font-weight: 700;
    border-color: #9bb6ff;
}

/* מטא + שלח שוב */
.smsMeta {
    text-align: center;
    font-size: 13px;
    color: #444;
    margin-top: 6px;
}

.resendBtn {
    background: transparent;
    border: none;
    color: #0457E3;
    font-size: 13px;
    cursor: pointer;
}

    .resendBtn[disabled] {
        color: #aab4c8;
        cursor: not-allowed;
    }

/* יישור בינלאומי: בשדות רגילים נשאר ימין; ב-OTP נטו מרכז */
#txtUN_sms {
    text-align: right;
}

#txtOtp {
    text-align: center;
}
