:root,
[data-bs-theme="light"] {
  --tblr-primary: #15379d;
  --tblr-secondary: #6c7a91;
  --tblr-success: #2fb344;
  --tblr-info: #4299e1;
  --tblr-warning: #f76707;
  --tblr-danger: #d63939;
  --tblr-light: #f6f8fb;
  --tblr-dark: #182433;
  --tblr-muted: #6c7a91;
  --aqr-secondary: #699ad1;
  --aqr-text-secondary: #699ad1;
}

div.dt-container .dt-paging .dt-paging-button.current,
div.dt-container .dt-paging .dt-paging-button.current:hover {
  background: var(--aqr-secondary) !important;
  color: #fff !important;
  border: none !important;
}

.text-primary {
  color: var(--tblr-primary) !important;
}

.bg-primary {
  background-color: var(--tblr-primary) !important;
}

.aq-bg-secondary {
  background-color: var(--aqr-secondary) !important;
}

.aqr-text-secondary {
  color: var(--aqr-text-secondary) !important;
}

[data-bs-theme="dark"] .navbar-brand-image {
  filter: grayscale(1) brightness(10);
}

.card-body {
  color: #5d7186;
}

header.navbar {
  min-height: 4.3rem;
  min-height: 4.3rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-vertical.navbar-expand-lg
  .navbar-collapse
  .navbar-nav
  .nav-link
  i:before {
  vertical-align: sub;
}

#sidebar-menu {
  background: #699ad1;
}

[data-bs-theme="dark"] #sidebar-menu {
  background: inherit;
}

.navbar-vertical.navbar-expand-lg #sidebar-menu .navbar-nav {
  padding-top: 0 !important;
}

#sidebar-menu .navbar-nav .nav-item .nav-link {
  border-bottom: 1px solid #eee;
  color: #f5f5f5;
}

[data-bs-theme="dark"] #sidebar-menu .navbar-nav .nav-item .nav-link {
  border-bottom: 1px solid var(--tblr-border-color);
}

[data-bs-theme="dark"]
  #sidebar-menu
  .navbar-nav
  .nav-item:first-child
  .nav-link {
  border-top: 1px solid var(--tblr-border-color);
}

#sidebar-menu .navbar-nav .dropdown-menu .dropdown-item {
  border-bottom: 1px solid #eee;
  color: #f5f5f5;
}

#sidebar-menu .nav-link:focus,
#sidebar-menu .nav-link:hover,
#sidebar-menu .nav-link:active,
#sidebar-menu .nav-item.active,
#sidebar-menu .dropdown-item:focus,
#sidebar-menu .dropdown-item:active,
#sidebar-menu .dropdown-item:hover {
  background-color: #15379d;
}

[data-bs-theme="dark"] #sidebar-menu .navbar-nav .dropdown-menu .dropdown-item {
  border-bottom: 1px solid var(--tblr-border-color);
}

.navbar.navbar-vertical::-webkit-scrollbar {
  width: 0px !important;
}

.navbar .navbar-nav .nav-link {
  border-radius: 0 !important;
}

.navbar-brand-image {
  height: auto;
  width: 150px;
}

.navbar-brand {
  justify-content: center;
  width: 100%;
  padding: 0.75rem 0;
}

header .navbar-brand {
  display: inline-flex;
  width: unset;
  padding: 0.75rem 0;
}

.notification-dropdown {
  height: 400px;
  overflow-y: auto;
}

.navbar .navbar-nav .nav-link .badge {
  top: 0.45rem;
  right: 0.7rem;
}

.form-group {
  margin-bottom: var(--tblr-gutter-y);
}
table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
  text-align: left;
}
.dt-length,
.dt-search {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dt-length select {
  width: max-content;
}
.badge {
  --tblr-badge-color: var(--tblr-white);
}
label {
  margin-bottom: 0.5rem;
}
.hr,
hr {
  margin: 1rem 0;
}
.text-bold {
  font-weight: 700;
}

.property-details {
  line-height: 2.2;
}

.agent-dash .dashboard-header {
  background: linear-gradient(90deg, #003f9e 0%, #0057d5 50%, #012b78 100%);
  padding: 25px 35px;
  border-radius: 16px;
  color: #fff;
  min-height: 110px;
}

.agent-dash .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tblr-primary);
}

.dash-h-title {
  font-size: 30px;
}

.header-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  object-fit: cover;
}

.notif-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  font-size: 10px;
  padding: 2px 5px;
}

.new-listing-btn {
  background: #6b8cff;
  border-radius: 30px;
  padding: 10px 20px 10px 57px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  border: none;
}

.plus-circle {
  background: #fff;
  color: #066fd1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  position: absolute;
  left: 0;
}

.auth-page {
  min-height: 100vh;
  background: url("../images/auth-bg.png") no-repeat center;
  background-size: cover;
}

.auth-card {
  border-radius: 24px;
  overflow: hidden;
  height: 450px;
}

.auth-map {
  position: relative;
  background: #f1f6fb;
  height: 450px;
}

.auth-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-tabs {
  position: absolute;
  top: 50%;
  left: -95px;
  z-index: 2;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-tabs a {
  margin-right: 20px;
  color: #444;
  text-decoration: none;
  padding: 10px 15px;
}

.auth-tabs a.active {
  color: #1f3c88;
  background: #fff;
  padding: 10px 15px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.social-login-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.04em;
  line-height: 1rem;
  background: #eee;
  padding: 10px;
}

.social-login .btn {
  border: 0;
  box-shadow: none;
  height: 50px;
  padding: 10px;
}

.social-login .btn img {
  height: 100%;
}

.auth-footer {
  background: #163d96;
  color: #fff;
  font-size: 14px;
}

.auth-footer img {
  height: 15px;
  margin-left: 10px;
}

.login-logo img {
  width: 180px;
  height: auto;
  padding: 10px;
}

.auth-page .bg-auth-content {
  background: #f5f5f5;
  height: 100%;
}

.auth-page .registration-card {
  border-radius: 20px;
  overflow: hidden;
}

.auth-page .registration-header {
  background: #173e97;
  color: #fff;
  padding: 7px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.auth-page .steps-panel {
  background: #eaf2fbdb;
  height: 100%;
}

.auth-page .step-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-bottom: 32px;
  color: #7a8aa0;
  text-align: left;
  position: relative;
}

.auth-page .step-item::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 35px;
  width: 2px;
  height: 80px;
  background: #9bb7e0;
  transform: translateY(0);
}

.auth-page .step-item.active::after {
  background: #173e97;
}

.auth-page .step-item:last-child::after {
  display: none;
}

.auth-page .step-item.active {
  color: #173e97;
  font-weight: 600;
}

.auth-page .step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #9bb7e0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 9;
}

.auth-page .step-item.active .step-circle {
  background: #173e97;
}

.auth-page .step-content {
  display: none;
}

.auth-page .step-content.active {
  display: block;
}

.auth-page .step-item.active small {
  color: #aaa;
}

.auth-page .input-icon-addon {
  width: 30px;
  pointer-events: none;
  font-size: 1.2em;
  padding: 10px;
  color: var(--tblr-primary);
  /* background: var(--tblr-primary); */
}

.auth-page .registration-card .input-icon-addon {
  background: var(--tblr-primary);
  color: var(--tblr-white);
}

.auth-page .input-icon .form-control:not(:first-child),
.auth-page .input-icon .form-select:not(:last-child) {
  padding-left: 3rem;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
}

.forgot-pass {
  font-size: 14px;
  color: #bbb;
}

.dt-layout-row.dt-layout-table {
  padding: 0;
}

.dt-layout-row {
  padding: 0 10px;
}

.agent-profile-image img {
  width: 120px;
  height: 120px;
  border: 4px solid #6999d0;
  object-fit: cover;
}

form .input-group-text {
  background: #15379d;
  color: #f5f5f5;
}

.amenities-list i {
  color: #699ad1;
}

.table-actions a {
  margin-right: 6px;
  padding: 5px;
  font-size: 16px;
}

.dt-button.processing::after {
  border-color: #ffffff transparent #ffffff transparent;
}

@media (max-width: 768px) {
  .dashboard-header {
    text-align: center;
    padding: 20px;
  }
  .dashboard-header .d-flex {
    flex-direction: column !important;
    gap: 15px;
  }
  header.navbar {
    position: relative;
  }
}

@media (max-width: 991px) {
  .navbar-vertical {
    position: fixed !important;
    top: 0;
    left: -270px;
    width: 260px;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-vertical.show {
    left: 0;
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
  }

  .sidebar-overlay.show {
    display: block;
  }
}
