:root {
  --bs-success: #198754;
  --bs-success-rgb: 25, 135, 84;
}

html {
  font-size: 16px;
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 35%);
  color: #1f2937;
}

a {
  color: #0b63ce;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.hero-section {
  padding: 5rem 0 2rem;
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 1.5rem 0 1rem;
  }
}

.navbar-logo {
  height: 28px;
  width: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #0b63ce;
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 48rem;
}

.hero-actions .btn {
  min-width: 18rem;
}

.create-button {
  box-shadow: 0 1rem 2rem rgba(11, 99, 206, 0.2);
}

.info-card,
.content-page {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.camera-panel {
  background: #f8fafc;
}

#qrVideo {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0f172a;
}

.finished-page {
  margin-top: 2rem;
}

.finished-qr {
  display: inline-block;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
}

.finished-qr-image {
  width: 280px;
  max-width: 100%;
  height: auto;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.language-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.language-option-flag {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
}

.pricing-plan-table .pricing-cta-description-row > th,
.pricing-plan-table .pricing-cta-description-row > td {
  border-bottom: 0 !important;
}

.pricing-plan-table .pricing-cta-button-row > th,
.pricing-plan-table .pricing-cta-button-row > td {
  border-top: 0 !important;
}

.pricing-feature-label-with-tooltip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pricing-feature-tooltip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 0;
  background-color: transparent;
  color: #0b63ce;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.pricing-feature-tooltip-button:hover {
  background-color: rgba(11, 99, 206, 0.1);
}

.footer .footer-link {
  color: inherit;
  text-decoration: none;
  vertical-align: baseline;
}

.footer .footer-link:hover,
.footer .footer-link:focus {
  text-decoration: underline;
}


.tenant-section {
  min-height: calc(100vh - 3.5rem);
  padding: 2rem 0;
}

.tenant-logo {
  max-height: 5rem;
  max-width: min(18rem, 100%);
  width: auto;
}

.tenant-region-stack {
  display: grid;
  gap: 1rem;
}

.tenant-region {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.06);
  padding: 0.25rem;
}

.tenant-region-header {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 0.75rem;
  justify-content: space-between;
  letter-spacing: 0.08em;
  list-style: none;
  padding: 0.875rem 1rem;
  text-transform: uppercase;
}

.tenant-region-header::-webkit-details-marker {
  display: none;
}

.tenant-region-header::after {
  content: "▾";
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.tenant-region:not([open]) .tenant-region-header::after {
  transform: rotate(-90deg);
}

.tenant-dashboard-frame {
  border: 0;
  border-radius: 0.75rem;
  display: block;
  margin: 0 1rem 1rem;
  min-height: 42rem;
  width: calc(100% - 2rem);
}

.tenant-region > .alert,
.tenant-region > .d-grid,
.tenant-region-card {
  margin: 0 1rem 1rem;
}

.tenant-region-card.info-card {
  box-shadow: none;
}
