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

body {
  min-height: 100vh;
  margin: 0;
  background: #f4f6f9;
  color: #1f2933;
  font-size: 0.92rem;
}

a {
  color: #2563a9;
  text-decoration: none;
}

a:hover {
  color: #184d83;
  text-decoration: underline;
}

.btn {
  --bs-btn-padding-y: 0.28rem;
  --bs-btn-padding-x: 0.58rem;
  --bs-btn-font-size: 0.86rem;
  border-radius: 0.25rem;
}

.btn-sm {
  --bs-btn-padding-y: 0.16rem;
  --bs-btn-padding-x: 0.44rem;
  --bs-btn-font-size: 0.8rem;
}

.btn-primary {
  background-color: #2563a9;
  border-color: #225c9d;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #1f548f;
  border-color: #1d4d84;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #8bb8e8;
  box-shadow: 0 0 0 0.14rem rgba(37, 99, 169, 0.18);
}

.form-label {
  margin-bottom: 0.22rem;
  color: #3c4856;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-control,
.form-select {
  min-height: 2rem;
  padding: 0.28rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.88rem;
}

textarea.form-control {
  min-height: 4.6rem;
}

.form-check-input {
  margin-top: 0.18rem;
}

.text-danger {
  font-size: 0.8rem;
}

.row.g-3 {
  --bs-gutter-x: 0.85rem;
  --bs-gutter-y: 0.65rem;
}

h1,
.h1 {
  font-size: 1.25rem;
}

.h3,
h3 {
  font-size: 1.05rem;
}

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

.app-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex: 0 0 232px;
  flex-direction: column;
  height: 100vh;
  background: #303640;
  color: #cfd6df;
  box-shadow: 2px 0 8px rgba(15, 23, 42, 0.12);
  transition: margin-left 0.18s ease;
}

body.sidebar-collapsed .app-sidebar {
  margin-left: -232px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  height: 48px;
  padding: 0 0.9rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.app-brand:hover {
  color: #fff;
  text-decoration: none;
}

.app-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 0.25rem;
  background: #2f80d0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.55rem;
}

.app-nav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 32px;
  padding: 0.38rem 0.55rem;
  color: #d8dee6;
  border-radius: 0.22rem;
  line-height: 1.15;
}

.app-nav-link:hover,
.app-nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.app-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  color: #9fb2c7;
  font-size: 0.9rem;
}

.app-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  overflow-x: clip;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0 1rem;
  background: #fff;
  border-bottom: 1px solid #d9dee7;
}

.app-topbar-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #25313f;
  font-size: 0.95rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-user-menu {
  align-items: center;
  flex-direction: row;
  gap: 0.35rem;
  margin-left: auto;
}

.app-user-menu .nav-link {
  padding: 0.18rem 0.35rem;
  color: #394655;
  font-size: 0.84rem;
}

.app-user-menu .btn-link {
  text-decoration: none;
}

.app-menu-glyph {
  display: inline-block;
  width: 1rem;
  line-height: 1;
}

.app-mobile-nav {
  background: #303640;
  border-bottom: 1px solid #20252c;
}

.app-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 1rem 1.25rem;
}

.app-footer {
  padding: 0.45rem 1rem;
  color: #6c7683;
  background: #fff;
  border-top: 1px solid #d9dee7;
  font-size: 0.82rem;
}

.alert {
  padding: 0.45rem 0.8rem;
  margin-bottom: 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.86rem;
}

.table-responsive {
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 0.3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
}

.table-panel {
  max-width: 100%;
  min-width: 0;
}

.table {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.table > :not(caption) > * > * {
  padding: 0.36rem 0.48rem;
}

.table thead th {
  color: #303a46;
  background: #eef2f6;
  border-bottom-color: #d0d7e2;
  font-size: 0.79rem;
  font-weight: 700;
  white-space: nowrap;
}

.table-hover tbody tr:hover {
  background-color: #f5f9fc;
}

.dt-container {
  padding: 0.55rem;
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 0.3rem;
  max-width: 100%;
  min-width: 0;
}

.dt-container .table-responsive {
  border: 0;
  border-radius: 0;
}

.dt-container .dt-length,
.dt-container .dt-search,
.dt-container .dt-info,
.dt-container .dt-paging {
  font-size: 0.82rem;
}

.dt-container .dt-input {
  min-height: 1.85rem;
  padding: 0.2rem 0.42rem;
  border: 1px solid #cfd6df;
  border-radius: 0.22rem;
}

.searchable-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.searchable-select-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 2rem;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.searchable-select-control {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.client-select-row .searchable-select-control {
  flex: 1 1 auto;
  min-width: 0;
}

.searchable-select-wrapper {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.searchable-select-toggle {
  position: relative;
  display: block;
  width: 100%;
  min-height: 2rem;
  overflow: hidden;
  padding: 0.28rem 2rem 0.28rem 0.5rem;
  color: #1f2933;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0.25rem;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.searchable-select-toggle::after {
  position: absolute;
  top: 50%;
  right: 0.72rem;
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid #3d4652;
  border-bottom: 2px solid #3d4652;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.searchable-select-wrapper.is-open .searchable-select-toggle {
  border-color: #8bb8e8;
  box-shadow: 0 0 0 0.14rem rgba(37, 99, 169, 0.18);
}

.searchable-select-wrapper.is-open .searchable-select-toggle::after {
  transform: translateY(-35%) rotate(225deg);
}

.searchable-select-menu {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1040;
  display: none;
  padding: 0.35rem;
  margin-top: 0.22rem;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 0.3rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
}

.searchable-select-wrapper.is-open .searchable-select-menu {
  display: block;
}

.searchable-select-input {
  margin-bottom: 0.32rem;
}

.searchable-select-list {
  max-height: 230px;
  overflow-y: auto;
}

.searchable-select-option {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0.36rem 0.48rem;
  color: #1f2933;
  background: transparent;
  border: 0;
  border-radius: 0.22rem;
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.searchable-select-option:hover,
.searchable-select-option:focus {
  background: #eef5fc;
  outline: 0;
}

.searchable-select-option.is-selected {
  color: #143d67;
  background: #dcecfb;
  font-weight: 700;
}

.searchable-select-empty {
  padding: 0.42rem 0.48rem;
  color: #6c7683;
  font-size: 0.82rem;
}

.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  max-width: 920px;
}

.dashboard-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid #d9dee7;
  border-left: 3px solid #2f80d0;
  border-radius: 0.3rem;
  color: #25313f;
}

.dashboard-action:hover {
  color: #184d83;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.dashboard-action-title {
  display: block;
  font-weight: 700;
}

.dashboard-action-meta {
  display: block;
  color: #6c7683;
  font-size: 0.8rem;
}

.dashboard-action-arrow {
  color: #7b8794;
  font-size: 1.1rem;
}

.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #e9edf3;
}

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
}

.login-panel {
  width: min(100%, 380px);
  margin: 0;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid #d2d9e3;
  border-top: 3px solid #2f80d0;
  border-radius: 0.35rem;
  box-shadow: 0 14px 34px rgba(31, 41, 51, 0.12);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #e5e9ef;
}

.login-brand-title {
  color: #25313f;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.1;
}

.login-brand-subtitle {
  color: #687586;
  font-size: 0.82rem;
}

.login-form {
  margin: 0;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.income-report-filter {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
}

.income-report-card {
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background: #fff;
}

.income-report-card--accent {
  border-color: #86efac;
  background: #f0fdf4;
}

.income-report-card-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.income-report-card-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111827;
}

.income-report-section {
  padding-top: 0.25rem;
}

.income-report-table {
  font-size: 0.92rem;
}

.income-report-table thead th {
  white-space: nowrap;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6b7280;
  border-bottom-width: 1px;
}

.income-report-group td {
  padding-top: 0.85rem;
  padding-bottom: 0.35rem;
  background: #f8fafc;
  border-top: 2px solid #e5e7eb;
}

.income-report-group:first-child td {
  border-top: none;
}

.income-report-empty td {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  font-size: 0.85rem;
}

.income-report-subtotal td {
  font-weight: 600;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.income-report-total th {
  font-size: 1rem;
  background: #ecfdf5;
  border-top: 2px solid #86efac;
}

.calendar-nav-button {
  width: 2.15rem;
}

.calendar-part-short {
  display: none;
}

.calendar-vehicle-compact {
  display: none;
}

.calendar-scroll {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 0.3rem;
}

.calendar-scroll-hint {
  margin-bottom: 0.45rem;
  color: #6c7683;
  font-size: 0.76rem;
  text-align: center;
}

.calendar-planner {
  --calendar-day-width: 104px;
  --calendar-vehicle-width: 216px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 0;
}

.calendar-header-row,
.calendar-vehicle-row {
  display: grid;
  grid-template-columns: var(--calendar-vehicle-width) minmax(calc(var(--calendar-days) * var(--calendar-day-width)), 1fr);
  min-width: calc(var(--calendar-vehicle-width) + var(--calendar-days) * var(--calendar-day-width));
}

.calendar-header-row {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid #d9dee7;
}

.calendar-vehicle-header,
.calendar-vehicle-cell {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  border-right: 1px solid #d9dee7;
}

.calendar-vehicle-header {
  z-index: 4;
  padding: 0.5rem 0.62rem;
  color: #303a46;
  background: #eef2f6;
  font-weight: 700;
}

.calendar-vehicle-cell {
  padding: 0.52rem 0.62rem;
}

.calendar-vehicle-title {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-days-header,
.calendar-track-days {
  display: grid;
  grid-template-columns: repeat(var(--calendar-days), minmax(var(--calendar-day-width), 1fr));
}

.calendar-day-header {
  min-height: 56px;
  padding: 0.34rem 0;
  color: #495463;
  border-right: 1px solid #e5e9ef;
}

.calendar-day-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.52rem 0.28rem;
}

.calendar-day-title span {
  text-transform: capitalize;
  font-size: 0.79rem;
}

.calendar-day-parts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #768291;
  border-top: 1px solid #edf0f4;
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

.calendar-day-parts span:not(:last-child) {
  border-right: 1px solid #edf0f4;
}

.calendar-weekend {
  background: #fff8dc;
}

.calendar-today {
  background: #e7f1fb;
}

.calendar-vehicle-row {
  flex: 1 0 auto;
  border-bottom: 1px solid #e5e9ef;
}

.calendar-page-content {
  display: flex;
  min-height: 0;
}

.calendar-page {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.calendar-vehicle-row--in-repair .calendar-vehicle-cell,
.calendar-vehicle-row--in-repair .calendar-track-day {
  background: #ffe5e5;
}

.calendar-track {
  position: relative;
  min-height: calc(var(--calendar-lanes) * 32px + 12px);
}

.calendar-track-days {
  position: absolute;
  inset: 0;
}

.calendar-track-day {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid #e5e9ef;
}

.calendar-track-day span:not(:last-child) {
  border-right: 1px dashed #edf0f4;
}

.calendar-bar-host {
  position: absolute;
  z-index: 1;
}

.calendar-bar-host.show,
.calendar-bar-host:has(.show) {
  z-index: 20;
}

.calendar-bar {
  position: relative;
  width: 100%;
  height: 25px;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 3.1rem;
  overflow: hidden;
  padding: 0.18rem 0.45rem;
  color: #111827;
  border-radius: 0.25rem;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.calendar-bar.dropdown-toggle::after {
  display: none;
}

.calendar-bar-menu {
  min-width: 12rem;
  font-size: 0.9rem;
}

.calendar-bar-menu .dropdown-item {
  cursor: pointer;
}

.calendar-bar:hover,
.calendar-bar:focus,
.calendar-bar:focus-visible {
  color: #111827;
  filter: brightness(0.97);
  text-decoration: none;
  outline: none;
}

.calendar-bar span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
}

.calendar-bar-label {
  font-weight: 800;
}

.calendar-bar-inquiry {
  background: #edf0f4;
}

.calendar-bar-reserved {
  background: #d9edcf;
}

.calendar-bar-rental {
  background: #8cc9f4;
}

.calendar-bar-completed {
  background: #e1e6eb;
}

.calendar-bar-canceled {
  background: #ffd4d4;
  text-decoration: line-through;
}

.public-calendar-page {
  background: #f4f6f8;
}

.public-calendar-shell {
  max-width: 100%;
  padding: 1rem;
}

.public-calendar-header {
  padding: 0.25rem 0.25rem 0;
}

.calendar-planner--public .calendar-bar-readonly {
  width: 100%;
  height: 25px;
  cursor: default;
  pointer-events: none;
}

.calendar-bar-host--readonly {
  pointer-events: none;
}

.public-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.public-calendar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.public-calendar-legend-swatch {
  width: 1rem;
  height: 0.75rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: inline-block;
}

@media (max-width: 991.98px) {
  body.sidebar-collapsed .app-sidebar {
    margin-left: 0;
  }

  .app-sidebar {
    display: none;
  }

  .app-topbar {
    padding: 0 0.65rem;
    gap: 0.45rem;
  }

  .app-content {
    padding: 0.65rem;
  }

  .app-mobile-nav .app-nav-link {
    color: #d8dee6;
  }

  .app-user-menu {
    flex-shrink: 1;
    min-width: 0;
  }

  .app-user-menu .nav-link {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-user-menu .btn-link {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .dt-container .dt-layout-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .dt-container .dt-layout-cell {
    flex: 1 1 100%;
  }

  .dt-container .dt-search {
    width: 100%;
  }

  .dt-container .dt-search .dt-input {
    width: 100%;
    max-width: none;
  }

  .dt-container .dt-paging .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
  }

  .page-header,
  .app-content > .d-flex.justify-content-between.align-items-center {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-header > .d-flex,
  .app-content > .d-flex.justify-content-between.align-items-center > .d-flex {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .calendar-toolbar,
  .page-header {
    gap: 0.55rem;
  }

  .calendar-toolbar-nav,
  .calendar-toolbar-actions {
    width: 100%;
  }

  .calendar-period-title {
    flex: 1 1 100%;
    font-size: 1rem;
  }

  .calendar-mode-group {
    flex: 1 1 auto;
  }

  .calendar-create-btn {
    flex: 1 1 auto;
  }

  .calendar-scroll {
    margin: 0 -0.15rem;
    border-radius: 0.3rem;
    box-shadow: inset -10px 0 12px -10px rgba(15, 23, 42, 0.12);
  }

  .calendar-planner {
    --calendar-day-width: 68px;
  }

  .calendar-header-row,
  .calendar-vehicle-row {
    grid-template-columns: 5.5rem minmax(calc(var(--calendar-days) * var(--calendar-day-width)), 1fr);
    min-width: calc(5.5rem + var(--calendar-days) * var(--calendar-day-width));
  }

  .calendar-vehicle-header,
  .calendar-vehicle-cell {
    max-width: 5.5rem;
    padding: 0.38rem 0.42rem;
  }

  .calendar-vehicle-compact {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .calendar-vehicle-full {
    display: none;
  }

  .calendar-part-full {
    display: none;
  }

  .calendar-part-short {
    display: inline;
  }

  .calendar-day-header {
    min-height: 48px;
  }

  .calendar-day-title {
    padding: 0 0.28rem 0.2rem;
  }

  .calendar-day-title span {
    font-size: 0.68rem;
  }

  .calendar-day-parts {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .calendar-bar {
    min-width: 2rem;
    padding: 0.12rem 0.22rem;
    font-size: 0.72rem;
    gap: 0.2rem;
  }

  .calendar-bar-label {
    font-size: 0.72rem;
  }

  .table {
    font-size: 0.8rem;
  }

  .table > :not(caption) > * > * {
    padding: 0.3rem 0.38rem;
  }

  .table thead th {
    font-size: 0.72rem;
  }

  .dt-container {
    padding: 0.45rem;
  }

  .vehicle-fines-table thead th,
  .vehicle-fines-table tbody td,
  .vehicle-history-table thead th {
    font-size: 0.82rem;
  }

  .vehicle-fines-table tbody td {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .table-panel > .table-responsive,
  .app-content > .table-responsive {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .table-panel .dt-container {
    padding: 0.45rem;
    background: #fff;
    border: 1px solid #d9dee7;
    border-radius: 0.3rem;
  }

  .table-panel .dt-container .table-responsive,
  .table-panel .dt-container .dt-layout-table {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  table.data-table {
    display: block;
    width: 100%;
    background: transparent;
  }

  table.data-table thead {
    display: none;
  }

  table.data-table tbody {
    display: block;
  }

  table.data-table tbody tr {
    display: block;
    margin-bottom: 0.65rem;
    padding: 0.2rem 0.65rem 0.45rem;
    background: #fff;
    border: 1px solid #d9dee7;
    border-radius: 0.3rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  }

  table.data-table.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: transparent;
  }

  table.data-table tbody td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.42rem 0;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    white-space: normal;
    text-align: right;
  }

  table.data-table tbody td:last-child {
    justify-content: flex-end;
    padding-top: 0.5rem;
    border-bottom: 0;
  }

  table.data-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 42%;
    max-width: 10.5rem;
    color: #6c7683;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
  }

  table.data-table tbody td:not([data-label])::before,
  table.data-table tbody td[data-label=""]::before {
    display: none;
  }

  table.data-table tbody td[data-label=""] {
    justify-content: flex-end;
  }

  table.data-table tbody td.text-end {
    text-align: right;
  }
}

@media (max-width: 480px) {
  .calendar-planner {
    --calendar-day-width: 58px;
  }

  .calendar-header-row,
  .calendar-vehicle-row {
    grid-template-columns: 4.75rem minmax(calc(var(--calendar-days) * var(--calendar-day-width)), 1fr);
    min-width: calc(4.75rem + var(--calendar-days) * var(--calendar-day-width));
  }

  .calendar-vehicle-header,
  .calendar-vehicle-cell {
    max-width: 4.75rem;
  }

  .app-user-menu .nav-link {
    max-width: 5.5rem;
  }
}

.fine-check-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(1px);
}

body.fine-check-active {
  overflow: hidden;
}

#fineCheckModal {
  z-index: 1055;
}

.fine-check-current {
  min-height: 1.75rem;
}

.fine-check-results {
  max-height: 18rem;
  overflow-y: auto;
}

.fine-check-results .list-group-item {
  padding-left: 0;
  padding-right: 0;
}

.vehicle-fines-panel {
  margin-top: 0.25rem;
}

.vehicle-fines-table {
  --bs-table-color: #111827;
  --bs-table-striped-color: #111827;
  font-size: 1.02rem;
  color: #111827;
}

.vehicle-fines-table thead th {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  border-bottom-width: 2px;
}

.vehicle-fines-table tbody td {
  font-size: 1.02rem;
  font-weight: 600;
  color: #111827;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  vertical-align: middle;
}

.vehicle-fines-row--unpaid td {
  color: #7f1d1d;
  background-color: #fff5f5;
}

.vehicle-fines-table tbody tr.vehicle-fines-row--unpaid:nth-of-type(odd) > * {
  --bs-table-bg-type: #fff1f2;
}

.vehicle-fines-status {
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.vehicle-fines-status--paid {
  color: #166534;
}

.vehicle-fines-status--unpaid {
  color: #b91c1c;
}

.vehicle-fines-number,
.vehicle-fines-amount {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.vehicle-fines-row--unpaid .vehicle-fines-number,
.vehicle-fines-row--unpaid .vehicle-fines-amount {
  color: #991b1b;
}

.vehicle-fines-description {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.45;
}

.vehicle-fines-counter {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.vehicle-fines-counter--alert {
  font-size: 1.08rem;
  font-weight: 800;
  color: #b91c1c;
}

.tech-inspection-check-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(1px);
}

body.tech-inspection-check-active {
  overflow: hidden;
}

#techInspectionCheckModal {
  z-index: 1055;
}

.tech-inspection-check-current {
  min-height: 1.75rem;
}

.tech-inspection-check-results {
  max-height: 18rem;
  overflow-y: auto;
}

.tech-inspection-check-results .list-group-item {
  padding-left: 0;
  padding-right: 0;
}

.vehicle-tech-inspection {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.vehicle-tech-inspection--warning {
  color: #92400e;
  background-color: #fef3c7;
  border-radius: 0.25rem;
  padding: 0.12rem 0.45rem;
}

.vehicle-tech-inspection--expired {
  color: #991b1b;
  background-color: #fee2e2;
  border-radius: 0.25rem;
  padding: 0.12rem 0.45rem;
}

#technicalInspectionExpiresOnField.vehicle-tech-inspection--warning {
  border-color: #f59e0b;
  background-color: #fffbeb;
  color: #92400e;
  font-weight: 700;
}

#technicalInspectionExpiresOnField.vehicle-tech-inspection--expired {
  border-color: #ef4444;
  background-color: #fef2f2;
  color: #991b1b;
  font-weight: 700;
}

.vehicle-history-panel {
  margin-top: 0.25rem;
}

.vehicle-history-table {
  margin-bottom: 0;
}

.vehicle-history-table thead th {
  white-space: nowrap;
}

.vehicle-history-form {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
}

.parking-check-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(1px);
}

body.parking-check-active {
  overflow: hidden;
}

#parkingCheckModal {
  z-index: 1055;
}

.parking-check-current {
  min-height: 1.75rem;
}

.parking-check-results {
  max-height: 18rem;
  overflow-y: auto;
}

.parking-check-results .list-group-item {
  padding-left: 0;
  padding-right: 0;
}

.vehicle-parking-permit {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
}

.vehicle-parking-permit--warning {
  color: #92400e;
  background-color: #fef3c7;
  border-radius: 0.25rem;
  padding: 0.12rem 0.45rem;
}

.vehicle-parking-permit--expired {
  color: #991b1b;
  background-color: #fee2e2;
  border-radius: 0.25rem;
  padding: 0.12rem 0.45rem;
}

.vehicle-parking-violations--alert {
  color: #b91c1c;
  font-weight: 700;
}

#batumiParkingPermitExpiresOnField.vehicle-parking-permit--warning {
  border-color: #f59e0b;
  background-color: #fffbeb;
  color: #92400e;
  font-weight: 700;
}

#batumiParkingPermitExpiresOnField.vehicle-parking-permit--expired {
  border-color: #ef4444;
  background-color: #fef2f2;
  color: #991b1b;
  font-weight: 700;
}

.vehicle-oil-change {
  display: inline-block;
  font-weight: 700;
  color: #111827;
}

.vehicle-oil-change--warning {
  color: #92400e;
  background-color: #fef3c7;
  border-radius: 0.25rem;
  padding: 0.12rem 0.45rem;
}

.vehicle-oil-change--overdue {
  color: #991b1b;
  background-color: #fee2e2;
  border-radius: 0.25rem;
  padding: 0.12rem 0.45rem;
}

.vehicle-parking-panel {
  margin-top: 0.25rem;
}

.vehicle-parking-table {
  margin-bottom: 0;
}

.vehicle-parking-row--unpaid td {
  color: #7f1d1d;
  background-color: #fff5f5;
}

.vehicle-parking-status--paid {
  color: #166534;
  font-weight: 700;
}

.vehicle-parking-status--unpaid {
  color: #b91c1c;
  font-weight: 800;
}

.vehicle-parking-amount,
.vehicle-parking-number {
  font-weight: 800;
}
