:root {
  --ag-ink: #eefcf0;
  --ag-muted: #9fb5a8;
  --ag-bg: #06120e;
  --ag-line: rgba(184, 241, 191, .16);
  --ag-green: #2ef586;
  --ag-cyan: #77e7ff;
  --ag-amber: #ffca64;
  --ag-red: #ff7f7f;
  --ag-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --smartag-sidebar-width: 16.25rem;
  --smartag-sidebar-collapsed-width: 5.25rem;
}

html.light-style,
body,
.layout-wrapper,
.layout-page,
.content-wrapper {
  background:
    radial-gradient(circle at 20% -10%, rgba(46, 245, 134, .22), transparent 34rem),
    radial-gradient(circle at 80% 6%, rgba(119, 231, 255, .14), transparent 30rem),
    linear-gradient(135deg, #04100c 0%, #0b1712 45%, #10130e 100%) !important;
  color: var(--ag-ink);
  font-family: Inter, Manrope, "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    repeating-radial-gradient(ellipse at 18% 42%, rgba(180, 199, 164, .1) 0 1px, transparent 1px 18px);
  background-size: 48px 48px, 48px 48px, 260px 130px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.92), rgba(0,0,0,.42));
  z-index: 0;
}

.layout-container,
.layout-page,
.content-wrapper,
.container-xxl {
  position: relative;
  z-index: auto;
}

.container-xxl.container-p-y {
  max-width: 1640px;
  padding: 1.2rem 1.5rem 2rem !important;
}

.layout-menu {
  margin: 16px 0 16px 16px;
  height: calc(100vh - 32px) !important;
  width: var(--smartag-sidebar-width) !important;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 37, 28, .82), rgba(8, 21, 17, .72)) !important;
  border: 1px solid var(--ag-line);
  box-shadow: var(--ag-shadow);
  backdrop-filter: blur(24px);
  transition: width .22s ease, transform .22s ease, border-radius .22s ease;
}

@media (min-width: 1200px) {
  .layout-menu-fixed:not(.layout-menu-collapsed) .layout-page {
    padding-left: calc(var(--smartag-sidebar-width) + 1rem) !important;
  }

  .layout-menu-fixed.layout-menu-collapsed .layout-page {
    padding-left: calc(var(--smartag-sidebar-collapsed-width) + 1rem) !important;
  }
}

.app-brand {
  position: relative;
  min-height: 112px !important;
  height: auto !important;
  padding: 20px 18px !important;
  gap: 10px;
}

.smartag-sidebar-collapse {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid rgba(4,33,20,.88);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ag-green), #d7ff74);
  color: #042114;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(46,245,134,.28), 0 0 0 3px rgba(255,255,255,.1);
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  z-index: 5;
}

.smartag-sidebar-collapse:hover,
.smartag-sidebar-collapse:focus {
  background: linear-gradient(135deg, #ffffff, #bfff69);
  color: #03150d;
  outline: none;
  transform: translateX(-1px) scale(1.04);
  box-shadow: 0 10px 28px rgba(46,245,134,.38), 0 0 0 4px rgba(46,245,134,.18);
}

.smartag-sidebar-collapse i {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.smartag-sidebar-logo,
.smartag-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #042114;
  background: linear-gradient(135deg, var(--ag-green), #c5ff73);
  box-shadow: 0 0 32px rgba(46, 245, 134, .42);
  flex: 0 0 auto;
}

.smartag-sidebar-logo i,
.smartag-brand-mark i {
  font-size: 1.55rem;
}

.app-brand-text,
.menu .app-brand.demo a {
  color: var(--ag-ink) !important;
  letter-spacing: 0;
}

.smartag-sidebar-brand-text {
  display: flex !important;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  line-height: 1.12;
  text-transform: none !important;
}

.smartag-sidebar-brand-text strong {
  max-width: 170px;
  overflow: hidden;
  color: var(--ag-ink);
  font-family: Manrope, Inter, sans-serif;
  font-size: .96rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smartag-sidebar-brand-text small {
  max-width: 180px;
  color: var(--ag-muted) !important;
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.smartag-sidebar-brand-text em {
  max-width: 170px;
  overflow: hidden;
  color: var(--ag-green);
  font-size: .68rem;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-inner {
  padding: 8px 12px 24px !important;
  list-style: none !important;
}

.menu-item {
  margin: 5px 0 !important;
  list-style: none !important;
}

.menu-link {
  border-radius: 16px !important;
  color: rgba(238, 252, 240, .72) !important;
  min-height: 44px;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.menu-link:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,.07) !important;
  color: #fff !important;
}

.menu-item.active > .menu-link,
.menu-item.open > .menu-link {
  color: #f7fff9 !important;
  background: linear-gradient(135deg, rgba(46,245,134,.22), rgba(119,231,255,.12)) !important;
  box-shadow: inset 0 0 0 1px rgba(46,245,134,.28), 0 14px 36px rgba(46,245,134,.16);
}

.menu-icon {
  color: var(--ag-green) !important;
  filter: drop-shadow(0 0 8px rgba(46,245,134,.28));
}

.menu-sub {
  margin: 6px 0 8px 14px !important;
  padding: 8px !important;
  border-left: 1px solid rgba(46,245,134,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  list-style: none !important;
}

.menu-sub .menu-item {
  margin: 3px 0 !important;
  list-style: none !important;
}

.menu-sub .menu-item::marker,
.menu-sub .menu-link::marker,
.menu-sub li::marker {
  content: "" !important;
}

.menu-sub .menu-link::before,
.menu-sub .menu-item::before {
  content: none !important;
  display: none !important;
}

.menu-sub .menu-link {
  min-height: 38px;
  padding: 9px 12px 9px 18px !important;
  border-radius: 13px !important;
  color: rgba(238,252,240,.66) !important;
}

.menu-sub .menu-item.active > .menu-link,
.menu-sub .menu-link:hover {
  color: #f8fff8 !important;
  background: rgba(46,245,134,.12) !important;
  box-shadow: inset 0 0 0 1px rgba(46,245,134,.16);
}

@media (min-width: 1200px) {
  html.layout-menu-collapsed .layout-menu {
    width: var(--smartag-sidebar-collapsed-width) !important;
    border-radius: 24px;
  }

  html.layout-menu-collapsed .app-brand {
    justify-content: center !important;
    min-height: 92px !important;
    padding: 18px 10px !important;
  }

  html.layout-menu-collapsed .smartag-sidebar-brand-text,
  html.layout-menu-collapsed .menu-link > div,
  html.layout-menu-collapsed .menu-sub {
    display: none !important;
  }

  html.layout-menu-collapsed .app-brand-link {
    flex: 0 0 auto;
  }

  html.layout-menu-collapsed .smartag-sidebar-collapse {
    position: absolute;
    top: 13px;
    right: -12px;
    width: 44px;
    height: 44px;
    border-color: #04150d;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(46,245,134,.36), 0 0 0 4px rgba(6,18,14,.76);
  }

  html.layout-menu-collapsed .smartag-sidebar-collapse i {
    font-size: 1.6rem;
  }

  html.layout-menu-collapsed .menu-inner {
    padding: 8px 9px 24px !important;
  }

  html.layout-menu-collapsed .menu-link {
    justify-content: center !important;
    padding: 0 !important;
    min-height: 44px;
  }

  html.layout-menu-collapsed .menu-link:hover {
    transform: none;
  }

  html.layout-menu-collapsed .menu-icon {
    margin: 0 !important;
    font-size: 1.35rem;
  }
}

.smartag-navbar {
  margin-top: 16px !important;
  border-radius: 26px !important;
  background: rgba(9, 29, 22, .72) !important;
  border: 1px solid var(--ag-line);
  box-shadow: var(--ag-shadow);
  backdrop-filter: blur(24px);
  color: var(--ag-ink);
  min-height: 82px;
}

.smartag-app-title {
  color: var(--ag-ink);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
  line-height: 1;
  font-size: 1.15rem;
}

.smartag-weather span {
  display: block;
  color: var(--ag-muted);
  font-size: .76rem;
  margin-top: 4px;
}

.smartag-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 520px);
  height: 48px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.11);
}

.smartag-top-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: clamp(142px, 14vw, 204px);
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  flex: 0 0 auto;
  overflow: hidden;
}

.smartag-top-logo img {
  display: block;
  width: calc(100% + 28px);
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.smartag-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ag-ink);
  font-size: .9rem;
}

.smartag-search input::placeholder {
  color: rgba(238,252,240,.48);
}

.smartag-weather,
.smartag-quick-action,
.smartag-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--ag-ink);
}

.smartag-weather i,
.smartag-icon-btn i {
  color: var(--ag-cyan);
  font-size: 1.35rem;
}

.smartag-quick-action {
  background: linear-gradient(135deg, rgba(46,245,134,.95), rgba(182,255,117,.95));
  color: #06120e;
  font-weight: 800;
}

.smartag-icon-btn {
  position: relative;
  width: 46px;
  justify-content: center;
  padding: 0;
}

.smartag-icon-btn span {
  position: absolute;
  right: 11px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ag-green);
  box-shadow: 0 0 14px var(--ag-green);
}

.smartag-user-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 6px 4px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: var(--ag-ink);
}

.smartag-user-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}

.smartag-user-copy span {
  max-width: 180px;
  overflow: hidden;
  color: var(--ag-ink);
  font-size: .86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smartag-user-copy small {
  max-width: 180px;
  overflow: hidden;
  color: var(--ag-muted) !important;
  font-size: .68rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-online::after {
  border-color: #0b1b14 !important;
  background-color: var(--ag-green) !important;
}

.content-footer {
  color: rgba(238,252,240,.55) !important;
}

.card,
.modal-content,
.dropdown-menu,
.swal2-popup {
  color: var(--ag-ink) !important;
  border: 1px solid var(--ag-line) !important;
  background: linear-gradient(145deg, rgba(16, 43, 32, .78), rgba(8, 20, 16, .66)) !important;
  box-shadow: var(--ag-shadow) !important;
  backdrop-filter: blur(22px);
  border-radius: 26px !important;
}

.card {
  overflow: visible;
  transition: border-color .22s ease, box-shadow .22s ease;
}

.card:hover {
  border-color: rgba(46,245,134,.32) !important;
  box-shadow: 0 28px 80px rgba(46,245,134,.1), var(--ag-shadow) !important;
}

.card-header,
.modal-header,
.modal-footer {
  color: var(--ag-ink) !important;
  background: rgba(255,255,255,.035) !important;
  border-color: rgba(184, 241, 191, .13) !important;
}

.card-title,
.modal-title,
h1,
h2,
h3,
h4,
h5,
h6,
.fw-semibold,
.fw-bold {
  color: #f8fff8 !important;
  letter-spacing: 0;
}

p,
label,
.text-muted,
.form-text,
.card-subtitle,
small {
  color: var(--ag-muted) !important;
}

.text-primary,
.text-success {
  color: var(--ag-green) !important;
}

.text-info {
  color: var(--ag-cyan) !important;
}

.text-warning {
  color: var(--ag-amber) !important;
}

.text-danger {
  color: var(--ag-red) !important;
}

.btn {
  border-radius: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0;
  box-shadow: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary,
.btn-success {
  color: #04120c !important;
  border-color: rgba(46,245,134,.58) !important;
  background: linear-gradient(135deg, var(--ag-green), #d4ff72) !important;
  box-shadow: 0 16px 36px rgba(46,245,134,.22) !important;
}

.btn-secondary,
.btn-outline-secondary,
.btn-outline-primary,
.btn-light {
  color: var(--ag-ink) !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.08) !important;
}

.btn-danger {
  color: #fff !important;
  border-color: rgba(255,127,127,.42) !important;
  background: linear-gradient(135deg, rgba(255,127,127,.95), rgba(185,45,74,.9)) !important;
}

.btn-warning {
  color: #201504 !important;
  border-color: rgba(255,202,100,.5) !important;
  background: linear-gradient(135deg, var(--ag-amber), #ffe39a) !important;
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="search"] {
  color: var(--ag-ink) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background-color: rgba(255,255,255,.075) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
  border-color: rgba(46,245,134,.58) !important;
  box-shadow: 0 0 0 4px rgba(46,245,134,.12) !important;
}

.form-control::placeholder,
textarea::placeholder,
input::placeholder {
  color: rgba(238,252,240,.42) !important;
}

.input-group-text {
  color: var(--ag-muted) !important;
  border-color: rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.08) !important;
  border-radius: 15px !important;
}

.table-responsive {
  border-radius: 22px;
  border: 1px solid #000;
  background: rgba(3, 13, 9, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.table {
  margin-bottom: 0;
  color: #eaf8ed !important;
  border: 1px solid #000 !important;
  border-collapse: collapse !important;
  border-color: #000 !important;
  --bs-table-color: #eaf8ed;
  --bs-table-bg: rgba(5, 18, 13, .82);
  --bs-table-striped-color: #f4fff6;
  --bs-table-striped-bg: rgba(16, 44, 32, .92);
  --bs-table-hover-color: #ffffff;
  --bs-table-hover-bg: rgba(31, 92, 63, .74);
}

.table thead,
.table thead tr,
.table thead th {
  color: #f3fff5 !important;
  background:
    linear-gradient(180deg, rgba(24, 64, 48, .98), rgba(10, 31, 23, .98)) !important;
  border-color: rgba(113, 214, 154, .24) !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(46,245,134,.22);
}

.table thead th {
  padding: 14px 18px !important;
  line-height: 1.35 !important;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle !important;
  white-space: nowrap;
  text-align: left;
}

.table thead td,
table.dataTable thead > tr > th,
table.dataTable thead > tr > td {
  padding: 14px 18px !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
  white-space: nowrap;
}

.table-sm thead th,
.table-sm thead td,
table.dataTable.table-sm thead > tr > th,
table.dataTable.table-sm thead > tr > td,
.ml-table thead th,
.ml-table thead td {
  padding: 12px 16px !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
}

.table thead th:first-child {
  border-top-left-radius: 16px;
}

.table thead th:last-child {
  border-top-right-radius: 16px;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
  background-image: none !important;
}

table.dataTable thead > tr > th.sorting::before,
table.dataTable thead > tr > th.sorting::after,
table.dataTable thead > tr > th.sorting_asc::before,
table.dataTable thead > tr > th.sorting_asc::after,
table.dataTable thead > tr > th.sorting_desc::before,
table.dataTable thead > tr > th.sorting_desc::after,
table.dataTable thead > tr > td.sorting::before,
table.dataTable thead > tr > td.sorting::after,
table.dataTable thead > tr > td.sorting_asc::before,
table.dataTable thead > tr > td.sorting_asc::after,
table.dataTable thead > tr > td.sorting_desc::before,
table.dataTable thead > tr > td.sorting_desc::after {
  display: none !important;
  content: "" !important;
}

.table tbody td,
.table tbody th {
  color: #eaf8ed !important;
  background-color: transparent !important;
  border: 1px solid #000 !important;
  border-color: #000 !important;
  padding: 12px 16px !important;
  vertical-align: middle !important;
}

.table tbody tr:nth-child(odd) td,
.table tbody tr:nth-child(odd) th {
  background-color: rgba(8, 24, 18, .9) !important;
}

.table tbody tr:nth-child(even) td,
.table tbody tr:nth-child(even) th {
  background-color: rgba(14, 35, 26, .9) !important;
}

.table tbody tr {
  transition: background .18s ease;
}

.table tbody tr:hover td,
.table tbody tr:hover th {
  color: #ffffff !important;
  background-color: rgba(37, 99, 70, .9) !important;
}

.table-bordered > :not(caption) > * {
  border-color: #000 !important;
}

.table a {
  color: #8cf8ff !important;
  font-weight: 700;
}

.table .btn {
  color: inherit;
}

.table input,
.table select,
.table textarea {
  color: #f8fff8 !important;
  background-color: rgba(1, 10, 7, .72) !important;
  border-color: rgba(184,241,191,.2) !important;
}

.table .text-dark,
.table .text-body,
.table .text-secondary,
.table .text-muted {
  color: #d9eadc !important;
}

.dataTables_wrapper {
  color: #d9eadc !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: #d9eadc !important;
  margin: .65rem 0;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  margin-left: .5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: var(--ag-ink) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.06) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #06120e !important;
  background: linear-gradient(135deg, var(--ag-green), #d4ff72) !important;
}

.badge,
.badge.bg-label-primary,
.badge.bg-label-success,
.badge.bg-label-info {
  color: #06120e !important;
  background: linear-gradient(135deg, rgba(46,245,134,.95), rgba(119,231,255,.85)) !important;
  border-radius: 999px;
}

.alert {
  color: var(--ag-ink) !important;
  border: 1px solid rgba(184,241,191,.15) !important;
  border-radius: 20px !important;
  background: rgba(255,255,255,.075) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

.alert-success {
  border-color: rgba(46,245,134,.32) !important;
  background: rgba(46,245,134,.1) !important;
}

.alert-danger,
.alert-warning {
  border-color: rgba(255,202,100,.32) !important;
  background: rgba(255,202,100,.1) !important;
}

.dropdown-menu {
  min-width: 13rem;
  padding: 10px !important;
  border-radius: 20px !important;
  background: rgba(8, 20, 16, .94) !important;
  border: 1px solid rgba(184,241,191,.16) !important;
}

.dropdown-menu .dropdown-header {
  color: var(--ag-muted) !important;
}

.dropdown-item {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(238,252,240,.78) !important;
  border-radius: 13px;
  font-weight: 600;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active {
  color: #fff !important;
  background: rgba(46,245,134,.12) !important;
  transform: translateX(2px);
}

.dropdown-item i {
  color: var(--ag-green) !important;
}

.dropdown-divider,
hr {
  border-color: rgba(184,241,191,.13) !important;
}

.modal .btn-close {
  filter: invert(1) grayscale(1);
  opacity: .72;
}

.modal {
  z-index: 1095 !important;
}

.modal-backdrop {
  z-index: 1090 !important;
}

.modal-dialog {
  pointer-events: auto;
}

body.modal-open .layout-wrapper,
body.modal-open .layout-container,
body.modal-open .layout-page,
body.modal-open .content-wrapper,
body.modal-open .container-xxl {
  transform: none !important;
  filter: none !important;
  z-index: auto !important;
}

body.modal-open .modal {
  position: fixed !important;
  inset: 0 !important;
}

body.modal-open .modal-dialog,
body.modal-open .modal-content {
  pointer-events: auto;
}

select,
.form-select,
.dataTables_wrapper .dataTables_length select {
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ag-green) 50%),
    linear-gradient(135deg, var(--ag-green) 50%, transparent 50%) !important;
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px) !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  padding-right: 2.5rem !important;
}

select option,
.form-select option {
  color: var(--ag-ink);
  background-color: #081410;
}

.nav-tabs,
.nav-pills {
  border-color: rgba(184,241,191,.13) !important;
  gap: 8px;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
  color: var(--ag-muted) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.05) !important;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
  color: #06120e !important;
  background: linear-gradient(135deg, var(--ag-green), #d4ff72) !important;
}

.apexcharts-canvas text,
.apexcharts-legend-text {
  fill: var(--ag-muted) !important;
  color: var(--ag-muted) !important;
}

.apexcharts-tooltip,
.apexcharts-menu {
  color: var(--ag-ink) !important;
  border: 1px solid rgba(184,241,191,.16) !important;
  background: rgba(8, 20, 16, .94) !important;
  box-shadow: var(--ag-shadow) !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  min-height: 42px;
  color: var(--ag-ink) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.075) !important;
  border-radius: 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  color: var(--ag-ink) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--ag-green) transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--ag-green) transparent !important;
}

.select2-dropdown {
  color: var(--ag-ink) !important;
  border: 1px solid rgba(184,241,191,.16) !important;
  background: rgba(8, 20, 16, .96) !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: var(--ag-shadow) !important;
}

.select2-results__option {
  color: rgba(238,252,240,.78) !important;
  padding: 10px 14px !important;
  transition: background .18s ease, color .18s ease;
}

.select2-results__option--highlighted,
.select2-container--default .select2-results__option--selected {
  color: #06120e !important;
  background: linear-gradient(135deg, var(--ag-green), #d4ff72) !important;
}

.select2-search--dropdown {
  padding: 10px !important;
  background: rgba(255,255,255,.04);
}

.select2-search--dropdown .select2-search__field {
  color: var(--ag-ink) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.08) !important;
  border-radius: 12px !important;
}

@media (max-width: 1199px) {
  .layout-menu {
    margin: 0;
    height: 100vh !important;
    border-radius: 0 28px 28px 0;
  }

  .smartag-search {
    display: none;
  }

  .smartag-top-logo {
    width: 158px;
  }
}

@media (max-width: 767px) {
  .container-xxl.container-p-y {
    padding: .9rem .85rem 1.5rem !important;
  }

  .smartag-navbar {
    margin-top: 10px !important;
    min-height: 70px;
  }

  .smartag-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .smartag-app-title {
    font-size: .98rem;
  }

  .smartag-top-logo {
    width: 124px;
    height: 42px;
    padding: 5px 6px;
    border-radius: 13px;
  }

  .smartag-user-copy {
    display: none;
  }

  .smartag-user-banner {
    min-height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
  }
}

:root,
[data-smartag-theme="dark"] {
  color-scheme: dark;
  --ml-ink: #dfeee7;
  --ml-muted: rgba(223,238,231,.68);
  --ml-heading: #f4fff8;
  --ml-card-bg: rgba(7, 35, 28, .92);
  --ml-card-header-bg: rgba(15, 66, 52, .74);
  --ml-card-border: rgba(99, 214, 154, .18);
  --ml-card-shadow: 0 10px 28px rgba(0,0,0,.18);
  --ml-stat-bg: linear-gradient(135deg, rgba(34,129,84,.9), rgba(11,54,42,.94));
  --ml-stat-border: rgba(179,255,203,.18);
  --ml-stat-label: rgba(255,255,255,.72);
  --ml-stat-value: #ffffff;
  --ml-table-ink: #ecfff4;
  --ml-table-heading: #bff3d1;
  --ml-table-heading-bg: rgba(255,255,255,.055);
  --ml-table-border: rgba(255,255,255,.10);
  --ml-table-row-divider: rgba(255,255,255,.075);
  --ml-table-row-hover: rgba(116, 231, 159, .075);
  --ml-input-bg: rgba(255,255,255,.94);
  --ml-input-ink: #102016;
  --ml-badge-bg: rgba(116, 231, 159, .16);
  --ml-badge-ink: #baf7cf;
  --ml-badge-border: rgba(116,231,159,.24);
}

[data-smartag-theme="light"] {
  color-scheme: light;
  --ag-ink: #17231c;
  --ag-muted: #5f7168;
  --ag-bg: #f3f7f1;
  --ag-line: rgba(24,82,52,.16);
  --ag-green: #0f6b3d;
  --ag-cyan: #0c7187;
  --ag-amber: #946000;
  --ag-red: #b4232d;
  --ag-shadow: 0 18px 48px rgba(33,65,43,.14);
  --ml-ink: #17231c;
  --ml-muted: #5f7168;
  --ml-heading: #17231c;
  --ml-card-bg: rgba(255,255,255,.94);
  --ml-card-header-bg: #e3efe4;
  --ml-card-border: rgba(24,82,52,.16);
  --ml-card-shadow: 0 14px 34px rgba(33,65,43,.12);
  --ml-stat-bg: linear-gradient(135deg, #ffffff, #e5f2e5);
  --ml-stat-border: rgba(15,107,61,.20);
  --ml-stat-label: #5f7168;
  --ml-stat-value: #17231c;
  --ml-table-ink: #17231c;
  --ml-table-heading: #254335;
  --ml-table-heading-bg: #e3efe4;
  --ml-table-border: rgba(24,82,52,.14);
  --ml-table-row-divider: rgba(24,82,52,.12);
  --ml-table-row-odd: #ffffff;
  --ml-table-row-even: #f5faf4;
  --ml-table-row-hover: rgba(15,107,61,.09);
  --ml-input-bg: #ffffff;
  --ml-input-ink: #17231c;
  --ml-badge-bg: rgba(15,107,61,.12);
  --ml-badge-ink: #0f5f35;
  --ml-badge-border: rgba(15,107,61,.24);
}

.smartag-theme-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--ag-ink);
  border: 1px solid rgba(184,241,191,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  font-weight: 700;
  font-size: .82rem;
  line-height: 1;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.smartag-theme-toggle:hover,
.smartag-theme-toggle:focus {
  color: #06120e;
  border-color: rgba(46,245,134,.42);
  background: linear-gradient(135deg, var(--ag-green), #d4ff72);
  transform: translateY(-1px);
}

.smartag-theme-toggle i {
  font-size: 1rem;
}

[data-smartag-theme="light"] body {
  color: #17231c !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(15,107,61,.12), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(12,113,135,.10), transparent 26%),
    linear-gradient(180deg, #f8fbf7 0%, #eef5ed 58%, #f6faf5 100%) !important;
}

[data-smartag-theme="light"] body::before {
  background:
    linear-gradient(rgba(15,107,61,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,107,61,.05) 1px, transparent 1px),
    linear-gradient(120deg, rgba(12,113,135,.06), transparent 50%) !important;
  background-size: 38px 38px, 38px 38px, cover !important;
  opacity: .55;
}

[data-smartag-theme="light"] .layout-wrapper,
[data-smartag-theme="light"] .layout-container,
[data-smartag-theme="light"] .layout-page,
[data-smartag-theme="light"] .content-wrapper {
  color: #17231c !important;
  background: transparent !important;
}

[data-smartag-theme="light"] .layout-menu {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: rgba(255,255,255,.93) !important;
  box-shadow: 0 20px 48px rgba(33,65,43,.13) !important;
}

[data-smartag-theme="light"] .smartag-navbar,
[data-smartag-theme="light"] .card,
[data-smartag-theme="light"] .modal-content,
[data-smartag-theme="light"] .dropdown-menu,
[data-smartag-theme="light"] .swal2-popup {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 16px 42px rgba(33,65,43,.12) !important;
}

[data-smartag-theme="light"] .smartag-brand-mark {
  color: #ffffff !important;
  border-color: rgba(15,107,61,.18);
  background: linear-gradient(135deg, #0f6b3d, #0c7187) !important;
}

[data-smartag-theme="light"] .smartag-sidebar-brand-text strong {
  color: #17231c !important;
}

[data-smartag-theme="light"] .smartag-sidebar-brand-text small {
  color: #5f7168 !important;
}

[data-smartag-theme="light"] .smartag-sidebar-brand-text em {
  color: #0f5f35 !important;
}

[data-smartag-theme="light"] .smartag-user-banner {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14);
  background: rgba(244,249,243,.92);
}

[data-smartag-theme="light"] .smartag-top-logo {
  border-color: rgba(24,82,52,.14);
  background: #ffffff;
}

[data-smartag-theme="light"] .smartag-search {
  border-color: rgba(15,107,61,.34);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15,107,61,.08);
}

[data-smartag-theme="light"] .smartag-search input::placeholder {
  color: #718278;
}

[data-smartag-theme="light"] .smartag-user-copy span {
  color: #17231c !important;
}

[data-smartag-theme="light"] .smartag-user-copy small {
  color: #5f7168 !important;
}

[data-smartag-theme="light"] .text-muted,
[data-smartag-theme="light"] .menu-header,
[data-smartag-theme="light"] .menu-header-text,
[data-smartag-theme="light"] small,
[data-smartag-theme="light"] .small {
  color: #5f7168 !important;
}

[data-smartag-theme="light"] h1,
[data-smartag-theme="light"] h2,
[data-smartag-theme="light"] h3,
[data-smartag-theme="light"] h4,
[data-smartag-theme="light"] h5,
[data-smartag-theme="light"] h6,
[data-smartag-theme="light"] .card-title,
[data-smartag-theme="light"] .smartag-app-title,
[data-smartag-theme="light"] .modal-title,
[data-smartag-theme="light"] label,
[data-smartag-theme="light"] .form-label,
[data-smartag-theme="light"] p,
[data-smartag-theme="light"] .menu-link,
[data-smartag-theme="light"] .dropdown-item {
  color: #17231c !important;
}

[data-smartag-theme="light"] .menu-link {
  border-color: transparent !important;
  background: transparent !important;
}

[data-smartag-theme="light"] .menu-item.active > .menu-link,
[data-smartag-theme="light"] .menu-item.open > .menu-link,
[data-smartag-theme="light"] .menu-link:hover,
[data-smartag-theme="light"] .dropdown-item:hover,
[data-smartag-theme="light"] .dropdown-item:focus {
  color: #0c472a !important;
  border-color: rgba(15,107,61,.20) !important;
  background: rgba(15,107,61,.10) !important;
}

[data-smartag-theme="light"] .menu-sub {
  border-color: rgba(24,82,52,.12) !important;
  background: rgba(244,249,243,.86) !important;
}

[data-smartag-theme="light"] .form-control,
[data-smartag-theme="light"] .form-select,
[data-smartag-theme="light"] .custom-select,
[data-smartag-theme="light"] .input-group-text,
[data-smartag-theme="light"] textarea,
[data-smartag-theme="light"] select,
[data-smartag-theme="light"] .select2-container--default .select2-selection--single,
[data-smartag-theme="light"] .select2-container--default .select2-selection--multiple {
  color: #17231c !important;
  border-color: #bfcec2 !important;
  background-color: #ffffff !important;
}

[data-smartag-theme="light"] .form-control::placeholder,
[data-smartag-theme="light"] textarea::placeholder {
  color: #6f8176 !important;
  opacity: 1;
}

[data-smartag-theme="light"] select option,
[data-smartag-theme="light"] .form-select option {
  color: #17231c;
  background-color: #ffffff;
}

[data-smartag-theme="light"] .table,
[data-smartag-theme="light"] .table th,
[data-smartag-theme="light"] .table td {
  color: #17231c !important;
  border-color: #000 !important;
  --bs-table-color: #17231c;
  --bs-table-bg: #ffffff;
  --bs-table-striped-color: #17231c;
  --bs-table-striped-bg: #f5faf4;
  --bs-table-hover-color: #17231c;
  --bs-table-hover-bg: #eaf5ea;
}

[data-smartag-theme="light"] .table-responsive {
  border-color: #000 !important;
  background: rgba(255,255,255,.86) !important;
}

[data-smartag-theme="light"] .table thead th {
  color: #254335 !important;
  background: #e3efe4 !important;
}

[data-smartag-theme="light"] .ml-table th,
[data-smartag-theme="light"] .ml-form-section-title,
[data-smartag-theme="light"] .ml-auction-section-title,
[data-smartag-theme="light"] .ml-buyer-section-title,
[data-smartag-theme="light"] .ml-buyer-modal-section-title,
[data-smartag-theme="light"] .ml-modal-section-title,
[data-smartag-theme="light"] .ml-inline-status,
[data-smartag-theme="light"] .ml-farmer-details strong {
  color: #0f5f35 !important;
}

[data-smartag-theme="light"] .ml-doc-link {
  color: #075d70 !important;
}

[data-smartag-theme="light"] .table tbody td,
[data-smartag-theme="light"] .table tbody th,
[data-smartag-theme="light"] table.dataTable tbody td,
[data-smartag-theme="light"] table.dataTable tbody th,
[data-smartag-theme="light"] .ml-table tbody td,
[data-smartag-theme="light"] .ml-table tbody th {
  color: #17231c !important;
  border-color: #000 !important;
  background-color: #ffffff !important;
}

[data-smartag-theme="light"] .table tbody tr:nth-child(odd) td,
[data-smartag-theme="light"] .table tbody tr:nth-child(odd) th,
[data-smartag-theme="light"] table.dataTable tbody tr.odd td,
[data-smartag-theme="light"] table.dataTable tbody tr.odd th {
  color: #17231c !important;
  background-color: #ffffff !important;
}

[data-smartag-theme="light"] .table tbody tr:nth-child(even) td,
[data-smartag-theme="light"] .table tbody tr:nth-child(even) th,
[data-smartag-theme="light"] .table-striped > tbody > tr:nth-of-type(odd) > *,
[data-smartag-theme="light"] table.dataTable tbody tr.even td,
[data-smartag-theme="light"] table.dataTable tbody tr.even th {
  color: #17231c !important;
  background-color: #f5faf4 !important;
}

[data-smartag-theme="light"] .table-hover tbody tr:hover,
[data-smartag-theme="light"] .table tbody tr:hover,
[data-smartag-theme="light"] table.dataTable tbody tr:hover {
  color: #17231c !important;
  background: #eaf5ea !important;
}

[data-smartag-theme="light"] .table-hover tbody tr:hover td,
[data-smartag-theme="light"] .table-hover tbody tr:hover th,
[data-smartag-theme="light"] .table tbody tr:hover td,
[data-smartag-theme="light"] .table tbody tr:hover th,
[data-smartag-theme="light"] table.dataTable tbody tr:hover td,
[data-smartag-theme="light"] table.dataTable tbody tr:hover th {
  color: #17231c !important;
  background-color: #eaf5ea !important;
}

[data-smartag-theme="light"] .table a {
  color: #0c7187 !important;
}

[data-smartag-theme="light"] .dataTables_wrapper,
[data-smartag-theme="light"] .dataTables_wrapper label,
[data-smartag-theme="light"] .dataTables_wrapper .dataTables_info,
[data-smartag-theme="light"] .dataTables_wrapper .dataTables_length,
[data-smartag-theme="light"] .dataTables_wrapper .dataTables_filter {
  color: #17231c !important;
}

[data-smartag-theme="light"] .dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #ffffff !important;
}

[data-smartag-theme="light"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
[data-smartag-theme="light"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #ffffff !important;
  border-color: #0f6b3d !important;
  background: #0f6b3d !important;
}

[data-smartag-theme="light"] .btn-outline-light {
  color: #0f5f35 !important;
  border-color: rgba(15,107,61,.42) !important;
  background: rgba(255,255,255,.72) !important;
}

[data-smartag-theme="light"] .btn-outline-light:hover,
[data-smartag-theme="light"] .btn-outline-light:focus {
  color: #ffffff !important;
  border-color: #0f6b3d !important;
  background: #0f6b3d !important;
}

[data-smartag-theme="light"] .badge,
[data-smartag-theme="light"] .ml-badge {
  color: #0f5f35 !important;
  border-color: rgba(15,107,61,.26) !important;
  background: rgba(15,107,61,.12) !important;
}

[data-smartag-theme="light"] .alert {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: rgba(255,255,255,.88) !important;
}

[data-smartag-theme="light"] .alert-warning {
  color: #5d3d00 !important;
  border-color: rgba(148,96,0,.28) !important;
  background: #fff5d9 !important;
}

[data-smartag-theme="light"] .alert-info {
  color: #084d5c !important;
  border-color: rgba(12,113,135,.24) !important;
  background: #e5f8fb !important;
}

[data-smartag-theme="light"] .alert-danger {
  color: #7a1520 !important;
  border-color: rgba(180,35,45,.24) !important;
  background: #ffe8ea !important;
}

[data-smartag-theme="light"] .nav-tabs,
[data-smartag-theme="light"] .nav-pills,
[data-smartag-theme="light"] .dropdown-divider,
[data-smartag-theme="light"] hr {
  border-color: rgba(24,82,52,.14) !important;
}

[data-smartag-theme="light"] .nav-tabs .nav-link,
[data-smartag-theme="light"] .nav-pills .nav-link {
  color: #5f7168 !important;
  border-color: rgba(24,82,52,.14) !important;
  background: rgba(255,255,255,.82) !important;
}

[data-smartag-theme="light"] .nav-tabs .nav-link:hover,
[data-smartag-theme="light"] .nav-pills .nav-link:hover,
[data-smartag-theme="light"] .nav-tabs .nav-link.active,
[data-smartag-theme="light"] .nav-pills .nav-link.active {
  color: #ffffff !important;
  border-color: #0f6b3d !important;
  background: #0f6b3d !important;
}

[data-smartag-theme="light"] .modal .btn-close {
  filter: none;
}

[data-smartag-theme="light"] .select2-dropdown,
[data-smartag-theme="light"] .select2-search--dropdown,
[data-smartag-theme="light"] .select2-search--dropdown .select2-search__field {
  color: #17231c !important;
  border-color: #bfcec2 !important;
  background: #ffffff !important;
}

[data-smartag-theme="light"] .select2-results__option {
  color: #17231c !important;
}

[data-smartag-theme="light"] .select2-results__option--highlighted,
[data-smartag-theme="light"] .select2-container--default .select2-results__option--selected {
  color: #ffffff !important;
  background: #0f6b3d !important;
}

[data-smartag-theme="light"] .apexcharts-canvas text,
[data-smartag-theme="light"] .apexcharts-legend-text {
  fill: #5f7168 !important;
  color: #5f7168 !important;
}

[data-smartag-theme="light"] .apexcharts-tooltip,
[data-smartag-theme="light"] .apexcharts-menu {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #ffffff !important;
}

[data-smartag-theme="light"] .smartag-theme-toggle {
  color: #17231c;
  border-color: rgba(24,82,52,.16);
  background: #ffffff;
}

[data-smartag-theme="light"] .smartag-theme-toggle:hover,
[data-smartag-theme="light"] .smartag-theme-toggle:focus {
  color: #ffffff;
  border-color: #0f6b3d;
  background: #0f6b3d;
}

html[data-smartag-theme="light"] body .modal-content,
html[data-smartag-theme="light"] body .modal.ml-auction-modal .modal-content,
html[data-smartag-theme="light"] body .modal.ml-map-modal .modal-content,
html[data-smartag-theme="light"] body .modal.ml-storage-image-viewer .modal-content,
html[data-smartag-theme="light"] body .modal.ml-quality-modal .modal-content,
html[data-smartag-theme="light"] body .modal.ml-quality-photo-viewer .modal-content {
  color: #17231c !important;
  border-color: rgba(24,82,52,.16) !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(33,65,43,.20) !important;
}

html[data-smartag-theme="light"] body .modal-header,
html[data-smartag-theme="light"] body .modal-footer,
html[data-smartag-theme="light"] body .modal.ml-auction-modal .modal-header,
html[data-smartag-theme="light"] body .modal.ml-auction-modal .modal-footer,
html[data-smartag-theme="light"] body .modal.ml-map-modal .modal-header,
html[data-smartag-theme="light"] body .modal.ml-map-modal .modal-footer,
html[data-smartag-theme="light"] body .modal.ml-storage-image-viewer .modal-header,
html[data-smartag-theme="light"] body .modal.ml-quality-modal .modal-header,
html[data-smartag-theme="light"] body .modal.ml-quality-modal .modal-footer,
html[data-smartag-theme="light"] body .modal.ml-quality-photo-viewer .modal-header {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #eef6ed !important;
}

html[data-smartag-theme="light"] body .modal-body,
html[data-smartag-theme="light"] body .modal-title,
html[data-smartag-theme="light"] body .modal label,
html[data-smartag-theme="light"] body .modal p,
html[data-smartag-theme="light"] body .modal strong,
html[data-smartag-theme="light"] body .modal h1,
html[data-smartag-theme="light"] body .modal h2,
html[data-smartag-theme="light"] body .modal h3,
html[data-smartag-theme="light"] body .modal h4,
html[data-smartag-theme="light"] body .modal h5,
html[data-smartag-theme="light"] body .modal h6 {
  color: #17231c !important;
}

html[data-smartag-theme="light"] body .modal .text-muted,
html[data-smartag-theme="light"] body .modal .ml-muted,
html[data-smartag-theme="light"] body .modal .form-text,
html[data-smartag-theme="light"] body .modal .ml-field-help,
html[data-smartag-theme="light"] body .modal .ml-detail-box span {
  color: #5f7168 !important;
}

html[data-smartag-theme="light"] body .modal .ml-field-label,
html[data-smartag-theme="light"] body .modal .ml-auction-section-title,
html[data-smartag-theme="light"] body .modal .ml-modal-section-title,
html[data-smartag-theme="light"] body .modal .ml-quality-modal .accordion-button,
html[data-smartag-theme="light"] body .modal .ml-quality-modal .accordion-button:not(.collapsed) {
  color: #0f5f35 !important;
}

html[data-smartag-theme="light"] body .modal .ml-auction-section,
html[data-smartag-theme="light"] body .modal .ml-modal-section,
html[data-smartag-theme="light"] body .modal .ml-detail-box,
html[data-smartag-theme="light"] body .modal .accordion-item,
html[data-smartag-theme="light"] body .modal.ml-quality-modal .accordion-item {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #f7fbf6 !important;
}

html[data-smartag-theme="light"] body .modal .ml-detail-box strong,
html[data-smartag-theme="light"] body .modal .accordion-body,
html[data-smartag-theme="light"] body .modal .accordion-body * {
  color: #17231c !important;
}

html[data-smartag-theme="light"] body .modal .accordion-button,
html[data-smartag-theme="light"] body .modal.ml-quality-modal .accordion-button {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #e8f3e7 !important;
  box-shadow: none !important;
}

html[data-smartag-theme="light"] body .modal .accordion-button:not(.collapsed),
html[data-smartag-theme="light"] body .modal.ml-quality-modal .accordion-button:not(.collapsed) {
  color: #0c472a !important;
  background: #dcebdd !important;
}

html[data-smartag-theme="light"] body .modal .form-control,
html[data-smartag-theme="light"] body .modal .form-select,
html[data-smartag-theme="light"] body .modal .custom-select,
html[data-smartag-theme="light"] body .modal textarea,
html[data-smartag-theme="light"] body .modal select,
html[data-smartag-theme="light"] body .modal input {
  color: #17231c !important;
  border-color: #bfcec2 !important;
  background-color: #ffffff !important;
}

html[data-smartag-theme="light"] body .modal .form-control:disabled,
html[data-smartag-theme="light"] body .modal .form-control[readonly],
html[data-smartag-theme="light"] body .modal .ml-date-locked {
  color: #5f7168 !important;
  border-color: rgba(24,82,52,.12) !important;
  background-color: #eef4ed !important;
}

html[data-smartag-theme="light"] body .modal .btn-close,
html[data-smartag-theme="light"] body .modal .btn-close-white {
  filter: none !important;
  opacity: .72;
}

html[data-smartag-theme="light"] body .modal .btn-outline-light {
  color: #0f5f35 !important;
  border-color: rgba(15,107,61,.38) !important;
  background: #ffffff !important;
}

html[data-smartag-theme="light"] body .modal .btn-outline-light:hover,
html[data-smartag-theme="light"] body .modal .btn-outline-light:focus {
  color: #ffffff !important;
  border-color: #0f6b3d !important;
  background: #0f6b3d !important;
}

html[data-smartag-theme="light"] body .modal .ml-doc-link {
  color: #0c7187 !important;
}

html[data-smartag-theme="light"] body .modal-backdrop.show {
  opacity: .38;
}

/* Light theme visibility hardening for custom SmartAgri and Market Linkage pages. */
html[data-smartag-theme="light"] body,
html[data-smartag-theme="light"] body .content-wrapper,
html[data-smartag-theme="light"] body .container-fluid,
html[data-smartag-theme="light"] body .container-xxl,
html[data-smartag-theme="light"] body .ml-page {
  color: #17231c !important;
}

html[data-smartag-theme="light"] body .card,
html[data-smartag-theme="light"] body .ml-card,
html[data-smartag-theme="light"] body .modal-content,
html[data-smartag-theme="light"] body .dropdown-menu,
html[data-smartag-theme="light"] body .swal2-popup {
  color: #17231c !important;
  border-color: rgba(24,82,52,.16) !important;
  background: #ffffff !important;
}

html[data-smartag-theme="light"] body .card-header,
html[data-smartag-theme="light"] body .card-footer,
html[data-smartag-theme="light"] body .ml-card .card-header,
html[data-smartag-theme="light"] body .modal-header,
html[data-smartag-theme="light"] body .modal-footer {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #edf6ef !important;
}

html[data-smartag-theme="light"] body .ml-title,
html[data-smartag-theme="light"] body .card-title,
html[data-smartag-theme="light"] body .modal-title,
html[data-smartag-theme="light"] body h1,
html[data-smartag-theme="light"] body h2,
html[data-smartag-theme="light"] body h3,
html[data-smartag-theme="light"] body h4,
html[data-smartag-theme="light"] body h5,
html[data-smartag-theme="light"] body h6,
html[data-smartag-theme="light"] body strong,
html[data-smartag-theme="light"] body b,
html[data-smartag-theme="light"] body .fw-bold,
html[data-smartag-theme="light"] body .fw-semibold {
  color: #17231c !important;
}

html[data-smartag-theme="light"] body .ml-muted,
html[data-smartag-theme="light"] body .text-muted,
html[data-smartag-theme="light"] body .form-text,
html[data-smartag-theme="light"] body .ml-field-help,
html[data-smartag-theme="light"] body .card-subtitle,
html[data-smartag-theme="light"] body small,
html[data-smartag-theme="light"] body .small,
html[data-smartag-theme="light"] body .help-block,
html[data-smartag-theme="light"] body .dataTables_info {
  color: #53685d !important;
}

html[data-smartag-theme="light"] body label,
html[data-smartag-theme="light"] body .form-label,
html[data-smartag-theme="light"] body .ml-field-label,
html[data-smartag-theme="light"] body .ml-form-section-title,
html[data-smartag-theme="light"] body .ml-auction-section-title,
html[data-smartag-theme="light"] body .ml-buyer-section-title,
html[data-smartag-theme="light"] body .ml-buyer-modal-section-title,
html[data-smartag-theme="light"] body .ml-modal-section-title,
html[data-smartag-theme="light"] body .ml-operation-pane-title,
html[data-smartag-theme="light"] body .ml-definition-modal .form-label,
html[data-smartag-theme="light"] body .ml-contract-draft .form-label {
  color: #0d5632 !important;
}

html[data-smartag-theme="light"] body .ml-form-section,
html[data-smartag-theme="light"] body .ml-auction-section,
html[data-smartag-theme="light"] body .ml-buyer-section,
html[data-smartag-theme="light"] body .ml-buyer-modal-section,
html[data-smartag-theme="light"] body .ml-modal-section,
html[data-smartag-theme="light"] body .ml-detail-box,
html[data-smartag-theme="light"] body .ml-buyer-detail,
html[data-smartag-theme="light"] body .ml-definition-detail,
html[data-smartag-theme="light"] body .ml-quality-report-card,
html[data-smartag-theme="light"] body .ml-quality-report-field,
html[data-smartag-theme="light"] body .ml-contract-term-line,
html[data-smartag-theme="light"] body .ml-terms-master-item,
html[data-smartag-theme="light"] body .ml-contribution-row,
html[data-smartag-theme="light"] body .ml-source-row,
html[data-smartag-theme="light"] body .ml-doc-slot,
html[data-smartag-theme="light"] body .ml-buyer-doc-card,
html[data-smartag-theme="light"] body .ml-receipt-preview,
html[data-smartag-theme="light"] body .ml-receipt-detail,
html[data-smartag-theme="light"] body .ml-receipt-source-breakdown,
html[data-smartag-theme="light"] body .accordion-item {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #f8fbf7 !important;
}

html[data-smartag-theme="light"] body .ml-detail-box span,
html[data-smartag-theme="light"] body .ml-buyer-detail span,
html[data-smartag-theme="light"] body .ml-definition-detail span,
html[data-smartag-theme="light"] body .ml-quality-report-field span,
html[data-smartag-theme="light"] body .ml-contract-term-line span,
html[data-smartag-theme="light"] body .ml-terms-master-section,
html[data-smartag-theme="light"] body .ml-receipt-detail span {
  color: #53685d !important;
}

html[data-smartag-theme="light"] body .ml-detail-box strong,
html[data-smartag-theme="light"] body .ml-buyer-detail strong,
html[data-smartag-theme="light"] body .ml-definition-detail strong,
html[data-smartag-theme="light"] body .ml-quality-report-field strong,
html[data-smartag-theme="light"] body .ml-contract-term-line p,
html[data-smartag-theme="light"] body .ml-terms-master-content,
html[data-smartag-theme="light"] body .ml-terms-master-milestones,
html[data-smartag-theme="light"] body .ml-receipt-detail strong,
html[data-smartag-theme="light"] body .ml-source-row-title,
html[data-smartag-theme="light"] body .ml-buyer-doc-title,
html[data-smartag-theme="light"] body .ml-doc-preview,
html[data-smartag-theme="light"] body .ml-storage-image-placeholder {
  color: #17231c !important;
}

html[data-smartag-theme="light"] body .form-control,
html[data-smartag-theme="light"] body .form-select,
html[data-smartag-theme="light"] body .custom-select,
html[data-smartag-theme="light"] body .input-group-text,
html[data-smartag-theme="light"] body textarea,
html[data-smartag-theme="light"] body select,
html[data-smartag-theme="light"] body input[type="text"],
html[data-smartag-theme="light"] body input[type="email"],
html[data-smartag-theme="light"] body input[type="number"],
html[data-smartag-theme="light"] body input[type="password"],
html[data-smartag-theme="light"] body input[type="date"],
html[data-smartag-theme="light"] body input[type="search"],
html[data-smartag-theme="light"] body input[type="file"] {
  color: #17231c !important;
  border-color: #b9cabe !important;
  background-color: #ffffff !important;
}

html[data-smartag-theme="light"] body .form-control:disabled,
html[data-smartag-theme="light"] body .form-control[readonly],
html[data-smartag-theme="light"] body select:disabled,
html[data-smartag-theme="light"] body input:disabled,
html[data-smartag-theme="light"] body textarea:disabled,
html[data-smartag-theme="light"] body .ml-date-locked {
  color: #53685d !important;
  border-color: rgba(24,82,52,.12) !important;
  background-color: #edf3ec !important;
  opacity: 1 !important;
}

html[data-smartag-theme="light"] body .form-control::placeholder,
html[data-smartag-theme="light"] body textarea::placeholder,
html[data-smartag-theme="light"] body input::placeholder {
  color: #6f8176 !important;
  opacity: 1 !important;
}

html[data-smartag-theme="light"] body select option,
html[data-smartag-theme="light"] body .form-select option {
  color: #17231c !important;
  background-color: #ffffff !important;
}

html[data-smartag-theme="light"] body .table,
html[data-smartag-theme="light"] body .ml-table,
html[data-smartag-theme="light"] body table.dataTable {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  --bs-table-color: #17231c;
  --bs-table-bg: #ffffff;
  --bs-table-striped-color: #17231c;
  --bs-table-striped-bg: #f5faf4;
  --bs-table-hover-color: #17231c;
  --bs-table-hover-bg: #eaf5ea;
}

html[data-smartag-theme="light"] body .table thead,
html[data-smartag-theme="light"] body .table thead tr,
html[data-smartag-theme="light"] body .table thead th,
html[data-smartag-theme="light"] body .ml-table thead th,
html[data-smartag-theme="light"] body table.dataTable thead > tr > th {
  color: #254335 !important;
  border-color: rgba(24,82,52,.16) !important;
  background: #e3efe4 !important;
}

html[data-smartag-theme="light"] body .table tbody td,
html[data-smartag-theme="light"] body .table tbody th,
html[data-smartag-theme="light"] body .ml-table tbody td,
html[data-smartag-theme="light"] body .ml-table tbody th,
html[data-smartag-theme="light"] body table.dataTable tbody td,
html[data-smartag-theme="light"] body table.dataTable tbody th {
  color: #17231c !important;
  border-color: rgba(24,82,52,.12) !important;
}

html[data-smartag-theme="light"] body .table tbody tr:nth-child(odd) td,
html[data-smartag-theme="light"] body .table tbody tr:nth-child(odd) th,
html[data-smartag-theme="light"] body table.dataTable tbody tr.odd td,
html[data-smartag-theme="light"] body table.dataTable tbody tr.odd th {
  background-color: #ffffff !important;
}

html[data-smartag-theme="light"] body .table tbody tr:nth-child(even) td,
html[data-smartag-theme="light"] body .table tbody tr:nth-child(even) th,
html[data-smartag-theme="light"] body table.dataTable tbody tr.even td,
html[data-smartag-theme="light"] body table.dataTable tbody tr.even th {
  background-color: #f5faf4 !important;
}

html[data-smartag-theme="light"] body .table tbody tr:hover td,
html[data-smartag-theme="light"] body .table tbody tr:hover th,
html[data-smartag-theme="light"] body table.dataTable tbody tr:hover td,
html[data-smartag-theme="light"] body table.dataTable tbody tr:hover th {
  color: #17231c !important;
  background-color: #eaf5ea !important;
}

html[data-smartag-theme="light"] body .table a,
html[data-smartag-theme="light"] body .ml-doc-link,
html[data-smartag-theme="light"] body a:not(.btn):not(.menu-link):not(.dropdown-item) {
  color: #075d70 !important;
}

html[data-smartag-theme="light"] body .text-primary,
html[data-smartag-theme="light"] body .text-success,
html[data-smartag-theme="light"] body .text-primary *,
html[data-smartag-theme="light"] body .text-success * {
  color: #0d5632 !important;
}

html[data-smartag-theme="light"] body .text-info {
  color: #075d70 !important;
}

html[data-smartag-theme="light"] body .text-warning {
  color: #6d4700 !important;
}

html[data-smartag-theme="light"] body .text-danger {
  color: #9a1d27 !important;
}

html[data-smartag-theme="light"] body .badge,
html[data-smartag-theme="light"] body .ml-badge,
html[data-smartag-theme="light"] body .ml-inline-status,
html[data-smartag-theme="light"] body .ml-contribution-index {
  color: #0d5632 !important;
  border-color: rgba(15,107,61,.26) !important;
  background: rgba(15,107,61,.12) !important;
}

html[data-smartag-theme="light"] body .btn-outline-light,
html[data-smartag-theme="light"] body .btn-outline-secondary,
html[data-smartag-theme="light"] body .btn-light {
  color: #0d5632 !important;
  border-color: rgba(15,107,61,.42) !important;
  background: #ffffff !important;
}

html[data-smartag-theme="light"] body .btn-outline-light:hover,
html[data-smartag-theme="light"] body .btn-outline-light:focus,
html[data-smartag-theme="light"] body .btn-outline-secondary:hover,
html[data-smartag-theme="light"] body .btn-outline-secondary:focus,
html[data-smartag-theme="light"] body .btn-light:hover,
html[data-smartag-theme="light"] body .btn-light:focus {
  color: #ffffff !important;
  border-color: #0f6b3d !important;
  background: #0f6b3d !important;
}

html[data-smartag-theme="light"] body .nav-tabs,
html[data-smartag-theme="light"] body .nav-pills,
html[data-smartag-theme="light"] body .ml-receipt-tabs,
html[data-smartag-theme="light"] body .ml-auction-tabs,
html[data-smartag-theme="light"] body .ml-operations-tabs,
html[data-smartag-theme="light"] body .ml-payment-subtabs,
html[data-smartag-theme="light"] body .ml-quality-tabs,
html[data-smartag-theme="light"] body .ml-terms-master-tabs {
  border-color: rgba(24,82,52,.14) !important;
}

html[data-smartag-theme="light"] body .nav-tabs .nav-link,
html[data-smartag-theme="light"] body .nav-pills .nav-link,
html[data-smartag-theme="light"] body .ml-receipt-tabs .nav-link,
html[data-smartag-theme="light"] body .ml-auction-tabs .nav-link,
html[data-smartag-theme="light"] body .ml-operations-tabs .nav-link,
html[data-smartag-theme="light"] body .ml-payment-subtabs .nav-link,
html[data-smartag-theme="light"] body .ml-quality-tabs .nav-link,
html[data-smartag-theme="light"] body .ml-terms-master-tabs .nav-link {
  color: #53685d !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #ffffff !important;
}

html[data-smartag-theme="light"] body .nav-tabs .nav-link:hover,
html[data-smartag-theme="light"] body .nav-pills .nav-link:hover,
html[data-smartag-theme="light"] body .nav-tabs .nav-link.active,
html[data-smartag-theme="light"] body .nav-pills .nav-link.active,
html[data-smartag-theme="light"] body .ml-receipt-tabs .nav-link.active,
html[data-smartag-theme="light"] body .ml-auction-tabs .nav-link.active,
html[data-smartag-theme="light"] body .ml-operations-tabs .nav-link.active,
html[data-smartag-theme="light"] body .ml-payment-subtabs .nav-link.active,
html[data-smartag-theme="light"] body .ml-quality-tabs .nav-link.active,
html[data-smartag-theme="light"] body .ml-terms-master-tabs .nav-link.active {
  color: #ffffff !important;
  border-color: #0f6b3d !important;
  background: #0f6b3d !important;
}

html[data-smartag-theme="light"] body .dropdown-item {
  color: #17231c !important;
}

html[data-smartag-theme="light"] body .dropdown-item:hover,
html[data-smartag-theme="light"] body .dropdown-item:focus,
html[data-smartag-theme="light"] body .dropdown-item.active,
html[data-smartag-theme="light"] body .dropdown-item:active {
  color: #0c472a !important;
  background: rgba(15,107,61,.10) !important;
}

html[data-smartag-theme="light"] body .accordion-button,
html[data-smartag-theme="light"] body .accordion-button:not(.collapsed) {
  color: #17231c !important;
  background: #e8f3e7 !important;
  box-shadow: none !important;
}

html[data-smartag-theme="light"] body .accordion-body,
html[data-smartag-theme="light"] body .accordion-body * {
  color: #17231c !important;
}

html[data-smartag-theme="light"] body .modal .btn-close,
html[data-smartag-theme="light"] body .modal .btn-close-white {
  filter: none !important;
  opacity: .78 !important;
}

html[data-smartag-theme="light"] body .ml-farmer-details,
html[data-smartag-theme="light"] body .ml-farmer-menu,
html[data-smartag-theme="light"] body .ml-farmer-option,
html[data-smartag-theme="light"] body .ml-farmer-empty,
html[data-smartag-theme="light"] body .ml-storage-image-preview-wrap,
html[data-smartag-theme="light"] body .ml-auction-filterbar,
html[data-smartag-theme="light"] body .ml-operations-filterbar,
html[data-smartag-theme="light"] body .ml-report-nav a,
html[data-smartag-theme="light"] body .ml-map-placeholder {
  color: #17231c !important;
  border-color: rgba(24,82,52,.14) !important;
  background: #ffffff !important;
}

html[data-smartag-theme="light"] body .ml-farmer-option:hover,
html[data-smartag-theme="light"] body .ml-farmer-option.is-selected,
html[data-smartag-theme="light"] body .ml-report-nav a:hover {
  color: #0c472a !important;
  background: #eaf5ea !important;
}

html[data-smartag-theme="light"] body .ml-farmer-toggle::after {
  color: #53685d !important;
}

html[data-smartag-theme="light"] body .apexcharts-canvas text,
html[data-smartag-theme="light"] body .apexcharts-legend-text,
html[data-smartag-theme="light"] body .apexcharts-xaxis text,
html[data-smartag-theme="light"] body .apexcharts-yaxis text {
  fill: #53685d !important;
  color: #53685d !important;
}

html[data-smartag-theme="light"] body .apexcharts-title-text,
html[data-smartag-theme="light"] body .apexcharts-subtitle-text {
  fill: #17231c !important;
  color: #17231c !important;
}
