body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;

    /* Imagen de fondo */
    /* background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
    url("{% static 'visualizador/img/fondo_incendio.png' %}") no-repeat center center fixed; */
        background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
        url("../img/fondo_incendio.png") no-repeat center center fixed;

    background-size: cover;

    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

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

.login-header h1 {
    margin: 0;
    font-size: 22px;
    color: #0f4c75;
}

.login-header p {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.campo {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #3282b8;
}

.error {
    margin-top: 5px;
    font-size: 13px;
    color: #b30000;
}

.boton-login {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    background-color: #0f4c75;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.boton-login:hover {
    background-color: #093857;
}

.footer {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #777;
}

.footer span {
    color: #0f4c75;
    font-weight: 600;
}


/* Tarjeta moderna */
.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 45px 40px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    animation: fadeIn 0.6s ease-in-out;
    position: relative;
}

/* Línea decorativa superior */
.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

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

.login-header h1 {
    margin: 0;
    font-size: 22px;
    color: #0d2d46;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.login-header p {
    margin-top: 8px;
    font-size: 13px;
    color: #6c7a86;
}

.campo {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #2a3f52;
}

input {
    width: 100%;
    padding: 11px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #d4dde6;
    background: #f9fbfd;
    transition: all 0.25s ease;
}

input:focus {
    outline: none;
    border-color: #0072ff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.15);
}

/* Errores más elegantes */
.error {
    margin-top: 6px;
    font-size: 13px;
    color: #c62828;
    background: #fdecea;
    padding: 6px 8px;
    border-radius: 4px;
}

/* Botón tecnológico */
.boton-login {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(90deg, #005bea, #00c6ff);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 10px;
    letter-spacing: 0.4px;
}

.boton-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 91, 234, 0.4);
}

.footer {
    margin-top: 28px;
    text-align: center;
    font-size: 12px;
    color: #8fa3b7;
    letter-spacing: 0.3px;
}

.footer span {
    color: #0072ff;
    font-weight: 600;
}

/* Link moderno */
a {
    color: #0072ff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}