#hideout-map {
  border: 2px solid #fff;
  border-radius: 8px;
  height: 574px;
  background: rgba(100, 80, 200, .8);
  padding:10px;
}
.vertical-line:after {
  content: "";
  background-color: #000;
  width: 3px;
  height: 570px;
  top: -10px;
  right: 0;
  position: absolute;
}
.hideout_slot, .guard_slot {
  background-color: #2b2b2b;
  position: relative;
  height: 80px;
  max-width: 80px;
  cursor: pointer;
  border: 2px solid #444;
  border-radius: 5px;
  margin: 0 auto 15px auto;
}

.struct-bonus {
  font-style: italic;
  color: yellow;
}

/***workbench Stuff***/
.material-card{
  width: 100%;
  border: 1px solid #222;
  border-radius: 4px;
  padding: 12px;
  font-family: system-ui, Arial, sans-serif;
  color: #222;
  background: navajowhite;
  margin-bottom: 15px;
}
.material-card.missing-material{
  background: #f2c7b8;
  border-color: #8a2a16;
}
.material-row{
  display: flex;
  align-items: center;
  gap: 14px;
}
.material-imgbox{
  flex: 0 0 60px;
  height: 60px;
  border: 1px solid #222;
  border-radius: 4px;
  background: #eee;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #777;
  user-select: none;
}
.material-right{ flex: 1 1 auto; min-width: 0; }
.material-upgrades {
  float: right;
  margin:10px;
  text-align: center;
}

@media screen and (max-width: 465px) {
  .material-row button, .material-label {
    font-size: 11px;
  }
}
@media screen and (max-width: 720px) {
  .craft_wep {
    max-height: 205px;
  }
}


/* Progress bar */
.material-progress{
  position: relative;
  height: 18px;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  background: #f1f1f1;
  overflow: hidden;
}
.material-fill{
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(180deg, #4aa3ff, #2b7fe3);
  border-right: 1px solid rgba(0,0,0,.15);
}
.material-pct{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #000;
}

.material-imgbox img.material-img{
  max-width:100%;
  max-height:100%;
  display:block;
  object-fit:contain;
}


/* Guaranteed pill */
.material-meta{ margin-top: 8px; }
.material-guaranteed{
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid #2b7fe3;
  border-radius: 999px;
  background: #eaf3ff;
  color: #1b5fb7;
  font-size: 12px;
  font-weight: 700;
}
.material-guaranteed[hidden]{ display: none; }

.material-label{
  margin-top: 8px;
  font-size: 13px;
  color: #000;
}

/*add to main css file???*/
.r-text {
  white-space: nowrap;
}
button.r-text {
  white-space: break-spaces;
}

.craft_wep {
  margin: 0 auto 25px auto;
  max-width: 360px;
  cursor: pointer;
}

.craft_wep .btn {
  margin-top: 8px;
}
