@font-face {
    font-family: 'Vazirmatn';
    src: url('font/Vazir-Light.woff2') format('woff2');
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Vazirmatn';
}

body{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:
    linear-gradient(
    135deg,
    #f8faff,
    #eef2ff
    );
}

.login-container{

    width:100%;

    max-width:520px;

    padding:20px;
}

.login-card{

    background:white;

    border-radius:32px;

    padding:40px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.08);
}

.logo{

    font-size:24px;

    color:#6C63FF;

    font-weight:700;

    margin-bottom:25px;
}

h1{

    font-size:40px;

    margin-bottom:10px;
}

.subtitle{

    color:#6b7280;

    margin-bottom:30px;
}

.field{

    position:relative;

    margin-bottom:18px;
}

.field input{

    width:100%;

    height:70px;

    border:none;

    border-radius:22px;

    background:#F8FAFC;

    padding:0 60px 0 20px;

    font-size:15px;

    transition:.25s;

    box-shadow:
    0 4px 15px rgba(0,0,0,.03);
}

.field input:hover{

    background:#F3F6FF;
}

.field input:focus{

    outline:none;

    background:#FFFFFF;

    box-shadow:
    0 0 0 2px #6C63FF,
    0 12px 30px rgba(108,99,255,.15);
}

.eye-btn{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    width:40px;

    height:40px;

    border:none;

    border-radius:12px;

    background:#EEF2FF;

    cursor:pointer;

    font-size:16px;

    transition:.2s;
}

.eye-btn:hover{

    background:#E0E7FF;
}
.eye-btn{

    border:none;

    background:none;

    cursor:pointer;

    font-size:18px;
}

.options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

    font-size:14px;
}

.options a{

    color:#6C63FF;

    text-decoration:none;
}

.error-message{

    color:#ef4444;

    font-size:14px;

    margin-bottom:15px;

    min-height:20px;
}

.login-btn{

    width:100%;

    height:65px;

    border:none;

    border-radius:20px;

    background:
    linear-gradient(
    135deg,
    #6C63FF,
    #8B5CF6
    );

    color:white;

    font-size:16px;

    cursor:pointer;

    transition:.25s;
}

.login-btn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 15px 30px rgba(108,99,255,.25);
}

.divider{

    text-align:center;

    margin:25px 0;

    color:#9ca3af;
}

.register-link{

    display:block;

    text-align:center;

    text-decoration:none;

    color:#6C63FF;

    font-weight:700;
}