/* Cuerpo general */
body {
    background-color: white;
    font-family: Century Gothic, sans-serif;
    padding: 20px;
    margin: 0;
}

/* Título */
h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-weight: normal;
}

/* Formulario sin fondo ni bordes llamativos */
form {
    max-width: 1100px;
    margin: auto;
    padding: 10px;
}

/* Tabla y celdas */
table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 10px;
    font-size: 14px;
    vertical-align: middle;
}

/* Campos de entrada */
input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    text-transform: uppercase;
    background-color: white;
}

/* Lectura */
input[readonly] {
    background-color: #f9f9f9;
    color: #555;
}

/* Botón principal */
input[type="submit"] {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin: 30px auto 15px auto;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Botones adicionales (tipo enlace o input) */
a,
.boton-secundario {
    display: block;
    width: fit-content;
    margin: 10px auto;
    padding: 8px 18px;
    background-color: #6c757d;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}

a:hover,
.boton-secundario:hover {
    background-color: #5a6268;
}
/* Ajuste para que la primera columna tenga ancho fijo */
table td:first-child {
    width: 220px; /* ancho fijo para etiquetas */
    text-align: right; /* alinear texto de etiquetas a la derecha */
    font-weight: bold;
    padding-right: 15px;
}

/* Segunda columna (campos) ocupa el resto */
table td:last-child {
    width: auto;
}

/* Ajustar altura uniforme en inputs y selects */
input[type="text"],
input[type="number"],
input[type="date"],
select {
    height: 36px;
}

/* Centrar botones en la última fila */
table tr:last-child td {
    text-align: center;
}