
body{
    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;
    margin:0;
    background:url('../img/background.jpg');
    background-size:cover;
    background-position:center;

}


.container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px 0;
}

.overlay{
    width:90%;
    max-width:420px;
    padding:25px;
    border-radius:20px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    box-shadow:0 8px 30px rgba(0,0,0,.3);
    color:white;
}

.logo-container{

    text-align:center;
    margin-bottom:1px;
    padding:fixed;
}

.logo-container img{
    width:125px;
}

.overlay h1{
    font-size: 38px;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle{
    font-size:14px;
    color:rgba(255,255,255,.85);
    margin-bottom:25px;
}

.forgot-link{
    display:block;
    text-align:center;
    margin-top:10px;
    color:white;
    text-decoration:none;
}

.divider{
    text-align:center;
    margin:20px 0;
    font-weight:bold;
}
.register-text{
    text-align:center;
}

label{
    display:block;
    margin-top:10px;
}
input[type=password],
input[type=text],
input[type=email]{

    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    margin-top:5px;
    margin-bottom:15px;
    box-sizing:border-box;
}
button{

    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:#740c0c;
    color: white;
    font-size:16px;
    font-weight:bold;
    transition:.3s;
}

button:hover{
    background:#e01f1f;
    transform:translateY(-2px);
}

.forgot-link{
    display:block;
    margin-top:10px;
    color:white;
    text-decoration:none;
}

.forgot-link:hover{
    color:gold;
}

.divider{
    text-align:center;
    margin:20px 0;
}

.register-btn{

    display:block;
    text-align:center;
    background:white;
    color:#800000;
    padding:12px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
}

.register-btn:hover{
    background:#f0f0f0;
}

.footer-links{
    text-align:center;
    margin-top:20px;
    font-size:13px;
}

.footer-links a{
    color:white;
    text-decoration:none;
}

.footer-links a:hover{
    color:gold;
}

.show-password{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:5px;
    font-size:14px;
    margin-bottom:15px;
}
.modal{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-content{
    background:#fff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    width:400px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.checkmark{
    width:80px;
    height:80px;
    line-height:80px;
    margin:auto;
    border-radius:50%;
    background:#28a745;
    color:white;
    font-size:40px;
    font-weight:bold;
}

.modal-content h2{
    margin-top:15px;
}

.modal-content button{
    margin-top:15px;
    padding:10px 25px;
    border:none;
    background:#28a745;
    color:white;
    border-radius:8px;
    cursor:pointer;
}

.branch-text{
    text-align:center;
    color:rgba(255,255,255,.85);
    font-size:12px;
    letter-spacing:1px;

    margin-top:0;
    margin-bottom:10px;
}

.modal{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-content{

    background:white;
    padding:30px;
    border-radius:15px;
    text-align:center;
    width:350px;
}

.error-modal h2{
    color:#c62828;
}

.error-icon{

    font-size:60px;
    color:#c62828;
    margin-bottom:10px;
}

.modal-content button{

    margin-top:15px;
    padding:10px 20px;
    border:none;
    background:#800000;
    color:white;
    border-radius:8px;
    cursor:pointer;
}
.overlay{

    opacity:0;

    animation: fadeInUp 1.5s ease forwards;
}

/* Animation */

@keyframes fadeInUp{

    from{
        opacity:0;
        transform:translateY(80px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.lock-modal{

    animation: floatIn .4s ease;

}

.lock-icon{

    font-size:70px;
    margin-bottom:10px;

}

@keyframes floatIn{

    from{
        opacity:0;
        transform:translateY(-30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}
/* =========================
   TABLET VIEW
========================= */
@media screen and (max-width: 768px){

    body{
        padding:20px;
    }

    .overlay{
        width:100%;
        max-width:450px;
        padding:25px;
    }

    .logo-container img{
        width:100px;
    }

    .overlay h1{
        font-size:30px;
    }

    .subtitle{
        font-size:13px;
        text-align:center;
    }

    .branch-text{
        font-size:11px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"]{
        padding:12px;
    }

    button,
    .register-btn{
        padding:12px;
    }

    .modal-content{
        width:90%;
        max-width:350px;
    }

}
/* =========================
   MOBILE VIEW
========================= */
@media screen and (max-width:480px){

    .overlay{
        width:80%;
        padding:15px;
    }

    .logo-container img{
        width:70px;
    }

    .overlay h1{
        font-size:22px;
    }

    .subtitle{
        font-size:12px;
        margin-bottom:15px;
    }

    input{
        padding:10px;
        margin-bottom:10px;
    }

    button,
    .register-btn{
        padding:10px;
    }

}

    .register-btn{
        font-size:14px;
        padding:12px;
    }

    .footer-links{
        font-size:11px;
        line-height:1.6;
    }

    .show-password{
        font-size:12px;
    }

    .modal-content{
        width:95%;
        padding:20px;
    }

    .checkmark,
    .error-icon,
    .lock-icon{
        font-size:50px;
    }

