/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Fondo general */
body {
    background-image: url("../img/fondo.png"); /* Ruta de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


/* Contenedor formulario/panel */
.container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco semitransparente */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


/* Títulos */
h2 {
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
}

/* Inputs, selects, buttons */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
select {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0 20px 0;
    border-radius: 8px;
    border: 1.8px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: #2575fc;
    outline: none;
}

label {
    display: inline-block;
    margin: 0 10px 15px 0;
    font-size: 15px;
    cursor: pointer;
}

/* Botones */
button {
    width: 100%;
    background-color: #2575fc;
    border: none;
    padding: 14px 0;
    color: white;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #6a11cb;
}

/* Menú panel */
.menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.menu a {
    padding: 14px 0;
    background-color: #2575fc;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.menu a:hover {
    background-color: #6a11cb;
}

/* Link volver */
a.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #2575fc;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.back-link:hover {
    color: #6a11cb;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 25px 20px;
        max-width: 90%;
    }
}
