/* Estilo general */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 20px;
    color: #333;
}

/* Contenedor del formulario */
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

/* Título */
h1 {
    text-align: center;
    color: #007BFF;
}

/* Fieldset */
fieldset {
    border: 2px solid #007BFF;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Leyenda */
legend {
    font-size: 18px;
    font-weight: bold;
    color: #007BFF;
}

/* Etiquetas */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Inputs, select y textarea */
input, select, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Color específico para los campos del nombre y apellidos */
#nombre,
#apellido_paterno,
#apellido_materno {
    color: #d9534f; /* Rojo suave */
    font-weight: bold;
}

/* Estilo de los demás inputs */
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"] {
    color: #5bc0de; /* Azul celeste */
}

/* Radio y checkbox */
input[type="radio"],
input[type="checkbox"] {
    width: auto;
}

/* Botones */
button {
    background-color: #007BFF;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
}

button:hover {
    background-color: #0056b3;
}

button[type="reset"] {
    background-color: #dc3545;
}

button[type="reset"]:hover {
    background-color: #bb2d3b;
}
