html,
body {
  min-height: 100%;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Arimo;
  src: url("../fonts/Arimo-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg-main: #ffffff;
  --panel-bg: #ffffff;
  --sidebar-bg: #557d70;
  --sidebar-bg-dark-header: #243b2b;
  --sidebar-bg-dark-home-icon: #c2d8c9;
  --sidebar-bg-dark: #5a7d6e;
  --text-main: #101828;
  --text-muted: #6a7282;
  --border-soft: #d8dce2;
  --success-soft: #bee6c9;
  --warning-soft: #f3d69c;
  --danger-soft: #f2c0b8;
  --info-soft: #bfd5f4;
  --mobile-status-strip-card-bg: #e9e8e0;
  --bg-mobile-main: #f1f0eb;
  --input-search-bg: #f9fafb;
  --last-payment-check-icon: #7bf1a8;
  --inspection-list-bg: #f1f2f3;
  --icon-warning-color: #ff6900;
  --icon-success-color: #00c950;
  --icon-info-color: #2b7fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arimo, "Segoe UI", system-ui, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.text-14 {
  font-size: 14px;
}
.text-12 {
  font-size: 12px;
}

.text-12-opacity-08 {
  font-size: 12px;
  opacity: 0.8;
}

.text-11 {
  font-size: 11px;
}

.text-10-opacity-08 {
  font-size: 10px;
  color: #fff;
  opacity: 0.8;
}

.text-14-opacity-08 {
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
}

.status-medium {
  color: #ff6900;
}

.status-low {
  color: var(--icon-success-color);
}

.status-high {
  color: #fb2c36;
}

.app-layout {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
}

.sidebar {
  width: 235px;
  min-width: 235px;
  background: var(--sidebar-bg);
  color: #e6efea;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-inner {
  padding: 14px 12px 12px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 4px 14px;
  margin-bottom: 12px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
}

.brand-logo i {
  color: var(--sidebar-bg);
  font-size: 16px;
}

.sidebar-brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.sidebar-brand small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

.menu-group {
  margin: 16px 8px 8px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: rgba(240, 248, 243, 0.9);
}

.badge-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: #ff8b23;
  color: #fff;
  font-size: 10px;
  display: inline-grid;
  place-items: center;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 9px;
  border-radius: 10px;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 100;
  border: none;
}
.menu-item:hover {
  color: rgba(240, 248, 243, 0.95);
}

.menu-item i {
  width: 16px;
  text-align: center;
}

.menu-item .menu-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.header-icon-search {
  width: 16px;
  height: 16px;
  background: #99a1af;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.desktop-header-icon {
  width: 20px;
  height: 20px;
  background-color: var(--text-main);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.mobile-header-icon {
  width: 18px;
  height: 18px;
  background-color: #fff;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.menu-item.active,
.menu-item:hover {
  color: #fff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

/* .badge-dot {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: #ff931f;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
} */

.sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 10px;
  padding-top: 10px;
}

.profile-box {
  margin-top: 8px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #8fb0a3;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.profile-box strong,
.profile-box small {
  display: block;
  line-height: 1.2;
}

.profile-box strong {
  font-size: 14px;
}

.profile-box small {
  font-size: 12px;
  opacity: 0.7;
}

.main-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 992px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1025;
    overflow-y: auto;
  }

  .main-panel {
    margin-left: 235px;
    width: calc(100% - 235px);
  }
}

.app-header {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}

.status-strip {
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
  padding: 20px 32px;
}

.status-strip div {
  text-align: right;
}

.status-strip small {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-muted);
}

.status-strip strong {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.status-strip button {
  font-size: 12px;
  font-weight: bold;
}

.main-topbar {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  border-top: 1px solid #f0f2f4;
}

.search-box {
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e3e6eb;
  background: var(--input-search-bg);
  padding: 0 12px;
}

.search-box {
  width: 280px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}

.search-box i {
  color: #9aa3af;
  font-size: 14px;
}

.icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn .dot,
.mobile-bottom-nav .dot {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: #ff8b23;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
}

.content-wrap {
  padding-top: 50px !important;
  flex: 1 0 auto;
}

.border-right-section {
  border-right: 1px solid var(--border-soft);
  padding-right: 20px;
}

.padding-left-section {
  padding-left: 20px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

.dashboard-section {
  padding-top: 24px;
}

.overview-desktop-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 20px;
}

.overview-desktop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overview-desktop-head div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.overview-desktop-head p {
  margin: 0;
  font-size: 12px;
  color: #6a7282;
}

.overview-desktop-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  display: inline-grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.overview-desktop-icon span {
  width: 22px;
  height: 22px;
  background: var(--text-main);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.overview-desktop-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: bold;
}

.overview-desktop-card small {
  display: block;
  margin: 0;
  font-size: 12px;
  color: #6a7282;
}

.upcoming-inspections-list .dot {
  min-width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--icon-success-color);
}

.section-title-row span {
  font-weight: normal;
  padding: 4px 10px;
  border-radius: 4px;
}

.section-title-row button {
  font-size: 14px;
}

.action-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  border: 1px solid var(--border-soft);
}

.action-list-row .icon-box {
  width: 40px;
  height: 40px;
  background: #cfdad1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.action-list-row p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.action-list-row small {
  font-size: 12px;
  color: var(--text-main);
  opacity: 0.8;
}

.action-list-row .icon-box span {
  width: 20px;
  height: 20px;
  background: #364153;
}

.action-list-row .action-list-row-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.action-list-row .icon-arrow-right {
  width: 20px;
  height: 20px;
  background: #99a1af;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 99px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}

.pill-success {
  background: var(--success-soft);
  color: #2e7b45;
}

.pill-warning {
  background: var(--warning-soft);
  color: #865d0f;
}

.pill-danger {
  background: var(--danger-soft);
  color: #92453a;
}

.pill-info {
  background: var(--info-soft);
  color: #35547d;
}

.dashboard-section h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

.btn-xs {
  font-size: 12px;
  color: #60856f;
  text-decoration: none;
}

.action-card {
  width: 100%;
  height: 100%;
  text-align: left;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
  padding: 20px;
  display: flex;
  gap: 16px;
}

.quick-actions-grid > [class*="col-"] {
  display: flex;
}

.icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e9eef7;
  color: #4a617f;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-box span {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon-box .icon-warning {
  background: var(--icon-warning-color);
}

.icon-box .icon-circle-info {
  background: var(--icon-info-color);
}

.icon-box .icon-square-check {
  background: var(--text-main);
}

.action-card p {
  margin-bottom: 4px;
  font-size: 18px;
}

.action-card small {
  font-size: 12px;
  color: var(--text-main);
  opacity: 0.8;
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  padding: 10px;
  background: #f1f2f3;
}
.list-row .list-row.light {
  background: var(--inspection-list-bg);
}

.list-row .icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.list-row i {
  font-size: 16px;
}

.list-row strong,
.list-row small {
  display: block;
  line-height: 1.3;
}

.list-row strong {
  font-size: 14px;
}

.list-row small {
  color: #7e8792;
  font-size: 12px;
}

.account-summary-card {
  background: linear-gradient(var(--sidebar-bg), var(--sidebar-bg-dark));
  color: #fff;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
}

.account-summary-card .icon-finance {
  width: 16px;
  height: 16px;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.account-summary-page-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 12px;
}

.account-summary-card .account-summary-label {
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0.8;
}

.payment-details--mobile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.last-payment-card .payment-details--mobile .payment-mobile-amount {
  font-weight: bold;
}

.autopay-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff33;
  color: #fff;
}

.view-statement-btn .icon-arrow-right {
  width: 16px;
  height: 16px;
  background: var(--sidebar-bg-dark);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.account-summary-card .view-statement-btn {
  font-size: 16px;
  color: var(--sidebar-bg-dark);
}

@media (max-width: 1199.98px) {
  .account-summary-rent h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
  }

  .account-summary-card .account-summary-rent {
    margin-bottom: 1.25rem;
  }

  .account-summary-card .last-payment-card {
    align-items: center;
    gap: 12px;
    padding-top: 1.1rem;
    margin-top: 0;
    border-top-color: rgba(255, 255, 255, 0.14);
  }

  .account-summary-card .last-payment-card > .d-flex {
    flex: 1;
    min-width: 0;
  }

  .account-summary-card h3 {
    font-size: 27px !important;
  }
}

.account-summary-card h3 {
  font-size: 36px;
  font-weight: bold;
}

.account-summary-card .btn {
  border-radius: 4px;
  min-width: 73px;
}

.account-summary-card .last-payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.last-payment-card {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.last-payment-card .icon-circle-check {
  width: 20px;
  height: 20px;
  background: var(--last-payment-check-icon);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.last-payment-card .payment-details {
  display: flex;
  gap: 8px;
}

.last-payment-card button {
  font-size: 12px;
  background: #ffffff33;
  color: #fff;
  border: none;
}

.app-footer {
  margin-top: 0;
  padding: 12px 0;

  .last-payment-card i {
    font-size: 16px;
    color: #fff;
  }

  .last-payment-card small {
    font-size: 12px;
  }
  color: #7f8895;
  background: #fff;
}

.mobile-topbar {
  background: var(--sidebar-bg-dark);
  color: #fff;
  height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.mobile-topbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.mobile-topbar-back {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-topbar-back strong {
  font-size: 18px;
  line-height: 1;
  color: #fff;
}

.mobile-topbar-back button {
  background: #cfdad1;
}

.mobile-topbar-back button span {
  color: var(--sidebar-bg-dark);
}

.mobile-back-icon {
  font-size: 28px;
  line-height: 1;
}

.mobile-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-topbar .icon-btn {
  color: #fff;
}

.mobile-status-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 15px;
  background: var(--mobile-status-strip-card-bg);
}

.mobile-status-strip::-webkit-scrollbar {
  display: none;
}

.mobile-status-card {
  min-width: 0;
  background: #f5f5f4;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  padding: 7px 8px;
  line-height: 1.1;
}

.mobile-status-card small {
  display: block;
  text-transform: uppercase;
  font-size: 12px;
  color: #6f7888;
  margin-bottom: 3px;
  white-space: nowrap;
}

.mobile-status-card strong {
  display: block;
  font-size: 12px;
  color: #111827;
  white-space: nowrap;
}

.mobile-status-card.is-danger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-color: #efb6a8;
}

.mobile-status-card.is-danger small,
.mobile-status-card.is-danger strong {
  color: #bf3226;
}

.mobile-page-intro {
  background: var(--bg-mobile-main);
  padding: 15px;
}

.mobile-page-title {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 700;
  color: #101828;
}

.mobile-page-subtitle {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6a7282;
}

.mobile-search-box {
  height: 42px;
  border-radius: 14px;
  border: 1px solid #d7dce4;
  background: var(--input-search-bg);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.mobile-search-box i {
  color: #9aa3af;
  font-size: 16px;
}

.mobile-search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #1f2937;
  font-size: 14px;
}

.upcoming-inspections-list .icon-arrow-right {
  width: 16px;
  height: 16px;
  background: var(--sidebar-bg-dark);
}
@media (max-width: 430px) {
  .mobile-status-strip {
    gap: 4px;
  }

  .mobile-status-card small {
    font-size: 10px;
  }

  .mobile-status-card strong {
    font-size: 10px;
  }

  .mobile-search-box {
    height: 42px;
    border-radius: 12px;
    padding: 0 12px;
  }

  .overview-desktop-icon {
    width: 30px;
    height: 30px;
    border-radius: 4px;
  }

  .overview-desktop-icon span {
    width: 16px;
    height: 16px;
  }

  .action-list-row .icon-box {
    width: 30px;
    height: 30px;
    border-radius: 4px;
  }

  .action-list-row p {
    font-size: 11px;
    font-weight: bold;
  }

  .action-list-row small {
    font-size: 11px;
  }

  .action-list-row .icon-box span {
    width: 16px;
    height: 16px;
  }

  .pill {
    font-size: 11px;
  }

  .maintenance-content .search-box,
  .maintenance-list {
    margin-left: 0;
    margin-right: 0;
  }

  .maintenance-view-toggle > .btn {
    min-width: 0;
    flex: 1 1 50%;
    font-size: 16px;
  }

  .overview-desktop-card {
    padding: 15px;
  }

  .maintenance-mobile-filters {
    gap: 4px !important;
  }

  .action-card {
    padding: 10px;
    gap: 8px;
  }
}

@media (max-width: 1199.98px) {
  .border-right-section {
    border-right: none;
    padding-right: 8px;
  }

  .padding-left-section {
    padding-left: 8px;
  }
}

.mobile-sidebar {
  width: 280px !important;
}

.mobile-sidebar .offcanvas-header {
  background: var(--sidebar-bg-dark-header);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-sidebar .offcanvas-header p {
  font-size: 11px;
  opacity: 0.7;
}

.mobile-sidebar .offcanvas-body {
  padding: 0;
  background: #f5f6f8;
}

.mobile-sidebar .sidebar-inner {
  background: #f5f6f8;
  color: var(--text-main);
}

.mobile-sidebar .sidebar-brand {
  display: none;
}

.mobile-sidebar .menu-item {
  color: var(--text-main);
  font-weight: 600;
}

.mobile-sidebar .menu-item .menu-icon {
  background-color: var(--text-main);
}

.mobile-sidebar .menu-item:hover {
  background: #dce9e2;
}

.mobile-sidebar .menu-item.active {
  background: var(--sidebar-bg-dark);
  color: #fff;
  border-radius: 16px;
  padding: 12px 14px;
}

.mobile-sidebar .menu-item.active .menu-icon {
  background-color: #fff;
}

.mobile-sidebar .menu-item.active .mobile-home-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--sidebar-bg-dark-home-icon);
  display: inline-grid;
  place-items: center;
}

.mobile-sidebar .menu-item.active .mobile-home-icon i {
  color: var(--sidebar-bg-dark);
}

.mobile-sidebar .menu-group {
  color: #6d7684;
}

.mobile-sidebar .sidebar-footer {
  border-top-color: #dbe0e6;
}

.mobile-sidebar .profile-box {
  display: none;
}

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  border-top: 1px solid #d8dde3;
  display: flex;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-height: 55px;
  font-size: 12px;
}

.mobile-bottom-nav a div {
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
}

.mobile-bottom-nav a i {
  width: 32px;
  height: 32px;
  font-size: 16px;
  display: grid;
  place-items: center;
}

.mobile-bottom-nav a div .dot {
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 10px;
  font-weight: 700 !important;
  color: #fff !important;
}

.mobile-bottom-nav a.active span {
  font-weight: bold;
}

.mobile-bottom-nav a.active .icon-box span {
  background: var(--sidebar-bg-dark);
}

.mobile-bottom-nav .icon-box {
  background: none;
}

.mobile-bottom-nav .icon-box span {
  width: 16px;
  height: 16px;
  background: var(--text-main);
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.mobile-bottom-nav a.active .icon-box {
  width: 32px;
  height: 32px;
  background: #e6f0e8;
}

.mobile-bottom-nav a.active i {
  border-radius: 8px;
  color: var(--sidebar-bg-dark);
}

.mobile-bottom-nav a.active span {
  color: var(--sidebar-bg-dark);
}

.maintenance-requests-section h2 {
  font-weight: normal;
}

.maintenance-requests-section .maintenance-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.maintenance-content .search-box {
  width: 100%;
  max-width: 550px;
  margin: 13px 25px;
  border: 1px solid var(--border-soft);
}

.maintenance-list {
  margin: 0 25px;
}

.maintenance-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 7px;
  background: #d9dde3;
}

.maintenance-view-toggle > .btn {
  border: none;
  border-radius: 5px !important;
  background: transparent;
  color: #7a8190;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
}

.maintenance-view-toggle > .btn:hover {
  color: #4f5665;
}

.maintenance-view-toggle .maintenance-view-icon {
  width: 20px;
  height: 20px;
  background: currentColor;
}

.maintenance-view-toggle > .btn-check:checked + .btn {
  background: #ffffff;
  color: #101828;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.maintenance-new-request-btn {
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  white-space: nowrap;
}

.maintenance-new-request-btn--mobile {
  display: inline-flex;
  margin-left: 10px;
  padding: 5px 12px;
  font-size: 11px;
  background: var(--sidebar-bg-dark-header);
}

.maintenance-status-tabs {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-bottom: 1px solid #d0d5dd;
  padding-top: 10px;
  background: #fff;
}

.maintenance-status-tab {
  position: relative;
  border: 0;
  background: transparent;
  color: #667085;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.maintenance-status-tab .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot-open {
  background: #6a7282;
}

.status-dot-fixing {
  background: #1770c0;
}

.status-dot-hold {
  background: #ff8904;
}

.status-dot-closed {
  background: #398f50;
}

.maintenance-status-tab .status-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e4e4e0;
  color: #667085;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  line-height: 1;
  padding: 0 4px;
}

.maintenance-status-tab.is-active {
  color: #1f2937;
}

.maintenance-status-tab.is-active .status-count {
  background: #1f3a2f;
  color: #fff;
}

.maintenance-status-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #1f3a2f;
}

.maintenance-status-tab.status-open.is-active .status-count {
  background: #1f3a2f;
}

.maintenance-status-tab.status-open.is-active::after {
  background: #1f3a2f;
}

.maintenance-status-tab.status-fixing.is-active .status-count {
  background: #2f7ac8;
}

.maintenance-status-tab.status-fixing.is-active::after {
  background: #2f7ac8;
}

.maintenance-status-tab.status-hold.is-active .status-count {
  background: #c17b0d;
}

.maintenance-status-tab.status-hold.is-active::after {
  background: #c17b0d;
}

.maintenance-status-tab.status-closed.is-active .status-count {
  background: #4e9f67;
}

.maintenance-status-tab.status-closed.is-active::after {
  background: #4e9f67;
}

.maintenance-list-content {
  margin-top: 16px;
}

.maintenance-kanban-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.maintenance-kanban-column {
  background: var(--input-search-bg);
  border-radius: 14px;
  padding: 25px 16px;
}

.maintenance-kanban-column h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.maintenance-ticket-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 13px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.maintenance-ticket-card,
.maintenance-mobile-item,
.maintenance-table tbody tr {
  cursor: pointer;
}

.maintenance-ticket-card:last-child {
  margin-bottom: 0;
}

.maintenance-ticket-card p {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.maintenance-ticket-card small {
  color: #6a7282;
  font-size: 12px;
}

.maintenance-ticket-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.maintenance-ticket-card-header p {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
}

.maintenance-kanban-grid .avatar {
  width: 24px;
  height: 24px;
  background: var(--sidebar-bg-dark);
  color: #fff;
  font-size: 12px;
  font-weight: normal;
}

.maintenance-ticket-card-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.maintenance-gird-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.maintenance-gird-card-footer .location {
  display: flex;
  align-items: center;
  gap: 4px;
}

.maintenance-gird-card-footer .location span {
  width: 12px;
  height: 12px;
  background: #99a1af;
  border-radius: 99px;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.maintenance-table-wrap {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.maintenance-table thead th {
  background: #f9fafb;
  font-size: 12px;
  color: #4a5565;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
}

.maintenance-table tbody td {
  font-size: 14px;
  padding: 16px;
  vertical-align: middle;
}

.maintenance-mobile-list {
  display: none;
}

.maintenance-mobile-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.maintenance-mobile-filter {
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #667085;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
  padding: 6px 10px;
}

.maintenance-mobile-filter .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.maintenance-mobile-group-title .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.maintenance-mobile-group-header .count-maintenance {
  font-size: 11px;
  padding: 0 12px;
}

.maintenance-mobile-filter.is-active {
  background: #0f172a;
  color: #fff;
}

.maintenance-mobile-list-board {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #e6e9ef;
}

.maintenance-mobile-group + .maintenance-mobile-group {
  border-top: 1px solid #d4d9e1;
}

.maintenance-mobile-group-header {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #d6dbe3;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.maintenance-mobile-group-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.maintenance-mobile-group-title.fixing {
  color: #2f7ac8;
}

.maintenance-mobile-group-title.hold {
  color: #b77905;
}

.maintenance-mobile-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #d4d9e1;
  background: #f8fafb;
}

.maintenance-mobile-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.maintenance-mobile-item-icon {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: #cfdad1;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.maintenance-mobile-item-icon .icon-wrench {
  width: 12px;
  height: 12px;
  background: #7b8694;
}

.maintenance-priority-badge {
  text-align: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 10px;
}

.maintenance-priority-badge.medium {
  background: #fff0d1;
  color: #9a5e16;
}

.maintenance-priority-badge.low {
  background: #dee6df;
  color: #326463;
}

.maintenance-priority-badge.high {
  background: #f7d0d0;
  color: #b33423;
}

.maintenance-item-arrow {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.dashboard-item-arrow {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.maintenance-item-arrow span {
  width: 12px;
  height: 12px;
  background: #667085;
}

.maintenance-view-all-btn {
  width: 100%;
  border: 0;
  background: #e5e7eb;
  color: #326463;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  font-size: 11px;
  font-weight: bold;
}

.maintenance-list .dot-open {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #99a1af;
}
.maintenance-list .dot-fixing {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #51a2ff;
}

.maintenance-list .dot-on-hold {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #fdc700;
}

.maintenance-list .dot-closed {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #05df72;
}

.maintenance-list .dot-medium {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #ff6900;
}

.maintenance-list .dot-high {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #fb2c36;
}

.maintenance-list .dot-low {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--icon-success-color);
}

.maintenance-kanban-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.maintenance-kanban-column-header .icon-more-option-vertical {
  width: 20px;
  height: 20px;
  background: #99a1af;
}

.mobile-home-icon span {
  width: 20px;
  height: 20px;
  background: var(--sidebar-bg-dark);
  display: inline-grid;
  place-items: center;
}

@media (max-width: 991.98px) {
  body {
    background: var(--bg-mobile-main);
  }

  .app-footer {
    padding-bottom: 48px;
  }

  .mobile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }

  .mobile-status-strip {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    z-index: 1020;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  }

  .mobile-page-intro {
    padding-top: 150px;
  }

  .main-panel {
    width: 100%;
  }

  .page-title {
    font-size: 39px;
  }

  .upcoming-inspections-list {
    background: #fff;
    padding: 20px 20px;
    border-radius: 8px;
  }

  .overview-desktop-card .overview-desktop-head {
    align-items: flex-start;
  }

  .overview-desktop-card h3 {
    margin-bottom: 0px;
    font-size: 18px;
  }

  .action-card {
    align-items: flex-start;
  }

  .action-card p {
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: bold;
  }

  .action-card small {
    font-size: 11px;
    color: var(--text-main);
    opacity: 0.8;
  }

  .dashboard-section h2 {
    font-size: 14px;
  }

  .dashboard-maintenance-section .section-title-row,
  .dashboard-feedback-section .section-title-row {
    margin-bottom: 12px;
  }

  .dashboard-maintenance-section .section-title-row .btn-xs,
  .dashboard-feedback-section .section-title-row .btn-xs {
    background: #d8e2dc;
    color: #2e6a5c;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    line-height: 1;
  }

  .dashboard-maintenance-section .maintenance-card-list-item-content,
  .dashboard-feedback-section .maintenance-card-list-item-content {
    align-items: self-start !important;
    gap: 8px !important;
  }

  .dashboard-maintenance-card-list,
  .dashboard-feedback-card-list {
    background: #f8fafc;
    border: 1px solid #d7dde5;
    border-radius: 14px;
    padding: 8px 10px;
    gap: 0 !important;
  }

  .dashboard-maintenance-card-list .action-list-row,
  .dashboard-feedback-card-list .action-list-row {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 6px 10px;
  }

  .dashboard-maintenance-card-list .action-list-row + .action-list-row,
  .dashboard-feedback-card-list .action-list-row + .action-list-row {
    border-top: 1px solid #d6dbe3;
  }

  .dashboard-maintenance-card-list .action-list-row .icon-box,
  .dashboard-feedback-card-list .action-list-row .icon-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #dce4df;
  }

  .dashboard-maintenance-card-list .action-list-row .icon-box span,
  .dashboard-feedback-card-list .action-list-row .icon-box span {
    width: 12px;
    height: 12px;
    background: #778292;
  }

  .dashboard-maintenance-card-list .action-list-row p,
  .dashboard-feedback-card-list .action-list-row p {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
    line-height: 1.15;
  }

  .dashboard-maintenance-card-list .action-list-row small,
  .dashboard-feedback-card-list .action-list-row small {
    font-size: 11px;
    color: #667085;
  }

  .dashboard-maintenance-card-list .pill,
  .dashboard-feedback-card-list .pill {
    font-size: 12px;
    font-weight: 700;
    padding: 7px 16px;
    justify-content: center;
  }

  .dashboard-maintenance-card-list .pill-warning {
    background: #fff0d1;
    color: #9a5e16;
    font-size: 11px;
    padding: 5px 10px;
  }

  .dashboard-maintenance-card-list .pill-info,
  .dashboard-feedback-card-list .pill-info {
    background: #dceefa;
    color: #1c578f;
    font-size: 11px;
    padding: 5px 10px;
  }

  .dashboard-maintenance-card-list .icon-arrow-right,
  .dashboard-feedback-card-list .icon-arrow-right {
    width: 12px;
    height: 12px;
    background: #6a7282;
    -webkit-mask-image: url("../icons/chervon-right.svg");
    mask-image: url("../icons/chervon-right.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  .maintenance-content h2 {
    font-weight: bold;
  }

  .maintenance-content .search-box {
    margin: 0;
  }

  .maintenance-kanban-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-table-wrap {
    overflow-x: auto;
  }

  .maintenance-view-toggle > .btn {
    padding: 4px 12px;
    font-size: 11px;
    gap: 4px;
    width: 100%;
    min-width: 80px;
  }

  .maintenance-view-toggle .maintenance-view-icon {
    width: 16px;
    height: 16px;
  }

  .maintenance-list {
    margin: 0;
  }

  .maintenance-status-tabs {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .maintenance-kanban-column {
    border: none;
    padding: 0;
    background: transparent;
  }

  .maintenance-content .search-box {
    width: 100%;
    max-width: 100%;
  }

  .maintenance-mobile-list {
    display: block;
  }
}

.login-page {
  background-image:
    linear-gradient(rgba(16, 24, 40, 0.35), rgba(16, 24, 40, 0.35)),
    url("../images/background-login.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 350px;
  padding: 30px;
  background: #bfbfbf;
}

.login-card img {
  width: 100%;
  max-width: 212px;
  height: auto;
}

.login-card input {
  background: #e9f0ff;
  font-size: 12px;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #1f5f46;
  background: #e4f2ea;
  margin-bottom: 12px;
}

.login-card h1 {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: bold;
}

.login-subtitle {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.login-form button {
  border-radius: 30px;
}

.login-form .form-control {
  min-height: 44px;
}

.button-checkbox-container {
  padding-top: 20px;
  gap: 40px;
}

.button-checkbox-container input {
  width: 16px;
  height: 16px;
}

.button-checkbox-container a {
  color: #0070ff;
}

.request-detail-card,
.request-detail-side-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
}

.request-detail-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4e7ec;
}

.request-detail-card-header h2 {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: bold;
}

.request-detail-card .request-detail-card-header .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #cfdad1;
}

.request-detail-card .request-detail-card-header .icon-box span {
  width: 20px;
  height: 20px;
  background: #7b8694;
}

.request-detail-card-header p {
  margin: 0;
  color: #667085;
}

.request-detail-rows {
  display: flex;
  flex-direction: column;
}

.request-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid #e4e7ec;
}

.request-detail-row:last-child {
  border-bottom: none;
}

.request-detail-row span {
  color: #667085;
}

.request-detail-row strong {
  color: #344054;
  font-weight: 600;
}

.request-cancellation-btn {
  width: 100%;
  border: 1px solid #f3a8a8;
  color: #f04438;
  background: #fbe8e8;
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 16px;
}

.request-detail-side-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.request-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-timeline li {
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.request-timeline li strong {
  font-size: 14px;
}

.request-timeline li span {
  color: #667085;
  font-size: 13px;
}

body[data-page="request-detail"] .mobile-status-strip,
body[data-page="request-detail"] .mobile-page-intro {
  display: none !important;
}

body[data-page="request-detail"] .mobile-topbar {
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

body[data-page="request-detail"] .mobile-topbar::after {
  content: "WR-001059";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #e4e7ec;
}

body[data-page="request-detail"] .mobile-top-actions {
  display: none;
}

body[data-page="request-detail"] .content-wrap {
  padding-top: 70px !important;
}

@media (max-width: 991.98px) {
  body[data-page="request-detail"] .request-detail-page {
    padding-top: 10px;
  }

  body[data-page="request-detail"] .request-detail-card {
    border-radius: 14px;
    padding: 14px;
  }

  body[data-page="request-detail"] .request-detail-card-header {
    padding-bottom: 10px;
  }

  body[data-page="request-detail"] .request-detail-card-header h2 {
    font-size: 11px;
  }

  body[data-page="request-detail"] .request-detail-card-header p {
    font-size: 11px;
  }

  body[data-page="request-detail"] .request-detail-card .icon-box {
    width: 20px;
    height: 20px;
    border-radius: 8px;
    background: #dce4df;
  }

  body[data-page="request-detail"] .request-detail-card .icon-box span {
    width: 12px;
    height: 12px;
    background: #778292;
  }

  body[data-page="request-detail"] .request-detail-card .pill {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
  }

  body[data-page="request-detail"] .request-detail-card .icon-arrow-right {
    width: 12px;
    height: 12px;
    background: #6a7282;
    -webkit-mask-image: url("../icons/chervon-right.svg");
    mask-image: url("../icons/chervon-right.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  body[data-page="request-detail"] .request-detail-row {
    padding: 11px 0;
  }

  body[data-page="request-detail"] .request-detail-row span,
  body[data-page="request-detail"] .request-detail-row p {
    font-size: 11px;
    margin-bottom: 0;
  }

  body[data-page="request-detail"] .request-detail-side-card {
    display: none;
  }

  body[data-page="request-detail"] .request-cancellation-btn {
    font-size: 11px;
  }
}
