*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Tahoma, Arial, sans-serif;
}

body.login-page{
    background:#f7f8f6;
    color:#222;
    direction:rtl;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.login-container{
    width:100%;
    max-width:430px;
}

.login-logo{
    text-align:center;
    margin-bottom:18px;
}

.login-logo h1{
    font-size:36px;
    color:#2E7D32;
    margin-bottom:6px;
}

.login-logo p{
    font-size:14px;
    color:#666;
}

.login-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:24px;
    box-shadow:0 2px 14px rgba(0,0,0,.07);
}

.login-card h2{
    text-align:center;
    font-size:26px;
    color:#2E7D32;
    margin-bottom:8px;
}

.login-subtitle{
    text-align:center;
    color:#666;
    font-size:14px;
    line-height:1.7;
    margin-bottom:22px;
}

.form-group{
    margin-bottom:15px;
}

.form-group label{
    display:block;
    font-size:14px;
    font-weight:bold;
    color:#333;
    margin-bottom:7px;
}

.form-group input{
    width:100%;
    height:48px;
    border:1px solid #ddd;
    border-radius:14px;
    background:#f7f8f6;
    padding:0 14px;
    font-size:15px;
    outline:none;
}

.form-group input:focus{
    border-color:#2E7D32;
    background:#fff;
}

.phone-input{
    display:flex;
    align-items:center;
    gap:8px;
    background:#f7f8f6;
    border:1px solid #ddd;
    border-radius:14px;
    height:48px;
    padding:0 12px;
}

.phone-input:focus-within{
    border-color:#2E7D32;
    background:#fff;
}

.phone-input span{
    color:#2E7D32;
    font-weight:bold;
    direction:ltr;
    border-left:1px solid #ddd;
    padding-left:10px;
}

.phone-input input{
    border:none;
    background:transparent;
    height:100%;
    padding:0;
    border-radius:0;
}

.login-options{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:4px 0 18px;
    font-size:13px;
}

.remember{
    display:flex;
    align-items:center;
    gap:6px;
    color:#555;
    cursor:pointer;
}

.remember input{
    width:15px;
    height:15px;
    accent-color:#2E7D32;
}

.login-options a{
    color:#2E7D32;
    text-decoration:none;
    font-weight:bold;
}

.login-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:50px;
    border-radius:15px;
    background:#2E7D32;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:bold;
    margin-bottom:18px;
}

.login-btn:hover{
    background:#256b2a;
}

.divider{
    display:flex;
    align-items:center;
    gap:12px;
    margin:16px 0;
    color:#777;
    font-size:13px;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#e5e7eb;
}

.register-store-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:46px;
    border-radius:14px;
    background:#f1f3f2;
    color:#2E7D32;
    text-decoration:none;
    font-size:14px;
    font-weight:bold;
    padding:0 12px;
}

.security-note{
    margin-top:16px;
    text-align:center;
    color:#777;
    font-size:12px;
    line-height:1.7;
}

@media(max-width:768px){
    body.login-page{
        align-items:flex-start;
        padding:18px 12px;
    }

    .login-logo h1{
        font-size:28px;
    }

    .login-logo p{
        font-size:12px;
    }

    .login-card{
        border-radius:18px;
        padding:20px;
    }

    .login-card h2{
        font-size:23px;
    }

    .login-subtitle{
        font-size:13px;
    }

    .form-group input,
    .phone-input{
        height:44px;
        font-size:14px;
    }

    .login-options{
        font-size:12px;
    }

    .login-btn{
        height:46px;
        font-size:15px;
    }
}