html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Ensure fixed footer doesn't overlap content: add bottom padding to main container */
main[role="main"] {
  padding-bottom: 80px; /* a bit larger than footer height */
}

/* Large action buttons on Index page */
.action-row .action-btn {
  /* double vertical padding to increase height */
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  /* increase font size by 1.5x */
  font-size: 1.5em;
  /* keep buttons vertically centered */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remove any default button border radius if you want block look (optional) */
.action-row .action-btn {
  border-radius: 0.5rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Facility slot peak / off-peak styles moved from page inline styles */
.facility-slot-peak {
  background: linear-gradient(180deg, #fff6e0 0%, #ffe49a 100%);
  border: 1px solid #ffcc66;
  color: #3b2f00;
}

.facility-slot-offpeak {
  background: linear-gradient(180deg, #eef4f8 0%, #d1dbe6 100%);
  border: 1px solid #b9ccd9;
  color: #12202b;
}

.facility-slot-peak .btn,
.facility-slot-offpeak .btn {
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  border-width: 1px;
}

.table td.facility-slot-peak,
.table td.facility-slot-offpeak {
  vertical-align: middle;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* Non-bookable slot muted text */
.slot-not-available {
  color: #6c757d; /* bootstrap text-muted color */
  font-size: 0.9rem;
}

/* Session timeout modals must appear above page-level confirmation modals */
#sessionWarningModal,
#sessionTimeoutModal {
  z-index: 2000;
}

.session-timeout-backdrop {
  z-index: 1990 !important;
}
