/* 1. Importa Bootstrap Theme Litera  https://bootswatch.com/  */
@import url('https://cdn.jsdelivr.net/npm/bootswatch@5.3.3/dist/litera/bootstrap.min.css');
/* 2. Estilos personalizados generales */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #2b375a;
  margin: 0;
  padding: 0;
}
header {
  background-color: #2b375a;
  color: white;
  padding: 10px 20px;
  text-align: center;
}
h1 {
  margin: 0;
}
h2 {
  color: #d61c42;
}
/* 3. Estilos específicos para formularios y contenedores */
.container {
  max-width: 800px;
  margin: auto;
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}
/* 4. Estilos para botones y formularios */
label {
  display: block;
  margin-top: 15px;
}
input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  box-sizing: border-box;
}
button {
  background-color: #2b375a;
  color: white;
  padding: 10px 15px;
  margin-top: 5px;
  border: none;
  cursor: pointer;
}
button[disabled] {
  background-color: #cccccc;
  color: #666666;
  cursor: not-allowed;
  opacity: 0.7;
}
button:hover {
  background-color: #d61c42;
}
button.btn-primary {
  background-color: #2b375a;
  color: white;
  border: none;
}
.inline-fields {
  display: flex;
  gap: 12px;
}

.inline-fields > div {
  display: flex;
  align-items: center;
  gap: 6px;
}
.campo-flexible {
  flex: 1; /* se expande para ocupar el resto */
}
.campo-flexible input {
  width: 100%; /* input rellena su espacio */
}
.botones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 1.5rem;
  justify-content: center;
}

.botones .btn {
  flex: 1 1 auto;
  min-width: 120px;
  font-size: 0.95rem;
  padding: 10px 14px;
  white-space: nowrap;
}  
