* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f3f6fb;
  color: #1b1f24;
}

.container {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px 24px;
}

h1 {
  margin-bottom: 6px;
}

.subtitle {
  margin-top: 0;
  color: #4d5b70;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-top: 14px;
  box-shadow: 0 2px 10px rgba(18, 38, 63, 0.08);
}

.hidden {
  display: none;
}

.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid-form .full {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

input,
select,
button {
  padding: 10px;
  border: 1px solid #c7d1df;
  border-radius: 8px;
}

button {
  background: #0a66c2;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #004e99;
}

.secondary {
  background: #44556d;
}

.secondary:hover {
  background: #334356;
}

.danger {
  background: #b42318;
}

.danger:hover {
  background: #8f1c13;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid #e6ecf3;
  padding: 10px;
  font-size: 14px;
  vertical-align: top;
}

.hint {
  color: #63758d;
  font-size: 13px;
}

.pendiente {
  color: #ae4f00;
  font-weight: bold;
}

.asignar-box {
  display: flex;
  gap: 8px;
}

.asignar-box input {
  min-width: 130px;
}

.mt {
  margin-top: 14px;
}

.tabla-compacta {
  min-width: 100%;
}
