/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body con fondo suave degradado */
body {
    background: url('../img/fondo4.jpg') no-repeat center center fixed;
    color: #070707;
    min-height: 100vh;
    width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
}
/* 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/fondo4.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;
}
/* 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 */
}
/* Título principal */
h1 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    color: #f7f3f3;
}

/* Formulario centrado y con estilo */
form {
    max-width: 600px;
    background: #fff;
    margin: 0 auto 40px auto;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(72, 84, 159, 0.1);
}

form label {
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
    color: #555;
}

form input[type="text"],
form select {
    width: 100%;
    padding: 10px 15px;
    margin-top: 6px;
    border: 2px solid #d1d9e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form select:focus {
    border-color: #4a90e2;
    outline: none;
}

form button {
    width: 100%;
    padding: 12px 0;
    background-color: #4a90e2;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #357ABD;
}
