/* ============================= */
/* ESTILOS GENERALES (ESCRITORIO) */
/* ============================= */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f2f2f2;
    font-family: Arial, sans-serif;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/imagenes/dauro_logo.png') no-repeat center center;
    background-size: cover; 
    filter: blur(8px);
    z-index: -1;
}

.panel {
    background: white;
    width: 320px;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.panel h2 {
    margin-bottom: 20px;
    font-weight: normal;
    color: #333;
}

.panel input,
.panel select,
.panel textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.panel button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.panel button:hover {
    background: #0056b3;
}

/* Mensaje de error */
.panel .error {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}
/* ============================= */
/* ESTILOS MÓVIL (RESPONSIVE) */
/* ============================= */
@media (max-width: 480px) {
    body {
        display: flex;             /* Recupera el centrado vertical */
        justify-content: center;
        align-items: center;
        min-height: 100vh;         /* Que ocupe toda la altura disponible */
        padding: 10px;             /* Espacio desde bordes */
        margin: 0;
    }

    .panel {
        width: 95%;                /* Ocupa casi todo el ancho */
        max-width: 420px;          /* Limita ancho en móviles grandes */
        padding: 20px;
        margin: 0 auto;            /* Centrado horizontal */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 10px;
    }

    .panel h2 {
        font-size: 20px;
    }

    .panel input,
    .panel select,
    .panel textarea,
    .panel button {
        font-size: 16px;
        padding: 12px;
    }

    .background {
        background-size: 50%;  /* Imagen más pequeña */
        filter: blur(4px);
    }
}