:root{
    --primary:#2563eb;
    --primary-hover:#1d4ed8;
    --white:#ffffff;
    --text:#111827;
    --border:#e5e7eb;
    --danger:#dc2626;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    min-height:100vh;
}

.login-page{
    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    position:relative;

    background-image:url("../../img/main_image.jpg");
    background-size:cover;
    background-position:center;
}

.background-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(15,23,42,.75),
            rgba(37,99,235,.55)
        );

    backdrop-filter:blur(4px);
}

.login-card{
    position:relative;
    z-index:2;

    width:100%;
    max-width:440px;

    padding:40px;

    border-radius:24px;

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

    backdrop-filter:blur(15px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.25);

    border:1px solid rgba(255,255,255,.4);
}

.login-header{
    text-align:center;
    margin-bottom:30px;
}

.login-header img{
    width:70px;
    margin-bottom:15px;
}

.login-header h1{
    font-size:28px;
    font-weight:700;
    color:var(--text);
}

.login-header p{
    margin-top:10px;
    color:#6b7280;
}

.form-group-modern{
    margin-bottom:20px;
}

.form-group-modern label{
    display:block;

    margin-bottom:8px;

    font-size:14px;
    font-weight:600;
    color:#374151;
}

.form-group-modern input{
    width:100%;

    height:52px;

    border:1px solid var(--border);
    border-radius:12px;

    padding:0 15px;

    font-size:15px;

    transition:.2s;
}

.form-group-modern input:focus{
    outline:none;

    border-color:var(--primary);

    box-shadow:
        0 0 0 4px rgba(37,99,235,.15);
}

.btn-login-modern{
    width:100%;
    height:52px;

    border:none;
    border-radius:12px;

    background:var(--primary);
    color:white;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    transition:.2s;
}

.btn-login-modern:hover{
    background:var(--primary-hover);

    transform:translateY(-1px);
}

.alert-modern{
    margin-bottom:20px;

    padding:14px;

    border-radius:12px;

    font-size:14px;
}

.alert-error{
    background:#fef2f2;
    color:#991b1b;
    border:1px solid #fecaca;
}

@media(max-width:600px){

    .login-card{
        margin:20px;
        padding:30px 25px;
    }

}
