/* FAX_MANUAL_ORIENTATION_UI_V1 */

#faxOrientationPanel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10050;
  width: 300px;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  font-size: 13px;
}

#faxOrientationPanel[hidden] {
  display: none !important;
}

#faxOrientationPanel .orientationTitle {
  margin-bottom: 6px;
  font-weight: 700;
}

#faxOrientationPanel .orientationStatus {
  min-height: 36px;
  margin-bottom: 8px;
  line-height: 1.45;
  white-space: pre-wrap;
}

#faxOrientationPanel .orientationButtons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

#faxOrientationPanel button {
  min-height: 34px;
  padding: 5px 8px;
  cursor: pointer;
}

#faxOrientationPanel button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

@media (max-width: 700px) {
  #faxOrientationPanel {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
  }
}
