/**********************/
/** UNIVERSAL NAV BUTTONS (Prev/Next) **/
/** Based on highlightReader triangle-nav design **/

.btnNavUniversal {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 120px;
  font-size: 48px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.15);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.15s ease;
  user-select: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btnNavUniversal:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.btnNavUniversal:active {
  transform: translateY(-50%) scale(0.96);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btnNavUniversal.prev {
  left: 20px;
}

.btnNavUniversal.next {
  right: 20px;
}

/* Icon styling for nav buttons */
.btnNavUniversal img {
  width: 40px;
  height: 40px;
  display: block;
}

/* White background with black button variation */
.btnNavUniversal.whitebgBlackBtn {
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.btnNavUniversal.whitebgBlackBtn:hover {
  background-color: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
}

.btnNavUniversal.whitebgBlackBtn img {
  filter: brightness(0);
}

/* Medium-light gray background with black arrow variation */
.btnNavUniversal.gray {
  background-color: #bbb;
  color: black;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.btnNavUniversal.gray:hover {
  background-color: #aaa;
  border-color: rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
}

.btnNavUniversal.gray img {
  filter: brightness(0);
}

/* Inline variant - for flex/inline layouts (no absolute positioning) */
.btnNavUniversal.inline {
  position: static;
  transform: none;
  height: 60px;
  width: auto;
  min-width: 80px;
}

.btnNavUniversal.inline:hover {
}

.btnNavUniversal.inline:active {
  transform: scale(0.96);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
