.rand-body {
  min-height: 100vh;
  margin: 0;
  color: #eff5fb;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(122, 169, 130, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(35, 82, 126, 0.28), transparent 34%),
    linear-gradient(180deg, #07111d 0%, #0b1727 46%, #101f33 100%);
}

.rand-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.rand-shell__content {
  position: relative;
  z-index: 1;
}

.rand-shell__glow {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.42;
  pointer-events: none;
}

.rand-shell__glow--one {
  top: -12rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(122, 169, 130, 0.55) 0%, rgba(122, 169, 130, 0.08) 62%, transparent 75%);
}

.rand-shell__glow--two {
  bottom: -14rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(72, 112, 160, 0.45) 0%, rgba(72, 112, 160, 0.08) 62%, transparent 75%);
}

.rand-page {
  display: grid;
  gap: 1.25rem;
}

.rand-card {
  background: rgba(9, 18, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rand-hero {
  background:
    linear-gradient(135deg, rgba(18, 39, 66, 0.94), rgba(9, 18, 31, 0.76)),
    rgba(9, 18, 31, 0.72);
}

.rand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(239, 245, 251, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
}

.rand-hero__title,
.rand-section-title {
  font-family: "Fraunces", Georgia, serif;
  color: #ffffff;
}

.rand-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.rand-hero__copy,
.rand-muted {
  color: rgba(239, 245, 251, 0.74);
}

.rand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: #ffffff;
}

.rand-chip--accent {
  background: rgba(122, 169, 130, 0.18);
}

.rand-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(122, 169, 130, 0.16);
  color: #dff3e4;
  font-weight: 700;
}

.rand-progress {
  width: 100%;
  height: 0.95rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.rand-progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.rand-progress::-webkit-progress-value {
  background: linear-gradient(135deg, #7aa982, #55b0a8);
  border-radius: 999px;
}

.rand-progress::-moz-progress-bar {
  background: linear-gradient(135deg, #7aa982, #55b0a8);
  border-radius: 999px;
}

.rand-info-box {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rand-info-box__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(239, 245, 251, 0.62);
  margin-bottom: 0.35rem;
}

.rand-info-box__value {
  color: #ffffff;
  word-break: break-word;
}

.rand-mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9rem;
}

.rand-table-wrap table {
  color: #f5f9fc;
}

.rand-table-wrap thead th {
  color: rgba(239, 245, 251, 0.8);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.rand-table-wrap tbody td,
.rand-table-wrap tbody th {
  border-color: rgba(255, 255, 255, 0.08);
}

.rand-table-wrap a {
  color: #bde1c5;
}

.rand-card .site-button {
  border: 1px solid rgba(31, 41, 55, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
  color: #4b5563;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.rand-card .site-button:hover,
.rand-card .site-button:focus {
  border-color: rgba(31, 41, 55, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #eceff3 100%);
  color: #374151;
}

.rand-card .form-control,
.rand-card .form-select {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.rand-card .form-control:focus,
.rand-card .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(122, 169, 130, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(122, 169, 130, 0.16);
}

.rand-card .form-control::placeholder {
  color: rgba(239, 245, 251, 0.45);
}

.rand-empty-state {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: rgba(239, 245, 251, 0.7);
  background: rgba(255, 255, 255, 0.03);
}

.rand-upload-card .rand-upload-input {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.rand-upload-card .rand-upload-input::file-selector-button {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  margin-right: 0.85rem;
  padding: 0.5rem 1rem;
}

.rand-upload-card .rand-upload-input:hover::file-selector-button {
  background: rgba(255, 255, 255, 0.16);
}

#job-message,
#job-fileLocation {
  word-break: break-word;
}

@media (max-width: 767px) {
  .rand-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .rand-hero__title {
    font-size: 1.8rem;
  }
}
/*
 * Application-wide styling.
 * The site still uses Bootstrap for structure, but these variables and shell
 * styles give the app a more polished, consistent visual language.
 *


 */

:root {
  --site-bg: #f0f2f4;
  --site-bg-alt: #e5e8eb;
  --site-surface: rgba(255, 255, 255, 0.88);
  --site-surface-strong: #ffffff;
  --site-border: rgba(36, 45, 56, 0.1);
  --site-text: #25313d;
  --site-muted: #697684;
  --site-primary: #2c3742;
  --site-primary-2: #46515d;
  --site-accent: #818b94;
  --site-accent-2: #b3bbc2;
  --site-shadow: 0 24px 80px rgba(26, 33, 41, 0.1);
  --site-shadow-soft: 0 12px 30px rgba(26, 33, 41, 0.07);
  --site-radius-xl: 30px;
  --site-radius-lg: 22px;
  --site-radius-md: 16px;
  --site-radius-sm: 12px;
  --site-content-max: 1320px;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(122, 169, 130, 0.28);
  color: var(--site-primary);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.app-body {
  min-height: 100vh;
  color: var(--site-text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f7f9fb 0%, var(--site-bg) 52%, var(--site-bg-alt) 100%) !important;
}

.app-shell {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 1.25rem 0 3.5rem;
  background: transparent;
}

.app-shell--bare {
  min-height: 100vh;
}

.app-shell__content {
  position: relative;
  z-index: 1;
  max-width: var(--site-content-max);
}

.app-shell__glow {
  display: none;
}

.app-shell__glow--one {
  top: -10rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(120, 138, 156, 0.12) 0%, rgba(120, 138, 156, 0.03) 60%, transparent 72%);
}

.app-shell__glow--two {
  bottom: -12rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(135, 149, 168, 0.12) 0%, rgba(135, 149, 168, 0.03) 60%, transparent 72%);
}

.page-surface {
  position: relative;
  overflow: visible;
  background: rgba(233, 238, 244, 0.98) !important;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-xl);
  box-shadow: 0 20px 56px rgba(26, 33, 41, 0.08);
  padding: 1.65rem;
}

.page-surface::before {
  display: none;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(135deg, #112134, #1c324c);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 24px rgba(16, 37, 63, 0.12);
}

.site-navbar .container {
  gap: 1rem;
}

.site-navbar__inner {
  min-height: 4.8rem;
}

.site-navmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  padding: 0 !important;
  margin-right: 0.35rem;
  flex: 0 0 auto;
}

.site-navmark__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.78rem;
  background: #304151;
  box-shadow: 0 8px 18px rgba(10, 18, 28, 0.18);
}

.site-navmark__letter {
  color: #f7fbff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}

.site-navmark__dot {
  position: absolute;
  top: 0.45rem;
  right: 0.38rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #9ab0c3;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.site-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
}

.site-logo__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-logo__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.02rem;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0.01em;
  line-height: 1;
}

.site-logo__name {
  font-size: 1.2rem;
  font-weight: 700;
}

.site-logo__tld {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.site-logo--dark .site-logo__name,
.site-logo--dark .site-logo__tld {
  color: #ffffff;
}

.site-logo--icon {
  gap: 0;
}

.site-logo--icon .site-logo__mark {
  width: 2.25rem;
  height: 2.25rem;
}

.site-logo--light {
  margin-bottom: 0.35rem;
}

.home-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.home-hero__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 0.95;
}

.home-hero__wordmark-name {
  color: #25313d;
  font-size: clamp(1.95rem, 4.8vw, 3.2rem);
  font-weight: 700;
}

.home-hero__wordmark-tld {
  color: #697684;
  font-size: clamp(1.45rem, 3.5vw, 2.35rem);
  font-weight: 600;
}

.home-hero__title-copy {
  display: block;
  max-width: 14ch;
}

.rand-card input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.7;
}

.ifta-dashboard-section {
  border: 1px solid rgba(36, 45, 56, 0.1);
  border-radius: 1rem;
  background: #fff;
}

.ifta-dashboard-section__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--site-text);
}

.ifta-dashboard-section__summary::-webkit-details-marker {
  display: none;
}

.ifta-dashboard-section__summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--site-muted);
}

.ifta-dashboard-section[open] .ifta-dashboard-section__summary {
  border-bottom: 1px solid rgba(36, 45, 56, 0.08);
}

.ifta-dashboard-section[open] .ifta-dashboard-section__summary::after {
  content: "-";
}

.ifta-dashboard-section__body {
  padding: 1rem 1.25rem 1.25rem;
}

.ifta-date-range {
  position: relative;
}

.ifta-date-range__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(36, 45, 56, 0.14);
  border-radius: 0.9rem;
  background: #f8fafc;
  color: var(--site-text);
  font-weight: 500;
  text-align: left;
}

.ifta-date-range__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e8eef5;
  color: var(--site-primary);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ifta-date-range__panel {
  position: relative;
  margin-top: 0.6rem;
  width: 100%;
  max-width: 46rem;
  padding: 1rem;
  border: 1px solid rgba(36, 45, 56, 0.12);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(26, 33, 41, 0.12);
}

.ifta-date-range__tabs {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: #eef2f6;
  margin-bottom: 0.95rem;
}

.ifta-date-range__tab {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--site-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
}

.ifta-date-range__tab--active {
  background: #ffffff;
  color: var(--site-primary);
  box-shadow: 0 2px 10px rgba(26, 33, 41, 0.08);
}

.ifta-date-range__panel-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ifta-date-range__nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(36, 45, 56, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--site-text);
  font-size: 1.25rem;
  line-height: 1;
}

.ifta-date-range__months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ifta-date-range__month {
  border: 1px solid rgba(36, 45, 56, 0.08);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: #fbfcfd;
}

.ifta-date-range__month-label {
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.ifta-date-range__weekday-row,
.ifta-date-range__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.2rem;
}

.ifta-date-range__weekday-row {
  margin-bottom: 0.3rem;
  color: var(--site-muted);
  font-size: 0.74rem;
  text-align: center;
}

.ifta-date-range__day {
  height: 2.1rem;
  border: 0;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--site-text);
  font-size: 0.88rem;
}

.ifta-date-range__day:hover,
.ifta-date-range__day:focus {
  background: #eef3f8;
}

.ifta-date-range__day--empty {
  pointer-events: none;
}

.ifta-date-range__day--today {
  box-shadow: inset 0 0 0 1px rgba(36, 45, 56, 0.18);
}

.ifta-date-range__day--in-range {
  background: #e7f0f8;
  border-radius: 0;
}

.ifta-date-range__day--preview {
  background: #dce9f5;
  border-radius: 0;
}

.ifta-date-range__day--hover-end {
  background: #23496c;
  color: #fff;
  border-radius: 0.65rem;
}

.ifta-date-range__day--start,
.ifta-date-range__day--end {
  background: #23496c;
  color: #fff;
}

.ifta-date-range__day--start:hover,
.ifta-date-range__day--start:focus,
.ifta-date-range__day--end:hover,
.ifta-date-range__day--end:focus,
.ifta-date-range__day--hover-end:hover,
.ifta-date-range__day--hover-end:focus {
  background: #1a3854;
  color: #fff;
}

.ifta-date-range__day--start.ifta-date-range__day--end {
  border-radius: 0.65rem;
}

.ifta-date-range__panel-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

.ifta-date-range__preset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.ifta-date-range__preset-head .form-select {
  max-width: 8rem;
}

.ifta-date-range__preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ifta-date-range__preset-grid--months {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ifta-date-range__preset {
  border: 1px solid rgba(36, 45, 56, 0.12);
  border-radius: 0.9rem;
  background: #fbfcfd;
  color: var(--site-text);
  font-weight: 600;
  min-height: 3rem;
}

.ifta-date-range__preset--active {
  background: #2f5f89;
  color: #ffffff;
  border-color: #2f5f89;
}

@media (max-width: 991px) {
  .ifta-date-range__panel {
    width: min(32rem, 100vw - 2rem);
  }

  .ifta-date-range__months {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .ifta-date-range__preset-grid,
  .ifta-date-range__preset-grid--months {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ifta-report-row {
  cursor: pointer;
}

.ifta-report-row:hover td {
  background: rgba(16, 37, 63, 0.04);
}


.site-logo--wordmark {
  gap: 0;
}

.site-logo--wordmark .site-logo__name {
  color: var(--site-primary);
  font-size: 1.06rem;
  font-weight: 700;
}

.site-logo--wordmark .site-logo__tld {
  color: var(--site-muted);
  font-size: 0.95rem;
}

.about-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1;
}

.about-wordmark__name {
  color: var(--site-primary);
  font-size: 1.06rem;
  font-weight: 700;
}

.about-wordmark__tld {
  color: var(--site-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav-links,
.site-nav-actions {
  align-items: center;
  gap: 0.45rem;
}

.site-nav-links {
  margin-left: 0.65rem;
}

.site-nav-actions {
  gap: 0.75rem;
}

.site-nav-actions__account,
.site-nav-actions__logout {
  display: flex;
  align-items: center;
}

.site-logout-form {
  margin: 0;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(122, 169, 130, 0.2);
}

.navbar-dark .navbar-nav .nav-link {
  color: #f8fbff;
  border-radius: 999px;
  padding: 0.58rem 0.92rem;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #10253f;
  background: #f3f7fb;
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.16);
}

.site-account-pill {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding-inline: 1rem !important;
}

.site-logout-btn {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  padding-inline: 1rem;
}

.site-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius-md);
  box-shadow: var(--site-shadow-soft);
  padding: 0.95rem 1rem;
}

.alert-soft {
  background: rgba(255, 255, 255, 0.94);
}

.site-alert strong {
  white-space: nowrap;
  font-size: 0.95rem;
}

.site-alert .btn-close {
  margin-left: auto;
  opacity: 0.7;
}

.site-alert--notice {
  border-left: 4px solid #4f8d61;
}

.site-alert--warning {
  border-left: 4px solid #c79b2b;
}

.site-alert--error {
  border-left: 4px solid #c45858;
}

.card {
  border-radius: var(--site-radius-lg);
  border-color: rgba(16, 37, 63, 0.08);
  box-shadow: var(--site-shadow-soft);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
}

.table {
  color: var(--site-text);
}

.table-responsive {
  border: 1px solid rgba(16, 37, 63, 0.07);
  border-radius: var(--site-radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.delivery-history-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.delivery-history-table {
  min-width: 860px;
}

.parking-renter-col {
  width: 205px;
  min-width: 205px;
  max-width: 205px;
}

.parking-renter-col--page {
  width: 235px;
  min-width: 235px;
  max-width: 235px;
}

.parking-renter-col__text {
  display: block;
  font-weight: 600;
  line-height: 1.2;
}

.parking-renter-col__subtext {
  margin-top: 0.18rem;
  color: var(--site-muted);
  font-size: 0.82rem;
  line-height: 1.15;
}

.parking-rental-col__primary {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.1;
}

.parking-rental-col__secondary {
  margin-top: 0.12rem;
  color: var(--site-muted);
  font-size: 0.74rem;
  line-height: 1.08;
  white-space: normal;
}

.parking-status-col {
  min-width: 98px;
  padding-left: 0.4rem !important;
}

.parking-status-col__message-indicator {
  margin-top: 0.28rem;
  color: #2563eb;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.dashboard-entry-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.dashboard-entry-row {
  min-width: 620px;
}

.table thead th {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--site-muted);
  border-bottom-color: rgba(16, 37, 63, 0.08);
}

.table > :not(caption) > * > * {
  padding: 0.85rem 0.7rem;
}

@media (min-width: 992px) {
  .delivery-history-table {
    min-width: 100%;
  }

  .dashboard-entry-row {
    min-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .parking-renter-col {
    width: 236px;
    min-width: 236px;
    max-width: 236px;
  }

  .parking-renter-col--page {
    width: 208px;
    min-width: 208px;
    max-width: 208px;
  }

  .parking-renter-col__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .parking-renter-col__subtext {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .parking-rental-col__secondary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .parking-status-col {
    min-width: 112px;
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
    text-align: center;
  }

  .parking-status-col .badge {
    min-width: 3.7rem;
    text-align: center;
  }

  .parking-status-col__partial-details {
    display: none;
  }

  .parking-status-col__message-indicator {
    font-size: 0.58rem;
  }

  .tenant-popup-actions {
    gap: 0.3rem !important;
  }

  .tenant-popup-actions > form,
  .tenant-popup-actions > a,
  .tenant-popup-actions > span {
    flex: 0 0 auto;
  }

  .tenant-popup-actions > .btn,
  .tenant-popup-actions > a.btn,
  .tenant-popup-actions > form > .btn,
  .tenant-popup-actions > span > .btn {
    padding: 0.3rem 0.52rem !important;
    min-height: 1.9rem;
    font-size: 0.72rem;
  }
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.site-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.62rem 1rem !important;
  min-height: 2.6rem;
  text-decoration: none !important;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid rgba(31, 41, 55, 0.14) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%) !important;
  color: #4b5563 !important;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06) !important;
}

.site-button:hover,
.site-button:focus {
  border-color: rgba(31, 41, 55, 0.22) !important;
  background: linear-gradient(180deg, #ffffff 0%, #eceff3 100%) !important;
  color: #374151 !important;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08) !important;
}

.site-button.btn-sm {
  padding: 0.45rem 0.88rem !important;
  min-height: 2.2rem;
  font-size: 0.84rem;
}

.tenant-popup-actions {
  align-items: center;
}

.site-button.btn-lg {
  padding: 0.82rem 1.35rem !important;
  min-height: 3rem;
}

.dashboard-hero {
  padding: 1.35rem 1.45rem;
  border-radius: 24px;
  border: 1px solid rgba(16, 37, 63, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 249, 252, 0.92));
  box-shadow: var(--site-shadow-soft);
}

.dashboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dashboard-chip-row--detail {
  gap: 0.3rem;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.dashboard-chip--primary {
  color: #4c5660;
  background: rgba(108, 118, 128, 0.14);
  border-color: rgba(108, 118, 128, 0.2);
}

.dashboard-chip--success {
  color: #5a646e;
  background: rgba(133, 143, 153, 0.14);
  border-color: rgba(133, 143, 153, 0.2);
}

.dashboard-chip--neutral {
  color: #5e6876;
  background: rgba(122, 133, 149, 0.14);
  border-color: rgba(122, 133, 149, 0.18);
}

.dashboard-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.34rem;
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.dashboard-status-badge--delivered {
  background: #4f8f5f;
  color: #fff;
}

.dashboard-status-badge--failed {
  background: #c25a5a;
  color: #fff;
}

.page-surface h1,
.page-surface h2,
.page-surface h3,
.page-surface h4,
.page-surface h5 {
  color: var(--site-primary);
}

.form-control,
.form-select {
  border-radius: var(--site-radius-sm);
  border-color: rgba(16, 37, 63, 0.14);
  padding: 0.7rem 0.85rem;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(129, 139, 148, 0.8);
  box-shadow: 0 0 0 0.2rem rgba(129, 139, 148, 0.16);
}

.parking-payments-year-select {
  min-width: 7.75rem;
  padding-right: 2.25rem;
  background-position: right 0.8rem center;
  background-size: 0.9rem 0.65rem;
}

.form-label {
  color: var(--site-primary);
  margin-bottom: 0.45rem;
}

.form-text {
  color: var(--site-muted);
}

.settings-page {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  background: transparent;
}

.settings-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 248, 0.94));
  border: 1px solid rgba(16, 37, 63, 0.06);
  box-shadow: var(--site-shadow-soft);
  padding: 1.15rem 1.25rem !important;
}

.settings-hero-note {
  min-width: 13.5rem;
}

.settings-hero-stat {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(16, 37, 63, 0.07);
  background: rgba(255, 255, 255, 0.76);
}

.settings-hero-stat__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--site-muted);
}

.settings-hero-stat__value {
  color: var(--site-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.settings-card {
  border: 1px solid rgba(16, 37, 63, 0.06);
}

.settings-card .card-header {
  padding: 0.85rem 1rem !important;
}

.settings-card .card-body {
  padding: 0.9rem 1rem !important;
}

.settings-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: rgba(246, 243, 238, 0.92);
  border: 1px solid rgba(16, 37, 63, 0.08);
}

.settings-switch .form-check-input {
  float: none;
  margin: 0;
}

.settings-switch .form-check-label {
  margin: 0;
  color: var(--site-primary);
  font-weight: 600;
}

.settings-page .form-control,
.settings-page .form-select {
  min-height: 2.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
}

.settings-page .form-label {
  margin-bottom: 0.32rem;
  font-size: 0.93rem;
}

.settings-page .form-text {
  margin-top: 0.3rem;
  font-size: 0.86rem;
}

.settings-section-block,
.settings-panel {
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(16, 37, 63, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.settings-panel--inline-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.settings-inline-note {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(16, 37, 63, 0.06);
  background: rgba(255, 255, 255, 0.74);
}

.settings-inline-note__title {
  color: var(--site-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.settings-section-title {
  margin-bottom: 0.65rem;
  color: var(--site-primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.settings-section-copy {
  margin-bottom: 0.7rem;
}

.settings-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(108, 118, 128, 0.12);
  color: #525d67;
  border: 1px solid rgba(108, 118, 128, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.settings-checklist {
  display: grid;
  gap: 0.4rem;
}

.settings-selection-grid {
  display: grid;
  gap: 0.75rem;
}

.settings-selection-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.settings-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 0.75rem;
  align-items: start;
}

.settings-topbar {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.settings-topbar--sms {
  grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 0.95fr);
}

.settings-field-stack {
  display: grid;
  gap: 0.7rem;
}

.settings-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.settings-contact-grid--stacked {
  grid-template-columns: minmax(18rem, 38rem);
  justify-content: center;
}

.settings-contact-grid--compact {
  grid-template-columns: repeat(2, minmax(16rem, 22rem));
  justify-content: start;
}

.settings-test-grid {
  display: grid;
  gap: 0.85rem;
}

.settings-utility-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(16, 37, 63, 0.06);
  border-radius: 18px;
  background: rgba(248, 249, 250, 0.85);
}

.settings-utility-bar--compact {
  max-width: 44rem;
  margin-inline: auto;
}

.settings-utility-copy {
  min-width: 0;
}

.settings-button-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.settings-field {
  display: grid;
  gap: 0.1rem;
  text-align: left;
  justify-items: stretch;
}

.settings-field--compact {
  max-width: 18rem;
}

.settings-field--wide {
  min-width: 0;
}

.settings-section-block--narrow {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.settings-selection-grid .settings-checklist {
  align-content: start;
}

.settings-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 37, 63, 0.08);
  background: rgba(255, 255, 255, 0.84);
  line-height: 1.25;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.settings-option__input {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  accent-color: var(--site-primary);
}

.settings-option__label {
  margin: 0;
  color: var(--site-text);
  font-size: 0.96rem;
  line-height: 1.25;
  cursor: pointer;
  flex: 1;
}

.settings-option--inline {
  display: inline-flex;
  min-height: 0;
  padding: 0.35rem 0.55rem;
  background: rgba(246, 243, 238, 0.6);
}

.settings-option--tile:hover {
  transform: translateY(-1px);
  border-color: rgba(129, 139, 148, 0.28);
  box-shadow: 0 10px 22px rgba(26, 33, 41, 0.08);
}

.settings-option--tile:focus-within {
  border-color: rgba(129, 139, 148, 0.42);
  box-shadow: 0 0 0 0.18rem rgba(129, 139, 148, 0.12);
}

.settings-option--tile:has(.settings-option__input:checked) {
  background: rgba(129, 139, 148, 0.12);
  border-color: rgba(129, 139, 148, 0.32);
  box-shadow: inset 0 0 0 1px rgba(129, 139, 148, 0.1);
}

.settings-grid {
  display: grid;
  gap: 0.75rem;
}

.settings-panel--full {
  grid-column: 1 / -1;
}

.settings-grid--faa {
  grid-template-columns: repeat(2, minmax(18rem, 32rem));
  gap: 0.75rem;
  justify-content: center;
}

.settings-grid--notifications {
  grid-template-columns: minmax(0, 1fr);
}

.settings-split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.settings-grid--faa .settings-panel {
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.84);
}

.settings-grid--faa .settings-section-title {
  margin-bottom: 0.55rem;
}

.settings-grid--faa .settings-action-box {
  padding: 0.8rem 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 245, 247, 0.88));
}

.settings-grid--faa .form-text {
  color: var(--site-muted);
}

.settings-action-box {
  padding: 0.85rem 0.95rem;
  border-radius: var(--site-radius-md);
  border: 1px dashed rgba(16, 37, 63, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--site-muted);
}

.settings-sms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.95fr);
  gap: 0.85rem;
  align-items: end;
}

.settings-sms-main {
  min-width: 0;
}

.badge {
  font-weight: 600;
  letter-spacing: 0.01em;
}

a {
  transition: color 150ms ease, opacity 150ms ease;
}

.btn-close {
  box-shadow: none;
}

@media (max-width: 767px) {
  .app-shell {
    padding-top: 0.75rem;
  }

  .page-surface {
    padding: 1rem;
    border-radius: 20px;
  }

  .site-brand__text {
    font-size: 1rem;
  }

  .site-nav-links,
  .site-nav-actions {
    align-items: stretch;
    gap: 0.35rem;
  }

  .dashboard-hero {
    padding: 1.05rem 1rem;
  }

  .settings-hero {
    padding: 1rem !important;
  }

  .settings-switch {
    align-self: flex-start;
  }

  .settings-card .card-header,
  .settings-card .card-body {
    padding: 0.85rem 0.95rem !important;
  }

  .settings-page .form-control,
  .settings-page .form-select {
    min-height: 2.35rem;
  }

  .settings-utility-bar {
    grid-template-columns: 1fr;
  }

  .settings-button-row {
    justify-content: stretch;
  }

  .settings-button-row .btn {
    width: 100%;
  }

  .site-page-wrap {
    padding: 0.5rem 0;
  }

  .site-panel__body {
    padding: 1.25rem 1.1rem !important;
  }

  .access-header,
  .access-user-row {
    flex-direction: column;
    align-items: stretch;
  }

  .mail-forwarding-rule-row__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "address address"
      "forward forward"
      "toggle actions";
    gap: 0.75rem;
    align-items: stretch;
  }

  .mail-forwarding-rule-row__grid > div {
    min-width: 0;
  }

  .mail-forwarding-rule-row__address {
    grid-area: address;
  }

  .mail-forwarding-rule-row__forward-to {
    grid-area: forward;
  }

  .mail-forwarding-rule-row__toggle {
    grid-area: toggle;
    min-width: 0;
  }

  .mail-forwarding-rule-row__actions {
    grid-area: actions;
    justify-content: flex-end;
    align-items: end;
  }

  .mail-forwarding-rule-row .input-group {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .mail-forwarding-rule-row .input-group > .form-control,
  .mail-forwarding-rule-row .input-group > .input-group-text {
    width: auto;
    border-radius: 12px !important;
    margin-left: 0 !important;
  }

  .mail-forwarding-rule-row .input-group > .form-control {
    min-width: 0;
    flex: 1 1 100%;
  }

  .mail-forwarding-rule-row .input-group > .input-group-text {
    justify-content: center;
    flex: 0 0 auto;
    white-space: nowrap;
    padding-inline: 0.7rem;
    margin-top: 0;
    border-left: 0;
  }

  .mail-forwarding-rule-row__toggle .form-check {
    min-height: 2.35rem;
    align-items: center;
  }

  .mail-forwarding-rule-row__actions .btn {
    min-width: 6rem;
  }
}

@media (max-width: 991px) {
  .site-navbar .navbar-collapse {
    display: none;
    width: 100%;
    flex-basis: 100%;
    padding-top: 0.9rem;
    gap: 0.9rem;
  }

  .site-navbar .navbar-collapse.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-navbar .site-nav-links,
  .site-navbar .site-nav-actions {
    width: 100%;
    gap: 0.5rem !important;
  }

  .site-navbar .site-nav-links .nav-item,
  .site-navbar .site-nav-actions .nav-item,
  .site-navbar .site-logout-form {
    width: 100%;
  }

  .site-navbar .navbar-nav .nav-link,
  .site-navbar .site-logout-btn {
    width: 100%;
    justify-content: center;
  }

  .settings-field-row,
  .settings-topbar,
  .settings-contact-grid,
  .settings-split-layout,
  .settings-selection-grid,
  .settings-grid--faa,
  .settings-grid--notifications,
  .settings-sms-layout,
  .settings-utility-bar,
  .settings-clean-grid,
  .settings-clean-row,
  .settings-clean-check-columns,
  .settings-clean-save {
    grid-template-columns: 1fr;
  }

  .settings-clean-head {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-clean-actions {
    justify-content: flex-start;
  }

  .settings-clean-save {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-clean-save .settings-clean-actions,
  .settings-clean-save .settings-clean-actions > .btn {
    width: 100%;
  }

  .settings-clean-test-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: auto;
  }

  .settings-clean-test-actions .btn {
    width: auto;
  }

  .settings-clean-save--notifications .settings-clean-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .settings-clean-save--notifications .settings-clean-actions > .btn {
    width: 100%;
  }

  .settings-clean-grid--tight {
    grid-template-columns: 1fr;
  }

  .settings-clean-grid--parking-company .settings-clean-field:last-child {
    grid-column: 1 / -1;
  }

  .settings-clean-row--parking-logo .settings-clean-note {
    order: 2;
  }

  .settings-clean-row--parking-logo .settings-clean-field {
    order: 1;
  }

  .settings-clean-check-columns {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .settings-clean-check-columns .settings-clean-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.app-body {
  background: #f1f3f5 !important;
}

body.app-body .page-surface {
  background: #e7eaed !important;
}

.site-navbar {
  background: linear-gradient(135deg, rgba(58, 62, 67, 0.98), rgba(79, 84, 90, 0.96)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 12px 28px rgba(32, 36, 41, 0.16) !important;
}

.site-navbar__inner {
  gap: 1.4rem !important;
}

.site-navbar .navbar-collapse {
  align-items: center;
}

.site-navbar .site-nav-links {
  gap: 0.7rem !important;
}

.site-navbar .site-nav-actions {
  gap: 0.85rem !important;
}

.site-navbar .site-nav-actions__account {
  margin-right: 0.1rem;
}

.site-navbar .navbar-nav .nav-link {
  color: #f7f8f9 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  padding: 0.62rem 1rem !important;
  font-weight: 600 !important;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.18) !important;
}

.site-navbar .navbar-nav .nav-link.active {
  color: #2d3741 !important;
  background: #f2f4f6 !important;
  box-shadow: 0 8px 18px rgba(7, 17, 29, 0.16) !important;
}

.site-navbar .site-account-pill {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  padding-inline: 1.05rem !important;
}

.site-navbar .site-logout-btn {
  padding: 0.58rem 1rem !important;
  border-radius: 999px !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f7f8f9 !important;
}

.site-navbar .site-logout-btn:hover,
.site-navbar .site-logout-btn:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

.site-button {
  gap: 0.35rem !important;
  min-height: 2.6rem !important;
  padding: 0.62rem 1rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(31, 41, 55, 0.14) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease !important;
}

.site-button:hover,
.site-button:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.site-button.btn-sm {
  min-height: 2.2rem !important;
  padding: 0.45rem 0.88rem !important;
  font-size: 0.84rem !important;
}

.site-button.btn-lg {
  min-height: 3rem !important;
  padding: 0.82rem 1.35rem !important;
}

.site-button.site-button--compact,
.site-button.btn-sm.site-button--compact {
  min-height: 1.7rem !important;
  padding: 0.22rem 0.58rem !important;
  font-size: 0.72rem !important;
  line-height: 1.05 !important;
  border-radius: 999px !important;
}

.site-button--dark {
  border-color: rgba(63, 70, 80, 0.88) !important;
  background: linear-gradient(180deg, #5d646d 0%, #3f454d 100%) !important;
  color: #f8fafc !important;
  box-shadow: 0 10px 20px rgba(31, 41, 55, 0.18) !important;
}

.site-button--dark:hover,
.site-button--dark:focus {
  border-color: rgba(50, 56, 65, 0.96) !important;
  background: linear-gradient(180deg, #545b64 0%, #383e46 100%) !important;
  color: #ffffff !important;
}

.site-button--light {
  border-color: rgba(31, 41, 55, 0.14) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%) !important;
  color: #4b5563 !important;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06) !important;
}

.site-button--light:hover,
.site-button--light:focus {
  border-color: rgba(31, 41, 55, 0.22) !important;
  background: linear-gradient(180deg, #ffffff 0%, #eceff3 100%) !important;
  color: #374151 !important;
}

.site-button--warm {
  border-color: rgba(219, 185, 120, 0.55) !important;
  background: linear-gradient(180deg, #fff6df 0%, #fff0c9 100%) !important;
  color: #9a6b12 !important;
  box-shadow: 0 8px 16px rgba(154, 107, 18, 0.08) !important;
}

.site-button--warm:hover,
.site-button--warm:focus {
  border-color: rgba(219, 185, 120, 0.78) !important;
  background: linear-gradient(180deg, #fff3d3 0%, #ffe9b8 100%) !important;
  color: #83580b !important;
}

.site-button--danger {
  border-color: rgba(231, 176, 176, 0.62) !important;
  background: linear-gradient(180deg, #fff6f6 0%, #ffeaea 100%) !important;
  color: #cf6464 !important;
  box-shadow: 0 8px 16px rgba(207, 100, 100, 0.08) !important;
}

.site-button--danger:hover,
.site-button--danger:focus {
  border-color: rgba(231, 176, 176, 0.85) !important;
  background: linear-gradient(180deg, #fff0f0 0%, #ffe2e2 100%) !important;
  color: #b95252 !important;
}

.site-page-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem 0;
}

.site-page-wrap--narrow {
  max-width: 640px;
}

.site-page-wrap--wide {
  max-width: 980px;
}

.site-panel {
  border: 1px solid rgba(36, 45, 56, 0.08) !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 12px 30px rgba(26, 33, 41, 0.08) !important;
  overflow: hidden !important;
}

.site-panel__body {
  padding: 1.8rem 2rem !important;
  text-align: left !important;
}

.site-panel__body > :first-child {
  margin-top: 0 !important;
}

.page-surface .card.shadow-sm.border-0 {
  border: 1px solid rgba(36, 45, 56, 0.08) !important;
  border-radius: 26px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 12px 30px rgba(26, 33, 41, 0.08) !important;
  overflow: hidden !important;
}

.page-surface .card.shadow-sm.border-0 > .card-body,
.page-surface .card.shadow-sm.border-0 > .card-header {
  text-align: left !important;
}

.dashboard-hero h1,
.dashboard-hero p,
.dashboard-hero .text-muted,
.dashboard-hero .small {
  text-align: left !important;
}

.settings-page {
  max-width: 960px;
}

.settings-clean-card {
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  text-align: left;
}

.settings-clean-card + .settings-clean-card {
  margin-top: 1rem;
}

.settings-clean-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #e8ebef;
  text-align: left;
}

.settings-clean-head h2 {
  margin: 0;
  font-size: 1.18rem;
  color: #1f2937;
  text-align: left;
}

.settings-clean-head p {
  margin: 0.25rem 0 0;
  color: #6b7280;
  font-size: 0.93rem;
  text-align: left;
}

.settings-clean-body {
  padding: 1rem 1.15rem;
  text-align: left;
}

.settings-clean-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.settings-clean-grid--parking-defaults {
  width: 100%;
}

.settings-clean-grid--tight {
  align-items: start;
}

.settings-clean-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  text-align: left;
}

.settings-clean-field--span-full {
  grid-column: 1 / -1;
}

.settings-clean-field--compact {
  max-width: 19.5rem;
}

.settings-clean-field label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-align: left;
}

.settings-clean-field .form-text {
  margin: 0;
  font-size: 0.83rem;
  color: #6b7280;
}

.settings-clean-note {
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #f6f7f9;
  color: #6b7280;
  font-size: 0.88rem;
  text-align: left;
}

.settings-clean-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.settings-clean-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.settings-clean-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  align-items: start;
}

.settings-clean-row--single {
  grid-template-columns: 1fr;
}

.settings-clean-section-title {
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  text-align: left;
}

.settings-clean-list {
  display: grid;
  gap: 0.45rem;
}

.settings-clean-check-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.1rem;
}

.settings-clean-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.3;
}

.settings-clean-check input {
  margin: 0.12rem 0 0;
  width: 0.95rem;
  height: 0.95rem;
}

.settings-clean-check span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
  .settings-clean-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .settings-clean-check-columns {
    grid-template-columns: 1fr !important;
    gap: 0.45rem !important;
  }

  .settings-clean-list {
    grid-template-columns: 1fr;
  }

  .settings-clean-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .settings-clean-save {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-clean-actions {
    justify-content: flex-start;
  }

  .settings-clean-test-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: auto;
  }

  .settings-clean-test-actions .btn {
    width: auto;
  }

  .settings-clean-save--notifications .settings-clean-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .settings-clean-grid--parking-company .settings-clean-field:last-child {
    grid-column: 1 / -1;
  }

  .settings-clean-row--parking-logo .settings-clean-field {
    order: 1;
  }

  .settings-clean-row--parking-logo .settings-clean-note {
    order: 2;
  }
}

.settings-clean-divider {
  height: 1px;
  background: #e8ebef;
  margin: 1rem 0;
}

.settings-clean-inline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #374151;
  font-size: 0.95rem;
  text-align: left;
}

.settings-clean-inline--stacked {
  align-items: flex-start;
}

.settings-clean-inline-copy {
  display: grid;
  gap: 0.35rem;
}

.settings-clean-save {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.settings-clean-save--stacked {
  flex-direction: column;
  align-items: stretch;
}

.settings-clean-save--stacked .settings-clean-actions {
  justify-content: flex-start;
}

.settings-clean-actions--end {
  justify-content: flex-end !important;
}

.settings-clean-note--full {
  width: 100%;
}

.settings-clean-toggle {
  flex-shrink: 0;
}

.delivery-log-entry-row {
  cursor: pointer;
}

.delivery-log-entry-row:hover {
  background: rgba(15, 23, 42, 0.04);
}

.delivery-log-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(4.8rem + 1rem) 1.5rem 1.5rem;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(2px);
}

.delivery-log-modal-card {
  width: min(860px, 100%);
  max-height: calc(100dvh - 7.3rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.delivery-log-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}

.delivery-log-modal-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.delivery-log-modal-body {
  padding: 1.25rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.delivery-log-modal-summary,
.delivery-log-modal-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: left;
}

.delivery-log-modal-grid {
  margin-top: 1rem;
}

.delivery-log-modal-grid--parking-renter {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.delivery-log-modal-grid-item--wide {
  grid-column: span 2;
}

.delivery-log-modal-value-wrap {
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.delivery-log-modal-table-wrap {
  max-height: min(52dvh, 32rem);
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
}

.delivery-log-modal-summary > div,
.delivery-log-modal-grid > div {
  padding: 0.8rem 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #fafbfd;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.delivery-log-modal-panel {
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #f8fafc;
  white-space: pre-wrap;
  word-break: break-word;
}

.delivery-log-modal-message-body {
  max-height: 260px;
  overflow-y: auto;
  padding: 0.75rem;
  border: 1px solid #dbe2ea;
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
  color: #25313d;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.delivery-log-modal-message-body,
.delivery-log-modal-message-body * {
  text-align: left !important;
}

.delivery-log-modal-message-body p:last-child {
  margin-bottom: 0;
}

.delivery-log-modal-message-html,
.delivery-log-modal-message-text {
  color: #25313d;
  font-size: 0.94rem;
  line-height: 1.55;
  word-break: break-word;
}

.delivery-log-modal-message-frame {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 0.6rem;
  background: #ffffff;
}

.delivery-log-modal-message-html p,
.delivery-log-modal-message-text p {
  margin: 0 0 0.9rem;
}

.delivery-log-modal-message-html br + br {
  display: block;
  content: "";
  margin-top: 0.55rem;
}

.delivery-log-modal-message-html table {
  width: 100%;
  margin: 0.5rem 0 0;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #ffffff;
}

.delivery-log-modal-message-html th,
.delivery-log-modal-message-html td {
  padding: 0.45rem 0.55rem;
  border: 1px solid #dbe2ea;
  vertical-align: top;
  white-space: normal;
}

.delivery-log-modal-message-html th {
  background: #f6f8fb;
  font-weight: 700;
}

.delivery-log-modal-message-html ul,
.delivery-log-modal-message-html ol {
  padding-left: 1.15rem;
  margin: 0 0 0.9rem;
}

.delivery-log-modal-message-html h1,
.delivery-log-modal-message-html h2,
.delivery-log-modal-message-html h3,
.delivery-log-modal-message-html h4,
.delivery-log-modal-message-html h5,
.delivery-log-modal-message-html h6 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.delivery-log-modal-panel--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.delivery-log-modal-list {
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  overflow: hidden;
  background: #fff;
}

.delivery-log-modal-list-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  align-items: flex-start;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.delivery-log-modal-list-row:last-child {
  border-bottom: 0;
}

.delivery-log-modal-list-row span:first-child {
  min-width: 120px;
  font-weight: 600;
}

.delivery-log-modal-list-row span:last-child {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.delivery-log-modal-panel--parking-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.85rem 0.95rem;
}

.delivery-log-modal-parking-photo-wrap {
  display: flex;
  justify-content: center;
}

.delivery-log-modal-parking-photo {
  display: block;
  max-width: 100%;
  max-height: 260px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.tenant-messages-toggle {
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.85rem 1rem;
}

.tenant-messages-toggle__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.tenant-messages-toggle__summary::-webkit-details-marker {
  display: none;
}

.tenant-messages-list {
  display: grid;
  gap: 0.85rem;
}

.tenant-messages-show-more {
  justify-self: start;
}

.tenant-message-entry {
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  background: #f8fafc;
  padding: 0.85rem 0.95rem;
}

.tenant-message-thread {
  border: 1px solid #dbe4f0;
  border-radius: 0.95rem;
  background: #ffffff;
  padding: 0.95rem;
}

.tenant-message-thread__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.tenant-message-thread__title {
  font-weight: 700;
  color: var(--site-text);
}

.tenant-message-thread__messages {
  display: grid;
  gap: 0.75rem;
}

.tenant-message-entry__body {
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--site-text);
  line-height: 1.45;
}

.tenant-message-entry__actions {
  display: flex;
  justify-content: flex-end;
}

.tenant-message-reply {
  width: 100%;
}

.tenant-message-reply__toggle {
  float: right;
  list-style: none;
}

.tenant-message-reply__toggle::-webkit-details-marker {
  display: none;
}

.tenant-message-reply__panel {
  clear: both;
}

.tenant-message-reply__panel textarea {
  min-height: 88px;
}

@media (max-width: 767.98px) {
  .delivery-log-modal-grid-item--wide {
    grid-column: auto;
  }
}

.delivery-log-modal-payload {
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  padding: 1rem;
  border-radius: 0.8rem;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.access-page {
  max-width: 1080px;
  margin: 0 auto;
}

.access-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.access-panel {
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.access-panel + .access-panel {
  margin-top: 1rem;
}

.access-panel__head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #e8ebef;
}

.access-panel__body {
  padding: 1rem 1.15rem;
}

.access-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.65rem;
}

.access-tool-tile {
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #fafbfc;
  border: 1px solid #eceff3;
}

.access-tool-tile label {
  font-size: 0.93rem;
  font-weight: 600;
  color: #374151;
}

.access-user-card + .access-user-card {
  margin-top: 0.85rem;
}

.access-user-card {
  padding: 1rem;
  border: 1px solid #e8ebef;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.access-user-card:hover {
  border-color: rgba(31, 41, 55, 0.16);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.access-user-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.access-user-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
}

.access-user-tool {
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: #fafbfc;
  border: 1px solid #eceff3;
}

.access-user-tool label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.access-user-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.admin-user-modal-card {
  max-width: min(70rem, 94vw);
}

.admin-user-modal-summary {
  margin-bottom: 1rem;
}

.admin-user-modal-section + .admin-user-modal-section {
  margin-top: 1rem;
}

.admin-user-modal-grid {
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.mail-forwarding-rules__empty {
  padding: 0.85rem 1rem;
  border: 1px dashed #d7dde5;
  border-radius: 14px;
  background: #fafbfc;
}

.mail-forwarding-rules__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mail-forwarding-rule-row {
  padding: 0.9rem;
  border: 1px solid #e8ebef;
  border-radius: 16px;
  background: #fff;
}

.mail-forwarding-rule-row__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto auto;
  gap: 0.85rem;
  align-items: end;
}

.mail-forwarding-rule-row__toggle {
  min-width: 5rem;
}

.mail-forwarding-rule-row__actions {
  display: flex;
  justify-content: flex-end;
}

.access-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.access-page .form-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 1.25rem;
}

.access-page .form-check-input {
  margin-top: 0;
  width: 0.95rem;
  height: 0.95rem;
}

.access-page .btn {
  padding: 0.52rem 1rem;
  font-size: 0.88rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.access-page .btn-sm {
  padding: 0.45rem 0.88rem;
  font-size: 0.84rem;
}

.access-page .btn:disabled,
.access-page .btn.disabled {
  opacity: 0.6;
  box-shadow: none;
}

.badge.bg-success {
  background: #4f8f5f !important;
}

.badge.bg-warning.text-dark {
  background: #f3c648 !important;
  color: #5b4600 !important;
}
