.contenedor {
  max-width: 1000px;
  margin: 20px auto;
  padding: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  margin-bottom: 16px;
  text-align: center;
}

.seccion {
  margin-bottom: 20px;
}

.buscador {
  display: flex;
  gap: 8px;
}

.buscador input {
  flex: 1;
  padding: 8px;
}

.buscador button {
  padding: 8px 16px;
  cursor: pointer;
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.tabla th,
.tabla td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  font-size: 14px;
}

.tabla th {
  background-color: #f2f2f2;
}

.detalle {
  border-top: 1px solid #ddd;
  padding-top: 12px;
}

.info {
  margin-top: 8px;
  color: #555;
}

.error {
  margin-top: 8px;
  color: #b00020;
  font-weight: bold;
}

.seccion-agendar {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.campo-full {
  grid-column: 1 / -1;
}

.campo label {
  font-size: 13px;
  font-weight: 600;
}

.campo input,
.campo select,
.campo textarea {
  padding: 6px;
  font-size: 14px;
}

.campo-check {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ok {
  margin-top: 8px;
  color: #0b8043;
  font-weight: bold;
}
