/* PBS 0.8.1: fixed account navigation above the independently scrolling toolbox. */

.toolbox.panel-column {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pbs-account-dock {
  flex: 0 0 auto;
  padding: 14px 12px 12px;
  border-bottom: 1px solid #2b333c;
  background:
    linear-gradient(180deg, rgba(26, 29, 33, .99), rgba(16, 19, 23, .99));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .32);
  z-index: 6;
}

.pbs-account-button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ff9b2f;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff962f 0%, #e86f08 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 9px 22px rgba(137, 55, 0, .28);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
  transition: transform .14s ease, border-color .14s ease, filter .14s ease;
}

.pbs-account-button::after {
  content: "";
}

.pbs-account-button:hover,
.pbs-account-button:focus-visible {
  border-color: #ffc477;
  filter: brightness(1.08);
  transform: translateY(-1px);
  outline: none;
}

.pbs-account-button:active {
  transform: translateY(0);
}

.pbs-account-arrow {
  justify-self: start;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.pbs-toolbox-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #354352 #0b0e12;
  scrollbar-width: thin;
}

.pbs-toolbox-scroll .panel-heading {
  top: 0;
}

@media (max-width: 1180px) {
  .pbs-account-dock {
    padding: 11px 10px 10px;
  }

  .pbs-account-button {
    min-height: 54px;
    grid-template-columns: 30px 1fr 30px;
    font-size: 14px;
  }
}
