/* Global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Oxanium", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  color: rgb(160, 160, 160);
}

body {
  width: 100vw;
  height: 100vh;
  background-color: rgb(38, 38, 38);
}

h1 {
  color: rgb(187, 134, 252);
}

/* Generic components */
.hidden {
  display: none !important;
}

.error {
  color: rgb(255, 100, 100);
  padding: 8px;
}

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 20px;
  padding: 0 8px;
}
.loader .dot {
  width: 10px;
  height: 10px;
  border-radius: 100%;
}
.loader .dot:nth-child(1) {
  background-color: #bb86fc;
  animation: loader-leap 1s ease-in-out alternate 0.4s infinite;
}
.loader .dot:nth-child(2) {
  background-color: #4b168c;
  animation: loader-leap 1s ease-in-out alternate 0.6s infinite;
}
.loader .dot:nth-child(3) {
  background-color: #b1b1b1;
  animation: loader-leap 1s ease-in-out alternate 0.8s infinite;
}

@keyframes loader-leap {
  0% {
    transform: translateY(0);
  }
  7% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(1);
    opacity: 0.5;
  }
  75% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}
.box {
  background-color: rgb(46, 46, 46);
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 814px;
}
.items .item {
  border: 1px solid rgb(46, 46, 46);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  background: rgba(14, 16, 21, 0.85);
  width: 150px;
}
.items .item .image {
  padding: 8px;
  display: grid;
  place-items: center;
}
.items .item .name {
  color: rgb(211, 210, 212);
  font-size: 17px;
  font-weight: bold;
}
.items .item .price span {
  color: rgb(187, 134, 252);
  font-weight: bold;
}
.items .item .amount {
  opacity: 0.5;
}

/* Form elements */
.form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

label {
  padding-left: 2px;
}

input {
  background-color: rgb(18, 18, 18);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  outline: none;
}
input:active, input:focus {
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
}

button {
  cursor: pointer;
  background-color: rgb(57, 57, 61);
  color: rgb(211, 210, 212);
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: filter 0.2s, color 0.3s;
  outline: none;
}
button:active, button:focus {
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
}
button:hover {
  filter: brightness(1.1);
}
button.primary {
  background-color: rgb(76, 52, 122);
  color: white;
}
button.danger {
  background-color: rgb(171, 52, 54);
  color: white;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Lobby */
#lobby {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
#lobby .authentication .login {
  padding: 16px;
}
#lobby .account {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#lobby .account .my-ships .ships {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
}
#lobby .account .my-ships .ships .ship {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
#lobby .account .my-ships .ships .ship:hover {
  background-color: rgb(38, 38, 38);
}
#lobby .account .my-ships .ships .ship.empty {
  opacity: 0.5;
  transition: opacity 0.3s;
}
#lobby .account .my-ships .ships .ship.empty:hover {
  opacity: 0.8;
}
#lobby .account .my-ships .ships .ship .image {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  background-color: rgb(18, 18, 18);
  border-radius: 8px;
}
#lobby .account .my-ships .ships .ship .name {
  text-align: center;
}
#lobby .account .create-ship .box {
  padding: 16px;
}
#lobby .account .create-ship .buttons {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  justify-items: flex-start;
  align-items: center;
}
#lobby .menu {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px 8px;
}
#lobby .menu a {
  cursor: pointer;
}

/* Game */
#game {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  gap: 16px;
}
#game canvas {
  width: 100%;
  height: 100%;
  background-color: rgb(18, 18, 18);
  z-index: 1;
}
#game .gui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  transition: filter 5s ease-in-out, opacity 5s ease-in-out;
}
#game .gui.void {
  filter: saturate(0.2) brightness(0.75);
  opacity: 0.9;
}
#game .gui .inspect {
  position: fixed;
  left: 16px;
  top: 16px;
  width: 200px;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid rgb(46, 46, 46);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}
#game .gui .inspect .header {
  display: grid;
  grid-template-columns: 30px 1fr;
  margin-bottom: 8px;
  gap: 8px;
}
#game .gui .inspect .header .icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}
#game .gui .inspect .header .icon .image {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
#game .gui .inspect .header .icon .image.ship {
  background: url("assets/ship.png") center/contain no-repeat;
}
#game .gui .inspect .header .title {
  font-weight: bold;
  font-size: 20px;
  display: grid;
  align-items: center;
  color: rgb(211, 210, 212);
}
#game .gui .inspect .content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#game .gui .inspect .content button {
  margin-top: 4px;
}
#game .gui .inspect .content .stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
#game .gui .inspect .content .stat-row span:last-child {
  color: rgb(187, 134, 252);
}
#game .gui .inspect .content .hp-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}
#game .gui .inspect .content .hp-bar .hp-fill {
  height: 100%;
  background: rgb(187, 134, 252);
  transition: width 0.3s ease;
}
#game .gui .inspect .content .item-history-section {
  margin-top: 8px;
}
#game .gui .inspect .content .item-history-section .history-title {
  font-size: 11px;
  text-transform: uppercase;
  color: rgb(171, 171, 171);
  margin-bottom: 4px;
}
#game .gui .inspect .content .item-history-section .history-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  padding: 2px 0;
}
#game .gui .inspect .content .item-history-section .history-entry .ship-name {
  color: rgb(211, 210, 212);
  flex: 1;
}
#game .gui .inspect .content .item-history-section .history-entry .method {
  color: rgb(171, 171, 171);
  font-size: 10px;
}
#game .gui .inspect .content .item-history-section .history-entry .date {
  color: rgb(171, 171, 171);
  font-size: 10px;
  width: 100%;
}
#game .gui .resources-items {
  position: fixed;
  left: 16px;
  bottom: 16px;
  display: grid;
  pointer-events: auto;
  grid-template-rows: auto 1fr;
  gap: 2px;
}
#game .gui .resources-items .top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  opacity: 0.1;
  transition: opacity 0.3s ease-in-out;
}
#game .gui .resources-items .top .tab {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgb(46, 46, 46);
  backdrop-filter: blur(3px);
  color: rgb(211, 210, 212);
  cursor: pointer;
}
#game .gui .resources-items .top .tab.active {
  color: rgb(187, 134, 252);
  border-color: rgb(76, 52, 122);
}
#game .gui .resources-items .top .tabs {
  display: flex;
  gap: 4px;
}
#game .gui .resources-items:hover .top {
  opacity: 0.8;
}
#game .gui .resources-items .resource-bank {
  backdrop-filter: blur(3px);
  border-radius: 8px;
  border: 1px solid rgb(46, 46, 46);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}
#game .gui .resources-items .resource-bank .resource {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
  cursor: pointer;
}
#game .gui .resources-items .resource-bank .resource:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
#game .gui .resources-items .resource-bank .resource .icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}
#game .gui .resources-items .resource-bank .resource .icon .image {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background-color: rgb(187, 134, 252);
}
#game .gui .resources-items .resource-bank .resource .title {
  font-size: 14px;
  min-width: 80px;
}
#game .gui .resources-items .resource-bank .resource .amount {
  font-size: 14px;
  color: rgb(187, 134, 252);
  text-align: right;
}
#game .gui .resources-items .item-bank {
  backdrop-filter: blur(3px);
  border-radius: 8px;
  border: 1px solid rgb(46, 46, 46);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
}
#game .gui .resources-items .item-bank .item {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 4px;
  align-items: center;
  padding: 4px 8px;
  cursor: pointer;
}
#game .gui .resources-items .item-bank .item:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
#game .gui .resources-items .item-bank .item .icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}
#game .gui .resources-items .item-bank .item .icon .circle {
  width: 12px;
  height: 12px;
  border-radius: 6px;
}
#game .gui .resources-items .item-bank .item .title {
  font-size: 14px;
}
#game .gui .resources-items .item-bank .item .level {
  font-size: 14px;
  color: rgb(160, 160, 160);
  text-align: right;
}
#game .gui .resources-items .item-bank .item .level span {
  color: rgb(187, 134, 252);
}
#game .gui .ship-controls {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  pointer-events: auto;
}
#game .gui .ship-controls .direction-control {
  width: 130px;
  height: 130px;
}
#game .gui .ship-controls .direction-control svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
#game .gui .ship-controls .direction-control .dir-center {
  filter: drop-shadow(0 0 4px rgba(187, 134, 252, 0.5));
}
#game .gui .ship-controls .direction-control .dir-slot {
  fill: rgba(187, 134, 252, 0.3);
  stroke: rgba(187, 134, 252, 0.4);
  stroke-width: 1;
  cursor: pointer;
  transition: filter 0.2s ease;
}
#game .gui .ship-controls .direction-control .dir-slot:hover {
  filter: drop-shadow(0 0 5px rgb(187, 134, 252)) drop-shadow(0 0 10px rgb(187, 134, 252)) drop-shadow(0 0 15px rgba(187, 134, 252, 0.9));
}
#game .gui .ship-controls .direction-control .dir-indicator {
  fill: rgb(187, 134, 252);
  stroke: rgb(187, 134, 252);
  stroke-width: 4;
  stroke-linejoin: round;
}
#game .gui .ship-controls .throttle-control {
  width: 50px;
  height: 130px;
}
#game .gui .ship-controls .throttle-control svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
#game .gui .ship-controls .throttle-control .throttle-bar {
  fill: rgba(187, 134, 252, 0.3);
  stroke: rgba(187, 134, 252, 0.4);
  stroke-width: 1;
  cursor: pointer;
  transition: filter 0.2s ease;
}
#game .gui .ship-controls .throttle-control .throttle-bar:hover {
  filter: drop-shadow(0 0 3px rgb(187, 134, 252)) drop-shadow(0 0 6px rgba(187, 134, 252, 0.8));
}
#game .gui .ship-controls .throttle-control .throttle-bar.active {
  fill: rgb(187, 134, 252);
  filter: drop-shadow(0 0 4px rgba(187, 134, 252, 0.6));
}
#game .gui .navigation {
  position: fixed;
  right: 16px;
  top: 16px;
  width: 300px;
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 8px;
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}
#game .gui .navigation .nav-map {
  width: 300px;
  height: 200px;
}
#game .gui .navigation .nav-status {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid rgb(76, 52, 122);
  padding: 4px 8px;
}
#game .gui .navigation .nav-status .nav-zone span {
  color: rgb(187, 134, 252);
}
#game .gui .navigation .nav-buttons {
  border-top: 1px solid rgb(76, 52, 122);
  padding: 4px;
}
#game .gui .navigation .nav-buttons button {
  width: 100%;
}
#game .gui .market {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  pointer-events: auto;
}
#game .gui .market .market-place {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 8px;
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  pointer-events: auto;
  overflow: hidden;
}
#game .gui .market .market-place .header {
  display: grid;
  grid-template-columns: 1fr auto;
}
#game .gui .market .market-place .header .close-btn {
  cursor: pointer;
  display: grid;
  place-items: center;
}
#game .gui .market .market-place .header .close-btn svg {
  fill: rgb(160, 160, 160);
  transition: fill 0.3s ease-in-out;
}
#game .gui .market .market-place .header .close-btn svg:hover {
  fill: rgb(187, 134, 252);
}
#game .gui .market .market-place .gallery {
  display: flex;
  gap: 16px;
  flex-direction: column;
}
#game .gui .market .market-place .items .item .ship {
  font-size: 12px;
}
#game .gui .market .market-place .footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
}
#game .gui .transaction {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}
#game .gui .transaction .transaction-modal {
  position: relative;
  min-width: 200px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#game .gui .transaction .transaction-modal .close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  fill: rgb(187, 134, 252);
}
#game .gui .transaction .transaction-modal .title {
  font-weight: bold;
  text-align: center;
}
#game .gui .transaction .transaction-modal .amount-input {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#game .gui .transaction .transaction-modal .amount-input input {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid rgb(76, 52, 122);
  background-color: transparent;
  color: white;
  text-align: center;
}
#game .gui .place-offer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 11;
}
#game .gui .place-offer .place-offer-modal {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
}
#game .gui .place-offer .place-offer-modal .header {
  border-bottom: 1px solid rgb(76, 52, 122);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
}
#game .gui .place-offer .place-offer-modal .header .close-btn {
  display: grid;
  place-items: center;
  fill: rgb(187, 134, 252);
  cursor: pointer;
}
#game .gui .place-offer .place-offer-modal .filters {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid rgb(76, 52, 122);
}
#game .gui .place-offer .approve-offer-modal {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
}
#game .gui .place-offer .approve-offer-modal .header {
  border-bottom: 1px solid rgb(76, 52, 122);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
}
#game .gui .place-offer .approve-offer-modal .header .close-btn {
  display: grid;
  place-items: center;
  fill: rgb(187, 134, 252);
  cursor: pointer;
}
#game .gui .place-offer .approve-offer-modal .form {
  padding: 8px;
}
#game .gui .place-offer .approve-offer-modal .form .total .value {
  color: rgb(187, 134, 252);
  font-weight: bold;
}
#game .gui .crafting {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 12;
}
#game .gui .crafting .craft-menu {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#game .gui .crafting .craft-menu .header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
#game .gui .crafting .craft-menu .header .title {
  font-weight: bold;
  font-size: 16px;
}
#game .gui .crafting .craft-menu .header .close-btn {
  cursor: pointer;
  display: grid;
  place-items: center;
}
#game .gui .crafting .craft-menu .header .close-btn svg {
  fill: rgb(160, 160, 160);
  transition: fill 0.3s ease-in-out;
}
#game .gui .crafting .craft-menu .header .close-btn svg:hover {
  fill: rgb(187, 134, 252);
}
#game .gui .crafting .craft-menu .content {
  padding: 8px;
}
#game .gui .crafting .craft-menu .content .blueprints {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
#game .gui .crafting .craft-menu .content .blueprints .blueprint {
  width: 100px;
  height: 100px;
  background: rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  border: 1px solid rgb(46, 46, 46);
  border-color: rgb(46, 46, 46);
  cursor: pointer;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border-radius: 3px;
}
#game .gui .crafting .craft-menu .content .blueprints .blueprint:hover {
  border-color: rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
}
#game .gui .crafting .craft-menu .content .blueprints .blueprint.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
#game .gui .crafting .craft-item {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#game .gui .crafting .craft-item .header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
#game .gui .crafting .craft-item .header .title {
  font-weight: bold;
  font-size: 16px;
}
#game .gui .crafting .craft-item .header .close-btn {
  cursor: pointer;
  display: grid;
  place-items: center;
}
#game .gui .crafting .craft-item .header .close-btn svg {
  fill: rgb(160, 160, 160);
  transition: fill 0.3s ease-in-out;
}
#game .gui .crafting .craft-item .header .close-btn svg:hover {
  fill: rgb(187, 134, 252);
}
#game .gui .crafting .craft-item .content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}
#game .gui .crafting .craft-item .content .source {
  display: grid;
  place-items: center;
  gap: 4px;
}
#game .gui .crafting .craft-item .content .source .resources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
#game .gui .crafting .craft-item .content .source .resources .resource {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 4px;
}
#game .gui .crafting .craft-item .content .source .resources .resource:hover .image .mock-image {
  border: 1px solid rgb(187, 134, 252);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
}
#game .gui .crafting .craft-item .content .source .resources .resource .image {
  display: grid;
  place-items: center;
}
#game .gui .crafting .craft-item .content .source .resources .resource .image .mock-image {
  width: 40px;
  height: 40px;
  background-color: rgb(18, 18, 18);
  border-radius: 50%;
  cursor: pointer;
  transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
#game .gui .crafting .craft-item .content .source .resources .resource .image .mock-image.active {
  border: 1px solid rgb(187, 134, 252);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
}
#game .gui .crafting .craft-item .content .source .resources .resource .amount {
  text-align: center;
  color: rgb(187, 134, 252);
}
#game .gui .crafting .craft-item .content .source .level-bar {
  background: rgba(0, 0, 0, 0.5);
  height: 16px;
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgb(46, 46, 46);
  overflow: hidden;
}
#game .gui .crafting .craft-item .content .source .level-bar .level-bar-fill {
  height: 100%;
  width: 0%;
  background-color: rgb(187, 134, 252);
  transition: width 0.3s ease-in-out;
}
#game .gui .crafting .craft-item .content .source .level-total {
  font-size: 12px;
}
#game .gui .crafting .craft-item .content .source .level-total .total-amount {
  color: rgb(187, 134, 252);
}
#game .gui .crafting .craft-item .content .source .level-text {
  font-size: 12px;
}
#game .gui .crafting .craft-item .content .item {
  min-width: 150px;
  min-height: 150px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid rgb(46, 46, 46);
  padding: 16px;
}
#game .gui .crafting .craft-item .content .item .crafted-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
#game .gui .crafting .craft-item .content .item .title {
  font-size: 14px;
  font-weight: bold;
  color: rgb(211, 210, 212);
}
#game .gui .crafting .craft-item .content .item .stats {
  font-size: 11px;
  color: rgb(160, 160, 160);
}
#game .gui .crafting .craft-item .available-resources {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#game .gui .crafting .craft-item .available-resources .resources {
  display: flex;
  gap: 8px;
}
#game .gui .crafting .craft-item .available-resources .resources .resource {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 4px;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease-in-out;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
#game .gui .crafting .craft-item .available-resources .resources .resource:hover {
  background-color: rgb(18, 18, 18);
}
#game .gui .crafting .craft-item .available-resources .resources .resource:hover .image .mock-image {
  border: 1px solid rgb(187, 134, 252);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
}
#game .gui .crafting .craft-item .available-resources .resources .resource .image {
  display: grid;
  place-items: center;
}
#game .gui .crafting .craft-item .available-resources .resources .resource .image .mock-image {
  width: 40px;
  height: 40px;
  background-color: rgb(18, 18, 18);
  border-radius: 50%;
  transition: border 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
#game .gui .crafting .craft-item .available-resources .resources .resource .amount {
  text-align: center;
  color: rgb(187, 134, 252);
}
#game .gui .crafting .craft-amount,
#game .gui .crafting .craft-edit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  border: 1px solid rgb(76, 52, 122);
  box-shadow: 0 0 3px 1px rgb(187, 134, 252);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 20;
}
#game .gui .crafting .craft-amount .title,
#game .gui .crafting .craft-edit .title {
  font-weight: bold;
}
#game .gui .crafting .craft-amount input,
#game .gui .crafting .craft-edit input {
  width: 100px;
}
#game .gui .crafting .craft-amount .buttons,
#game .gui .crafting .craft-edit .buttons {
  display: flex;
  gap: 8px;
}

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