
.auxiliary-page {
  min-height: 0;
}

.aux-layout {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
}

.aux-categories {
  min-height: 0;
  overflow: auto;
  padding: 12px;
  border: 1px solid #d8e6f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(29, 91, 154, .07);
}

.aux-category-btn {
  width: 100%;
  min-height: 43px;
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #315576;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.aux-category-btn:hover {
  background: #f1f7fe;
}

.aux-category-btn.active {
  background: #e5f2ff;
  color: #0862c3;
  box-shadow: inset 0 0 0 1px #cbe4ff;
}

.aux-main {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

.aux-toolbar {
  grid-template-columns: minmax(280px, 1fr) 190px auto;
}

.aux-table {
  min-width: 760px;
}

.col-code { width: 16%; }
.col-description { width: 44%; }
.col-order { width: 12%; }
.col-status { width: 14%; }
.col-actions { width: 14%; }

.aux-code {
  display: inline-flex;
  min-width: 48px;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f4ff;
  color: #075fbe;
  font-weight: 900;
}

.aux-description strong,
.aux-description small {
  display: block;
}

.aux-description strong {
  color: #0b315f;
}

.aux-description small {
  margin-top: 4px;
  color: #74879f;
}

.aux-modal-card {
  width: min(720px, calc(100vw - 30px));
}

.checkbox-field {
  display: flex;
  align-items: end;
  padding-bottom: 10px;
}

@media (max-width: 1050px) {
  .aux-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .aux-toolbar {
    grid-template-columns: 1fr 170px;
  }

  .aux-toolbar .search-box {
    grid-column: 1 / -1;
  }
}
