@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
* {
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  --surface-mixed-100: #1a1625;
  --surface-mixed-200: #2f2b3a;
  --surface-mixed-300: #46424f;
  --surface-mixed-400: #5e5a66;
  --surface-mixed-500: #76737e;
  --surface-mixed-600: #908d96;
  --primary-color: #a688fa;
  --secondary-color: #dcfa88;
}

body {
  padding: 16px;
  margin: 0;
  height: 100dvh;
  width: 100dvw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: var(--surface-mixed-100);
  color: white;
}
body .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
body .head .button-group {
  display: flex;
}
body .head .button-group .button {
  padding: 8px;
  cursor: pointer;
  border: 1px solid var(--primary-color);
}
body .head .button-group .button.selected {
  color: white;
  background-color: var(--primary-color);
}
body .view.hide {
  display: none !important;
}
body .view#relics {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body .view#relics .filters {
  display: flex;
  justify-content: space-between;
  height: 30px;
}
body .view#relics .filters * {
  height: 100%;
}
body .view#relics .filters .toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
body .view#relics .filters .filter.hide {
  display: none;
}
body .view#relics .table {
  height: 100%;
  overflow: auto;
}
body .view#relics .table table {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 14px;
  table-layout: fixed;
}
body .view#relics .table table thead th {
  position: sticky;
  top: -1px;
  z-index: 1;
  background-color: var(--surface-mixed-200);
  font-weight: bold;
}
body .view#relics .table table td, body .view#relics .table table th {
  border: 1px solid var(--surface-mixed-200);
  padding: 12px;
  text-align: center;
}
body .view#relics .table table td div .price-and-count {
  display: flex;
  order: -1;
  flex-direction: row;
  width: 100%;
}
body .view#relics .table table td div .price-and-count .averagePrice {
  text-align: left;
}
body .view#relics .table table td div .price-and-count .indicator {
  text-align: right;
}
body .view#prime-checklist {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body .view#prime-checklist .sets {
  height: 100%;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
body .view#prime-checklist .sets .set {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--max-component), 1fr);
  gap: 2px;
}
body .view#prime-checklist .sets .set.done .part {
  background-color: var(--primary-color);
}
body .view#prime-checklist .sets .set .part {
  padding: 8px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  position: relative;
}
body .view#prime-checklist .sets .set .part.done {
  background-color: var(--primary-color);
}
body .view#prime-checklist .sets .set .part .count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 23px;
  height: 23px;
  width: max-content !important;
  background: var(--surface-mixed-300);
  border-radius: 0px 0px 0px 4px;
  font-size: 16px;
  padding: 0 4px;
}
body .view#prime-checklist .sets .set .part img {
  width: 100px;
  height: 100px;
}
body .view#prime-checklist .sets .set .part span {
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
}
body .view#prime-checklist .sets .set .part .quantity {
  height: 20px;
}
body .view#prime-checklist .sets .set .part .quantity button {
  margin: 0;
  padding: 0;
  border: none;
  width: 20px;
  height: 20px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--surface-mixed-400);
  cursor: pointer;
  border-radius: 4px;
}

/* Couleur de fond alternée pour les lignes */
table tr:nth-child(even) {
  background-color: var(--surface-mixed-300);
}

/* Style pour le hover sur une ligne */
table tbody tr:not(.done):hover {
  background-color: var(--surface-mixed-400);
  cursor: pointer;
}

/* Ajout d'une légère ombre au tableau */
table {
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
}

/* Footer sticky en bas */
table tfoot th, table tfoot td {
  position: sticky;
  bottom: -1px;
  background-color: var(--surface-mixed-200);
  font-weight: bold;
  z-index: 1;
}

table td div {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

table td div img {
  width: 60px;
  height: 60px;
}

table td div span {
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

table td div span .vault-statut {
  font-size: 12px;
  font-weight: bold;
}

table td.done {
  background: var(--primary-color);
  color: black;
}

table tr.done {
  background: var(--primary-color);
  color: black;
}

body > #prime-collection {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body > #prime-collection .items {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  height: 100%;
  overflow: auto;
}

body > #prime-collection.hide {
  display: none;
}

body > #prime-collection .items .item {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: max-content;
}

#prime-collection .items .item img {
  width: 100%;
  max-width: 100px;
}

#prime-collection .items .item span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

#prime-collection .filter.search {
  width: 100%;
  min-height: 30px;
  height: 30px;
}

#prime-collection .filter.search .form {
  height: 100%;
  display: flex;
}

#prime-collection .filter.search .form input[type=text] {
  width: 100%;
  height: 100%;
  text-align: center;
}

#prime-collection .filter.search .form input[type=number] {
  width: 50px;
}

#prime-collection .filter.search .form button {
  width: 120px;
}

#prime-collection .filter.search .list {
  position: relative;
  z-index: 1;
  background-color: white;
  color: black;
  max-height: calc(100dvh - 16px - 16px - 80px - 30px);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

#prime-collection .filter.search .list .item {
  display: flex;
  height: 55px;
  padding: 3px;
  gap: 10px;
}

#prime-collection .filter.search .list .item:hover {
  background: lightgray;
  cursor: pointer;
}

#prime-collection .filter.search .list .item .img img {
  height: 100%;
  min-width: 49px;
  min-height: 49px;
}

#prime-collection .filter.search .list .item .name {
  display: flex;
  align-items: center;
}

/*# sourceMappingURL=style.css.map */
