.inventory-slot {
  width: 70px;
  height: 70px;
  border: 1px solid;
  margin: 2px;
  display: inline-block;
  cursor: pointer;
  position: relative;
  border-radius: 1rem;
}
.kit-content,
.inventory-section {
  padding: 10px;
  margin-bottom: 15px;
}
.section-label {
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
}
.item {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.item-amount {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 10px;
  padding: 1px 3px;
  border-radius: 2px;
  z-index: 1;
}
.kit-header {
  color: white;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 10px solid var(--kit-header-border);
}
.slot-container {
  display: grid;
  gap: 2px;
}
#gearSlots > div {
  width: 60px;
  height: 60px;
}
#gearSlots {
  grid-template-columns: repeat(7, 63px);
  justify-content: center;
}
#mainInventory,
#beltSlots {
  grid-template-columns: repeat(6, 74px);
  justify-content: center;
}
#availableItemsList {
  grid-template-columns: repeat(5, 74px);
  justify-content: center;
}
.modal-dialog {
  max-width: 450px;
  margin: 1.75rem auto;
}
.remove-indicator {
  position: absolute;
  top: -5px;
  right: 4px;
  width: 10px;
  height: 10px;
}
:root[data-bs-theme='dark'] {
  --inventory-slot-bg: #121212;
  --inventory-slot-border: #454545;
  --section-label-color: #ffffff;
  --kit-header-bg: #c93f2a;
  --kit-header-border: white;
}
.inventory-slot {
  background-color: #121212;
  border-color: #454545;
  border-width: 1px;
  border-radius: 1rem !important;
}

.section-label {
  color: var(--section-label-color);
}

.kit-header {
  background-color: var(--kit-header-bg);
}

.kit-content .inventory-section:last-child {
  margin-bottom: 0;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #c93f2a;
}

.inventory-slot {
  border-radius: 0 !important;
}

.card-title {
  color: #c93f2a;
}
.left-text,
.right-text {
  display: flex;
  align-items: center;
}

.left-text {
  justify-content: flex-start;
}

.right-text {
  justify-content: flex-end;
}
@media (max-width: 768px) {
  /* For screens smaller than 768px (tablets and below), reduce the slot size */
  #gearSlots > div,
  #mainInventory > div,
  #beltSlots > div {
    width: 55px; /* Smaller slot size */
    height: 55px; /* Smaller slot size */
  }
}

@media (max-width: 480px) {
  #gearSlots > div,
  #mainInventory > div,
  #beltSlots > div {
    width: 50px;
    height: 50px;
  }
  #gearSlots {
    grid-template-columns: repeat(7, 50px);
    justify-content: center;
  }
  #mainInventory,
  #beltSlots {
    grid-template-columns: repeat(6, 60px);
    justify-content: normal;
  }
}
.form-control.item-amount {
  width: 46px;
  right: 2px;
  top: 53px;
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 80%;
}
