/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}
body.pagina-especial {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: #fff;
    padding: 20px;
    position: relative;
    
}

/* Fondo con efecto vidrio */
body.pagina-especial::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../img/fondo.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    z-index: -2;
    transform: scale(1.1);
}

/* Capa para mejorar contraste */
body.pagina-especial::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Contenedor principal */
.config-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.config-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 40px;
    transition: all 0.3s ease;
}

/* Estilos del formulario */
h2 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 10px auto;
    border-radius: 3px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

input[type="password"],
input[type="email"] {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    background: rgba(235, 234, 234, 0.2);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

::placeholder {
    color: rgba(255, 255, 255, 0.534);
}

input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    background: rgba(201, 199, 199, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

input[type="submit"] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

input[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Mensajes */
.mensaje {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    backdrop-filter: blur(5px);
}

.mensaje.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.mensaje.exito {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #51cf66;
}


/* Contenedor del nav para que no esté limitado */
.encabezado nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

