body {
    font-family: Arial, sans-serif;
    background-image: url('../img/fondo.jpg'); /* Adjusted path based on typical CSS structure */
    background-size: cover; /* Cover the entire viewport */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-attachment: fixed; /* Keep background fixed when scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Fondo blanco semitransparente para el difuminado */
    backdrop-filter: blur(5px); /* Ajusta el valor para más o menos desenfoque */
    z-index: -1; /* Asegura que esté detrás del contenido */
}

.register-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 350px; /* Un poco más ancho para el registro */
    text-align: center;
}

.register-container h2 {
    margin-bottom: 25px;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"] {
    width: calc(100% - 20px); /* Ajusta el ancho para el padding */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button[type="submit"] {
    background-color: #A30000; /* Un color diferente para el botón de registro */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #ab3e3e;
}

.links {
    margin-top: 20px;
    font-size: 14px;
}

.links a {
    color: #A30000;
    text-decoration: none;
    margin: 0 8px;
}

.links a:hover {
    text-decoration: underline;
}