/* Body con fondo degradado suave */
body {
    background: url("../img/fondo.jpg") no-repeat center center fixed;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
}

/* Creamos el pseudo-elemento que contendrá el fondo desenfocado */
body::before {
    content: '';
    position: fixed;
    /* Ocupa toda la pantalla, independientemente del scroll */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../img/fondo.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(8px);
    /* Nivel de desenfoque */
    -webkit-filter: blur(8px);
    /* Compatibilidad con Safari */
    z-index: -1;
    /* Lo posicionamos detrás de todo el contenido */
    transform: scale(1.1);
    /* Escala ligeramente para evitar bordes borrosos */
}

/* Capa adicional para mejorar contraste */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Contenedor vidrio general */
.contenedor-vidrio {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #3a3b3b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Formulario específico */
.formulario-vidrio label {
    display: block;
    margin-top: 20px;
    font-weight: 600;
    color: #171718;
}

.formulario-vidrio input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.formulario-vidrio input[type="date"]:focus {
    outline: none;
    border-color: #121213;
    box-shadow: 0 0 5px #424242;
}

/* Botón */
.btn-ejecutar {
    margin-top: 30px;
    background-color: #007BFF;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    display: block;
    width: 100%;
}

.btn-ejecutar:hover {
    background-color: #0056b3;
}
h1 {
    text-align: center;
    color: black;
}
