.reg-card {
  background: #fff;
  border: 1px solid #d4e1ef;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  color: #173a62;
}
.reg-card p,
.reg-card small {
  font-size: 12px;
  color: #59718d;
}
.reg-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.reg-card input,
.reg-card select {
  border: 1px solid #c7d6e8;
  border-radius: 5px;
  padding: 8px;
  color: #183954;
  max-width: 100%;
  box-sizing: border-box;
}
.reg-scroll {
  overflow: auto;
  max-height: 65vh;
}
.reg-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}
.reg-table th,
.reg-table td {
  border-right: 1px solid #d4dfed;
  border-bottom: 1px solid #d4dfed;
  padding: 9px;
  white-space: nowrap;
  text-align: left;
}
.reg-table th {
  position: sticky;
  top: 0;
  background: #eaf1fa;
  z-index: 1;
}
.reg-entry input {
  min-width: 110px;
  width: 130px;
}
.reg-entry input[type='date'] {
  width: 145px;
}
.reg-entry input[type='number'] {
  width: 80px;
  min-width: 70px;
}
.reg-card button,
.reg-table button {
  cursor: pointer;
  border: 1px solid #b9cee4;
  border-radius: 5px;
  background: #f4f8fd;
  color: #185396;
  padding: 7px 12px;
}
.reg-file {
  display: block;
  font-size: 12px;
  margin: 6px 0;
}
.reg-file input {
  width: 190px;
}
.reg-education select,
.reg-education input[type='search'] {
  padding: 8px;
  border: 1px solid #c4d6e9;
}
.reg-education .reg-scroll {
  max-height: 260px;
}
.reg-education [hidden] {
  display: none !important;
}
.reg-education button.active {
  background: #1568dc;
  color: #fff;
}
.reg-education .reg-selected {
  background: #edf5ff;
  padding: 12px;
  margin: 12px 0;
}
.reg-education label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 5px;
}
.reg-education input[type='checkbox'] {
  width: auto;
}
.reg-card .reg-table tr:hover {
  background: #f5f9ff;
}
.reg-single-equipment,
.reg-single-equipment tbody {
  display: block;
}
.reg-single-equipment thead {
  display: none;
}
.reg-single-equipment tr {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.reg-single-equipment td {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  white-space: normal;
}
.reg-single-equipment td[data-label]:before {
  content: attr(data-label);
  font-weight: 600;
}
.reg-single-equipment input,
.reg-single-equipment select {
  width: 100%;
  min-width: 0;
}
.reg-single-equipment td:nth-last-child(2) {
  grid-column: 1/-1;
}
.reg-single-equipment td:last-child {
  display: none;
}
@media (max-width: 700px) {
  .reg-single-equipment tr {
    grid-template-columns: 1fr;
  }
}
