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

/* BODY */
body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    position: relative;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.85) 0%,
            rgba(0,0,0,0.75) 30%,
            rgba(0,0,0,0.4) 55%,
            rgba(0,0,0,0.1) 75%
        ),
        url('/assets/images/bg-firefighter.png');

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

/* OVERLAY */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.45), rgba(0,0,0,0.7));
    pointer-events: none;
}

/* WRAPPER */
.wrapper {
    position: relative;
    z-index: 1;

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

    min-height: 100vh;
    padding: 20px;
}

/* LOGIN BOX */
.login-box {
    width: 360px;
    max-width: 100%;
    padding: 30px;
    border-radius: 16px;

    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);

    color: white;
    text-align: center;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.9),
        0 0 0 1px rgba(255,255,255,0.05);
}

/* TITLE */
.login-box h2 {
    margin-bottom: 25px;
    font-size: 22px;
}

/* INPUTY */
.login-box input,
.login-box select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;

    border-radius: 8px;
    border: none;
    outline: none;

    font-size: 14px;

    background: #e5e7eb;
}

/* BUTTON */
.login-box button {
    width: 100%;
    padding: 14px;

    background: linear-gradient(90deg, #dc2626, #ef4444);
    border: none;
    color: white;
    font-size: 16px;

    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.login-box button:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(239,68,68,0.6);
}

/* ERROR */
.error {
    background: #dc2626;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
}

/* MOBILE */
@media (max-width: 768px) {

    body {
        background-position: center;
    }

    .login-box {
        width: 100%;
        padding: 25px;
    }
}