/* Main css */

:root {
  --dark-gray-bg: #262D34;
  --light-gray-bg: #F9F7F7;
  --input-light-gray-bg: #f3f3f3;
  --light-gray-fg: #B5B5B5;
  --gray-border: #DADADA;
  --gray-bg: #ECECEC;
  --white-fg: #fff;
  --white-bg: #fff;
  --primary: #FE4D11;
  --text-color: #414B67;
}

body {
  font-family: Play;
}

* {
  padding: 0;
  margin: 0;
}

.body {
  width: 100%;
  display: flex;
}

.menu-bar {
  background-color: var(--dark-gray-bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  padding: 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
}

.menu-bar .logo-container {
  display: flex;
  height: 92px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.menu-bar .logo-container svg {
  width: 36px;
  aspect-ratio: 1/1;
}

.menu-bar .logo-container .brand-name {
  color: var(--text-white, #FFF);
  font-family: var(--Font-family-Body, Play);
  font-size: var(--Font-family-Size-Heading-2, 24px);
  font-style: normal;
  font-weight: var(--Font-family-Weight-Medium, 400);
  line-height: var(--Font-family-Line-height-Heading-2, 36px); /* 150% */
  text-transform: capitalize;
  margin-left: 8px;
}

.menu-bar .logo-container .brand-name .accentuate {
  color: var(--text-white, #FFF);
  font-family: var(--Font-family-Body, Play);
  font-size: var(--Font-family-Size-Heading-2, 24px);
  font-style: normal;
  font-weight: var(--Font-family-Weight-Bold, 700);
  line-height: var(--Font-family-Line-height-Heading-2, 36px);
  text-transform: capitalize;
}

.menu-bar .menu .header {
  color: var(--text-low_em, #B5B5B5);
  font-family: var(--Font-family-Heading, Play);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 16px; /* 145.455% */
  text-transform: uppercase;
  padding: 8px 0px;
}

.menu-bar .menu .item {
  display: flex;
  padding: var(--4, 8px) var(--6, 12px);
  align-items: center;
  gap: var(--6, 12px);
  align-self: stretch;
  color: var(--light-gray-fg);
}

.menu-bar .menu .item a {
  color: var(--light-gray-fg);
  text-decoration: none;
}

.menu-bar .menu .item:hover, .menu-bar .menu .item:hover a {
  color: var(--white-fg);
}

.menu-bar .menu .item:hover svg path {
  stroke: var(--white-fg);
}

.menu-bar .menu .item.selected {
  color: var(--white-fg);
  border-left: 2px solid var(--primary);
  margin-left: -16px;
  padding-left: 24px;
}

.menu-bar .menu .item.selected a {
  color: var(--white-fg);
}

.menu-bar .menu .item.selected svg path {
  stroke: var(--primary);
}

.main {
  background-color: var(--light-gray-bg);
  width: 100%;
  padding: 24px;
}

.main .header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--6, 12px);
  align-self: stretch;
  margin-bottom: 12px;
}

.main .header .label {
  flex: 1;
  color: var(--text-brand_secondary_em, #414B67);
  font-family: var(--Font-family-Heading, Play);
  font-size: var(--Font-family-Size-Heading-2, 24px);
  font-style: normal;
  font-weight: var(--Font-family-Weight-Semibold, 700);
  line-height: var(--Font-family-Line-height-Heading-2, 36px); /* 150% */
  text-transform: uppercase;
}

.main .h2 {
  padding: 12px;
  overflow: hidden;
  color: var(--text-brand_secondary_em, #414B67);
  text-overflow: ellipsis;
  font-family: var(--Font-family-Body, Play);
  font-size: var(--Font-family-Size-Body-Large, 18px);
  font-style: normal;
  font-weight: var(--Font-family-Weight-Semibold, 700);
  line-height: var(--Font-family-Line-height-Body-Large, 28px); /* 155.556% */
  text-transform: uppercase;
}

table {
  color: #414B67;
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100%;
}

.table-header {
  margin: 10px;
}

.table-header th {
  border: 1px solid var(--gray-border);
  background-color: var(--gray-bg);
  padding: 12px 24px;
}

.table-header th:first-child {
  border-radius: 12px 0 0 12px;
}

.table-header th:last-child {
  border-radius: 0 12px 12px 0;
}

tr td {
  padding: 12px 24px;
  background-color: var(--white-bg);
}

tr td:first-child {
  border-radius: 12px 0 0 12px;
}

tr td:last-child {
  border-radius: 0 12px 12px 0;
}

form.search {
  padding: 8px 12px;
  background-color: var(--input-light-gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
}

form.search input[type="search"],
form.search button {
  all: unset;
}

form.search input[type="search"] {
  flex: 1;
  width: 100%;
}

form.search button {
  cursor: pointer;
}

.pagy.nav {
  margin: 24px 4px;
}

.pagy.nav a {
  padding: 8px 12px;
  margin: 0px 4px;
  background-color: var(--white-bg);
  border: 1px solid var(--input-light-gray-bg);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
}

.pagy.nav a.current {
  background-color: var(--primary);
  color: var(--white-fg);
  font-weight: 700;
}

.table-summary {
  display: flex;
  margin: 24px 0;
  justify-content: flex-end;
}

.table-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 24px;
}

.table-summary-item-label {
  color: var(--text-brand_secondary_em, #414B67);
  font-family: var(--Font-family-Body, Play);
  font-size: var(--Font-family-Size-Body-Regular, 16px);
  font-style: normal;
  font-weight: var(--Font-family-Weight-Medium, 400);
  line-height: var(--Font-family-Line-height-Body-Regular, 24px); /* 150% */
  text-transform: uppercase;
}

.table-summary-item-value {
  color: var(--text-brand_secondary_em, #414B67);
  font-family: var(--Font-family-Body, Play);
  font-size: var(--Font-family-Size-Heading-2, 24px);
  font-style: normal;
  font-weight: var(--Font-family-Weight-Semibold, 700);
  line-height: var(--Font-family-Line-height-Body-Regular, 24px); /* 100% */
}

.detailed-description-minor {
  overflow: hidden;
  color: var(--text-brand_secondary_em, #414B67);
  text-overflow: ellipsis;
  font-family: var(--Font-family-Body, Play);
  font-size: var(--Font-family-Size-Caption-1, 12px);
  font-style: normal;
  font-weight: var(--Font-family-Weight-Medium, 400);
  line-height: var(--Font-family-Line-height-Overline, 16px); /* 133.333% */
}

button[type="submit"] {
  all: unset;
  border-radius: 4px;
  background: var(--primary);
  padding: 6px 14px;
  color: var(--white-fg);
}

input[type="text"].number {
  all: unset;
  padding: 6px 14px;
  width: 30px;
  border-radius: 8px;
  border: 1px solid var(--outline-med_em, #DADADA);
  background: var(--surface-surface_bg, #FDFDFD);
}

