#modal-icu-upc-picker {
  --grid-gap: 1rem;
  --cell-width: 3rem;
  --cell-height: 4rem;

  font-size: 1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(223, 202, 174);
  text-shadow:
    1px 0 0 #000,
    0 -1px 0 #000,
    0 1px 0 #000,
    -1px 0 0 #000;

  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1rem;
}

.hidden {
  display: none;
}

#grids-container {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: calc(var(--grid-gap) * 2);
  height: 100%;
}

.planogram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--grid-gap);
  max-height: 95%;
}

#grids-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#grids-container li {
  background-color: antiquewhite;
  border-radius: 5px;
  width: var(--cell-width);
  height: var(--cell-height);
  cursor: pointer;
  text-align: center;
  line-height: 300%;
  box-shadow:
    1px 1px 5px rgba(255, 255, 255, 0.089),
    -1px -1px 5px rgba(255, 255, 255, 0.062);
}

.planogram-grids {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--grid-gap) * 2);
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 0.25rem;
}

.grid-container {
  display: flex;
  flex-direction: column;
  gap: var(--grid-gap);
}

.panel {
  display: grid;
  grid-auto-flow: row;
  gap: var(--grid-gap);
  padding: var(--grid-gap);
  border-radius: 5px;
}

#grids-container .selected {
  background: linear-gradient(46deg, #720072, violet) !important;
}

#modal-icu-upc-picker button {
  background-color: rgb(174, 198, 243);
  font-weight: bold;
  display: block;
  margin: 0 auto;
  border: 0;
  border-radius: 5px;
  width: 8rem;
  height: 4rem;
  font-size: 1.5rem;
}

#modal-icu-upc-picker button:hover {
  filter: brightness(90%);
}

#upc-submit-btn:active,
#wink-submit-btn:active {
  border: 2px solid rgba(102, 101, 101, 0.678);
}
