/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Tahoma, Arial, sans-serif;
    direction:rtl;
    overflow:hidden;
}

/* ===========================
   BACKGROUND
=========================== */

.overlay{

    position:relative;

    width:100%;
    min-height:100vh;

    background:
        linear-gradient(rgba(10,35,70,.40), rgba(10,35,70,.40)),
        url("../images/bg.png") center center/cover no-repeat;

}

/* ===========================
   LOGIN CARD
=========================== */

.login-card{

    position:absolute;

    top:50%;
    right:5%;

    transform:translateY(-50%);

    width:340px;

    padding:18px 20px;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(8px);

    border-radius:18px;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    text-align:center;

}

/* ===========================
   LOGO
=========================== */

.logo{
    margin:0;
}

.logo img{

    width:65px;

    height:auto;

    margin-bottom:8px;

}

/* ===========================
   TITLE
=========================== */

.login-card h1{

    color:#0b4f8a;

    font-size:22px;

    margin-bottom:8px;

    line-height:1.4;

}

/* ===========================
   SUB TITLE
=========================== */

.subtitle{

    color:#666;

    font-size:14px;

    line-height:1.7;

    margin-bottom:15px;

}

/* ===========================
   TEXTBOX
=========================== */

.textbox{

    margin-bottom:12px;

}

.textbox input{

    width:100%;

    height:42px;

    border:2px solid #d8d8d8;

    border-radius:8px;

    font-size:16px;

    text-align:center;

    padding:0 10px;

    transition:.3s;

}

.textbox input:focus{

    outline:none;

    border-color:#1565c0;

    box-shadow:0 0 8px rgba(21,101,192,.25);

}

/* ===========================
   WARNING
=========================== */

.warning{

    color:#d60000;

    font-size:13px;

    min-height:20px;

    margin-bottom:10px;

    font-weight:bold;

}

/* ===========================
   BUTTON
=========================== */

button{

    width:100%;

    height:42px;

    border:none;

    border-radius:8px;

    background:#1565c0;

    color:#fff;

    font-size:18px;

    cursor:pointer;

    transition:.25s;

}

button:hover{

    background:#0b4f8a;

}

button:active{

    transform:scale(.98);

}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width:768px){

    body{
        overflow:auto;
    }

    .login-card{

        position:relative;

        top:auto;
        right:auto;

        transform:none;

        width:90%;

        margin:40px auto;

    }

}
/* ===========================
   DEVELOPER FOOTER
=========================== */

.developer-footer{

    position:fixed;

    bottom:12px;

    left:20px;

    display:flex;

    align-items:center;

    gap:8px;

    padding:6px 12px;

    background:rgba(255,255,255,.88);

    border-radius:25px;

    box-shadow:0 3px 10px rgba(0,0,0,.12);

    font-size:12px;

    color:#555;

    z-index:9999;

}

.developer-footer img{

    width:70px;

    height:70px;

    object-fit:contain;

}

.developer-footer strong{

    color:#0b4f8a;

    font-weight:600;

}

@media(max-width:768px){

    .developer-footer{

        left:10px;
        right:10px;

        justify-content:center;

        font-size:11px;

    }

    .developer-footer img{

        width:20px;
        height:20px;

    }

}