/* Accessible site-wide rental pause notice and paused application controls. */
.rental-pause-notice {
  position: sticky;
  top: 0;
  z-index: 998;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #c2410c;
  background: #fff7ed;
  color: #7c2d12;
  font: 600 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

body[data-rental-pause-page="true"] {
  padding: 0;
}

body[data-rental-pause-page="true"] > .container {
  margin: 20px auto;
}

.rental-pause-trigger,
.rental-pause-trigger:hover,
.rental-pause-trigger:focus-visible {
  background: #4b5563 !important;
  border-color: #4b5563 !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  filter: saturate(.35);
  opacity: .86;
  text-decoration: none !important;
}

.rental-pause-trigger:focus-visible {
  outline: 3px solid #f59e0b !important;
  outline-offset: 3px;
}

.rental-pause-dialog {
  box-sizing: border-box;
  width: min(90vw, 28rem);
  max-width: 28rem;
  padding: 1.5rem;
  border: 0;
  border-radius: .75rem;
  color: #1f2937;
  box-shadow: 0 18px 48px rgb(0 0 0 / 28%);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rental-pause-dialog::backdrop {
  background: rgb(17 24 39 / 58%);
}

.rental-pause-dialog h2 {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.rental-pause-dialog p {
  margin: 0 0 1.25rem;
}

.rental-pause-dialog button {
  min-height: 44px;
  padding: .55rem 1.25rem;
  border: 0;
  border-radius: .4rem;
  background: #374151;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.rental-pause-dialog button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .rental-pause-notice {
    padding: 10px 12px;
    font-size: 14px;
  }
}
