*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Cairo",sans-serif;
}

body{

    background:#f4f7fb;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;

}

.container{

    width:420px;

    background:#fff;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.1);

    padding:35px;

}

.logo{

    text-align:center;

    margin-bottom:25px;

}

.logo i{

    font-size:40px;

    color:#2563eb;

    margin-bottom:10px;

}

.logo h2{

    color:#2563eb;

    margin-bottom:5px;

}

.logo p{

    color:#777;

    font-size:14px;

}

.tabs{

    display:flex;

    margin-bottom:30px;
    overflow: hidden;
    border-radius:8px ;

}

.tab{

    width:50%;

    text-align:center;

    padding:14px;

    background:#eee;

    cursor:pointer;

    font-weight:bold;

    transition:.3s;

}

.tab.active{

    background:#2563eb;

    color:#fff;

}

h3{

    text-align:center;

    margin-bottom:20px;

    color:#333;

}

input{

    width:100%;

    padding:14px;

    margin-bottom:15px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:15px;

}

input:focus{

    outline:none;

    border-color:#2563eb;

}

.btn{

    width:100%;

    padding:14px;

    border:none;

    border-radius:8px;

    background:#2563eb;

    color:#fff;

    font-size:16px;

    cursor:pointer;

    transition:.3s;

}

.btn:hover{

    background:#1d4ed8;

}

.forgot{

    display:block;

    text-align:center;

    margin-top:15px;

    color:#2563eb;

    text-decoration:none;

}

.forgot:hover{

    text-decoration:underline;

}

/* مخفي مؤقتاً */

/* .login-form{

    display:none;

} */
.register-form{
    display: none;
}



.user-type{
    display:flex;
    justify-content:space-around;
    align-items:center;
    margin:15px 0 20px;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#f8f9fa;
}

.user-type label{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    cursor:pointer;
}

.user-type input{
    width:auto;
}

.back-home{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
    margin-bottom:20px;
}

.back-home:hover{
    text-decoration:underline;
}