@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/Figtree-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/Figtree-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/Figtree-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/SourceSerif4-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #2e2e2e;
  background: #fff;
  font-family: 'Figtree', 'Segoe UI', sans-serif;
}

button,
select {
  font: inherit;
}

.page-header {
  min-height: 62px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(90deg, #002fa1 0%, #002fa1 48.44%, #002172 100%);
  border-bottom: 2px solid #001548;
  box-shadow: 0 1px 2px #001548;
}

.page-header__inner {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.page-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
}

.page-shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.tabs {
  display: flex;
  margin-top: 16px;
  border-bottom: 1px solid #2e2e2e;
}

.tab {
  padding: 8px 16px;
  color: #000;
  background: #fff;
  border: 1px solid #dee2e6;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
}

.tab.is-active {
  color: #fff;
  background: #2e2e2e;
  border-color: #2e2e2e;
  font-family: 'Source Serif 4', Georgia, serif;
}

.catalog-panel {
  padding: 16px 24px 24px;
  border: 1px solid #2e2e2e;
  border-radius: 0 0 2px 2px;
}

.toolbar {
  display: flex;
  align-items: center;
}

.field {
  width: min(100%, 520px);
}

.field label {
  display: block;
  margin-bottom: 4px;
  color: #3d3d3d;
  font-size: 13px;
  font-weight: 600;
}

.select-wrap {
  position: relative;
}

select {
  width: 100%;
  height: 35px;
  padding: 4px 42px 4px 10px;
  color: #333;
  background-color: #fff;
  background-image: url('assets/images/icon-arrow-select.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  appearance: none;
  font-size: 15px;
}

select:focus {
  border: 1.5px solid #407ecb;
  box-shadow: none;
  outline: none;
}

.table-frame {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #000;
  border-radius: 14px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
}

thead {
  color: #fff;
  background: #2e2e2e;
}

th {
  height: 34px;
  padding: 9px 18px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  line-height: 15px;
  text-align: center;
  white-space: pre-line;
}

tbody tr {
  border-bottom: 1px solid #000;
}

tbody tr:last-child {
  border-bottom: 0;
}

td {
  padding: 14px 18px;
  line-height: 15px;
  text-align: center;
  vertical-align: middle;
}

.empty-state {
  padding: 40px 24px;
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .page-header__inner,
  .page-shell {
    width: calc(100% - 24px);
  }

  .tabs {
    overflow-x: auto;
  }

  .tab {
    flex: 0 0 auto;
  }

  .catalog-panel {
    padding: 16px;
  }

  .field {
    width: 100%;
  }
}

.table-notes {
  margin-top: 12px;
  color: #3d3d3d;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.table-notes p {
  margin: 4px 0 0;
}
