@font-face {
  font-family: "DSEG14ClassicMini";
  src: url("./fonts/DSEG14ClassicMini-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  font-family: "Segoe UI Regular";
  font-size: 11px;
}

html {
  height: 100vh;
  width: 100vw;
}

body {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(32, 33, 34);
}

button {
  position: relative;
  border-radius: 0px;
  border-top: 1px solid white;
  border-right: 1px solid #696969;
  border-left: 1px solid white;
  border-bottom: 1px solid #696969;
  font-size: 11px;
}
button::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  border-top: 1px solid #e3e3e3;
  border-right: 1px solid #a0a0a0;
  border-left: 1px solid #e3e3e3;
  border-bottom: 1px solid #a0a0a0;
  pointer-events: none;
}
button:enabled:active {
  padding: 2px 0 0 2px;
  border: 1px solid #646464;
}
button:enabled:active::after {
  border: 1px solid #a0a0a0;
}

input {
  height: 19px;
  width: 95px;
  border-radius: 0;
  border-top: 1px solid #696969;
  border-right: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
  border-left: 1px solid #696969;
}
input:focus {
  outline: none;
}

.input-border {
  height: 21px;
  width: 97px;
  border-top: 1px solid #a0a0a0;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-left: 1px solid #a0a0a0;
}

input[type=number] {
  height: 22px;
  margin-left: 8px;
}
input[type=number]:focus-visible {
  outline: none;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: -moz-max-content;
  width: max-content;
  height: -moz-max-content;
  height: max-content;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
}

dialog .title .close-dialog {
  height: 14px;
  width: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #696969;
  border-bottom: 1px solid #696969;
  border-left: 1px solid #ffffff;
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
}

dialog .title .close-dialog:active {
  border-top: 1px solid #696969;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-left: 1px solid #696969;
}

main {
  height: 457px;
  width: 409px;
  padding: 4px 2px 3px 4px;
  background-color: #f0f0f0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 22px 17px 130px 33px 220px;
}
main .title {
  display: flex;
  gap: 4px;
  grid-column: 1/-1;
  background-color: #ffffff;
}
main .title img {
  height: 16px;
}
main .nav {
  grid-column: 1/-1;
  background-color: #ffffff;
}
main .nav ul {
  display: flex;
  list-style: none;
  gap: 14px;
}
main .nav ul li {
  position: relative;
}
main .nav ul li .title {
  display: block;
  padding: 1px 7px;
  border: 1px solid transparent;
}
main .nav ul li .title:hover {
  border: 1px solid #cce8ff;
  background-color: #e5f3ff;
}
main .nav ul li .menu-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 11px;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  background-color: #f2f2f2;
  transition: opacity 150ms ease-in-out;
  padding: 3px;
  border: 1px solid #cccccc;
}
main .nav ul li .menu-item .checkbox {
  height: 22px;
  width: 22px;
  background-color: #90c8f6;
}
main .nav ul li .menu-item .option {
  display: flex;
  align-items: center;
}
main .nav ul li:hover .menu-item {
  opacity: 1;
  visibility: visible;
}
main .stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
main .stats div {
  height: 20px;
  width: 196px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  background-color: black;
}
main .stats div span {
  height: 14px;
  width: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #004000;
  color: #00ff00;
  font-family: "DSEG14ClassicMini", "Courier New", monospace;
  font-size: 16px;
  line-height: 1;
}
main .stats div.debt span {
  background-color: #400000;
  color: #ff0000;
}
main .stats div.guns span {
  background-color: #2e2f00;
  color: #ffff00;
}
main .locations {
  display: flex;
  justify-content: center;
  align-items: center;
}
main .locations .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 8px;
  border: 1px solid #ffffff;
  padding: 14px 3px 4px 4px;
}
main .locations .container:before {
  content: attr(data-title);
  position: absolute;
  top: -7px;
  left: 5px;
  background-color: #f0f0f0;
  z-index: 0;
}
main .locations .container:after {
  content: "";
  position: absolute;
  border: 1px solid #a0a0a0;
  z-index: -1;
  top: -2px;
  left: -2px;
  height: calc(100% + 2px);
  width: calc(100% + 2px);
}
main .locations .container button {
  height: 30px;
  width: 88px;
}
main .health {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}
main .health progress {
  position: relative;
  height: 17px;
  width: 157px;
  border: 1px solid black;
  border-radius: 0;
}
main .health progress::after {
  content: attr(value) "%";
  position: absolute;
  width: 100%;
  top: -1px;
  left: 0;
  z-index: 0;
  text-align: center;
  color: #ffff00;
}
main .health progress[value]::-webkit-progress-bar {
  background-color: red;
  color: #0000ff;
}
main .health progress[value]::-webkit-progress-value {
  position: relative;
  background-color: #0000ff;
}
main .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
main .actions button {
  height: 25px;
  width: 60px;
}
main .drugs, main .inventory {
  font-size: 11px;
  background-color: #f0f0f0;
}
main .drugs .container, main .inventory .container {
  padding: 0 2px 0 0;
  background-color: white;
  position: relative;
  height: 197px;
  width: 193px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #a0a0a0;
  border-right: 1px solid white;
  border-left: 1px solid #a0a0a0;
  border-bottom: 1px solid white;
}
main .drugs .container:after, main .inventory .container:after {
  content: "";
  position: absolute;
  height: 195px;
  width: 191px;
  top: 0px;
  left: 0px;
  border-top: 1px solid #696969;
  border-right: 1px solid #e3e3e3;
  border-left: 1px solid #696969;
  border-bottom: 1px solid #e3e3e3;
  pointer-events: none;
}
main .drugs .container .header, main .inventory .container .header {
  display: flex;
  gap: 1px;
  height: 16px;
  margin-bottom: 3px;
}
main .drugs .container .header span, main .inventory .container .header span {
  border-bottom: 1px solid #a0a0a0;
  border-right: 1px solid #a0a0a0;
  background: #f0f0f0;
}
main .drugs .container .drug, main .inventory .container .drug {
  display: flex;
  align-items: end;
  padding: 1px 0 0 0;
  gap: 1px;
  height: 14px;
  margin-left: 2px;
  border: 1px solid transparent;
}
main .drugs .container .drug.selected, main .inventory .container .drug.selected {
  border: 1px dotted #ff8728;
  background: #0078d7;
  color: white;
}
main .drugs .container .name, main .inventory .container .name {
  width: 114px;
  padding: 0 0 0 4px;
}
main .drugs .container .price, main .inventory .container .price {
  width: 77px;
  padding: 0 5px 0 0;
  text-align: right;
}
main .drugs .container span, main .inventory .container span {
  pointer-events: none;
}
main .inventory .name {
  width: 89px;
}
main .inventory .qty {
  width: 52px;
  text-align: right;
  padding: 0 5px 0 0;
}
main .inventory .price {
  width: 49px;
}
main .options {
  display: flex;
  justify-content: flex-end;
  grid-column: 1/-1;
  align-items: flex-end;
  gap: 9px;
}
main .options button {
  height: 25px;
  width: 75px;
}

.transaction-dialog {
  border: 1px solid #696a67;
}
.transaction-dialog .container {
  height: 125px;
  width: 379px;
  display: grid;
  grid-template-rows: 25px 1fr;
  grid-template-columns: 288px 1fr;
  gap: 4px;
  background-color: #f0f0f0;
}
.transaction-dialog .container .title {
  display: flex;
  justify-content: space-between;
  grid-column: 1/-1;
  padding: 7px 10px 0 4px;
  background-color: #ffffff;
}
.transaction-dialog .container .amount {
  height: 88px;
  width: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 3px 9px 11px;
  margin: 0 0 8px 4px;
  border: 1px solid white;
  z-index: 0;
}
.transaction-dialog .container .amount .name {
  text-transform: lowercase;
}
.transaction-dialog .container .amount .input-border {
  height: 22px;
  width: 97px;
}
.transaction-dialog .container .amount input {
  height: 20px;
  width: 95px;
  padding: -1px 0 0 5px;
}
.transaction-dialog .container .amount input:focus-visible {
  outline: none;
}
.transaction-dialog .container .amount:after {
  content: "";
  position: absolute;
  border: 1px solid #a0a0a0;
  z-index: -1;
  top: -2px;
  left: -2px;
  height: calc(100% + 2px);
  width: calc(100% + 2px);
}
.transaction-dialog .container .actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.transaction-dialog .container .actions button {
  height: 25px;
  width: 75px;
}
.transaction-dialog .container .actions img {
  width: 31px;
}

.finances-dialog, .finances-amount-dialog {
  border: 1px solid #696a67;
}
.finances-dialog .container, .finances-amount-dialog .container {
  height: 165px;
  width: 239px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background-color: #f0f0f0;
}
.finances-dialog .container .title {
  height: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
}
.finances-dialog .container .row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 4px 0 8px;
  gap: 5px;
}
.finances-dialog .container .row span {
  display: flex;
  align-items: center;
}
.finances-dialog .container .row button {
  height: 26px;
  width: 75px;
}
.finances-dialog .container .row:last-of-type {
  margin-top: 5px;
}
.finances-dialog .container .row:last-of-type img {
  margin-right: auto;
}

.finances-amount-dialog .container {
  height: 125px;
  width: 294px;
  display: grid;
  grid-template-rows: 25px 1fr;
  grid-template-columns: 207px 1fr;
  gap: 4px;
}
.finances-amount-dialog .container .title {
  grid-column: 1/-1;
  padding: 7px 10px 0 4px;
}
.finances-amount-dialog .container .amount {
  height: 88px;
  width: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 3px 9px 11px;
  margin: 0 0 8px 4px;
  border: 1px solid white;
  z-index: 0;
}
.finances-amount-dialog .container .amount input {
  width: 95px;
}
.finances-amount-dialog .container .amount:after {
  content: "";
  position: absolute;
  border: 1px solid #a0a0a0;
  z-index: -1;
  top: -2px;
  left: -2px;
  height: calc(100% + 2px);
  width: calc(100% + 2px);
}
.finances-amount-dialog .container .actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.finances-amount-dialog .container .actions button {
  height: 25px;
  width: 75px;
}
.finances-amount-dialog .container .actions img {
  width: 32px;
}

.alert .container {
  height: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background-color: #f0f0f0;
}
.alert .container .title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 7px 10px 0 4px;
  background-color: #ffffff;
}
.alert .container p {
  padding: 13px;
}
.alert .container button {
  height: 26px;
  width: 75px;
}/*# sourceMappingURL=style.css.map */
