/* فونت فارسی Vazir */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

/* تنظیمات کلی */
*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Tahoma', sans-serif;
}

/* استایل بدنه */
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background:url(https://img.playbook.com/IZSaaisbuPYRUSQYBZckzA61Px-1dJx2_5pGRp3N4dk/Z3M6Ly9wbGF5Ym9v/ay1hc3NldHMtcHVi/bGljLzRkZmUwYjQ2/LWRhNjAtNDQ2Yy1h/Y2UxLWM0ZTZkMGI3/NTdlMA);
    background-size: cover;
    background-position: center;
    direction: rtl;
}

/* کانتینر اصلی */
.wrapper {
    width: 420px;
    max-width: 90vw;
    background: transparent;
    border:2px solid rgba(255, 255, 255, .2);
    backdrop-filter:blur(20px);
    box-shadow: 0 0 10px rgba(0 , 0 , 0 , .2);
    color: #fff;
    border-radius: 10px;
    padding: 30px 40px;
}

/* عنوان فرم */
.wrapper h1{
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
}

/* کانتینر فیلدهای ورودی */
.wrapper .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

/* استایل فیلدهای ورودی */
.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 20px 20px 45px;
    text-align: right;
}

/* استایل placeholder */
.input-box input::placeholder{
    color: #fff;
    text-align: right;
}

/* آیکون فیلدها */
.input-box i{
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* کانتینر یادآوری و فراموشی رمز */
.wrapper .remember-forgot{
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
    flex-wrap: wrap;
    gap: 10px;
}

/* چک باکس یادآوری */
.remember-forgot label input{
    accent-color: #fff;
    margin-left: 3px;
}

/* لینک فراموشی رمز */
.remember-forgot a{
    color: #fff;
    text-decoration: none;
}

.remember-forgot a:hover{
    text-decoration: underline;
}

/* دکمه ورود */
.wrapper .btn{
    width: 100%;
    height: 45px;
    border-radius: 40px;
    border: none;
    outline: none;
    background: #fff;
    box-shadow: 0 0 10px rgba(0 , 0 , 0 , .1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wrapper .btn:hover{
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* کانتینر لینک ثبت نام */
.wrapper .register-link{
   text-align: center;
    font-size: 14.5px;
    margin:20px 0 15px;
}

/* لینک ثبت نام */
.register-link p a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover{
    text-decoration: underline;
}

/* رسپانسیو برای موبایل */
@media (max-width: 480px) {
    .wrapper {
        width: 95vw;
        padding: 20px 25px;
    }
    
    .wrapper h1 {
        font-size: 28px;
    }
    
    .input-box input {
        font-size: 14px;
        padding: 15px 15px 15px 40px;
    }
    
    .input-box i {
        left: 15px;
        font-size: 18px;
    }
    
    .remember-forgot {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .wrapper .btn {
        height: 50px;
        font-size: 16px;
    }
}

/* رسپانسیو برای تبلت */
@media (max-width: 768px) and (min-width: 481px) {
    .wrapper {
        width: 80vw;
        max-width: 400px;
    }
}