/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 92px;
  --header-height: 60px;
  --green-900: #0c6d31;
  --green-700: #1f8b4c;
  --green-100: #edf8f1;
  --green-200: #d8f1e2;
  --sidebar-bg: #ffffff;
  --body-bg: #f6f9ff;
  --muted-text: #899bbd;
  --nav-text: #0c6d31;
  --nav-subtle: #f6f9ff;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: var(--body-bg);
  color: #444444;
}

body.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  grid-template-rows: var(--header-height) minmax(0, 1fr);
  min-height: 100vh;
  margin: 0;
}

body.app-shell.sidebar-compact {
  grid-template-columns: var(--sidebar-collapsed-width) minmax(0, 1fr);
}

body.app-shell > #sidebar {
  grid-column: 1;
  grid-row: 1 / span 2;
}

body.app-shell > #header {
  grid-column: 2;
  grid-row: 1;
}

body.app-shell > #main {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 0;
  padding: 20px 30px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #0c6d31;
  font-family: "Nunito", sans-serif;
}

.header {
  position: sticky;
  top: 0;
  z-index: 997;
  height: var(--header-height);
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.08);
  background-color: #fff;
  padding: 0 22px 0 18px;
  border-bottom: 1px solid rgba(17, 64, 31, 0.08);
  transition: width 0.35s ease, margin 0.35s ease;
}

.header-search {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.search-toggle-item {
  display: none;
}

@media (min-width: 1200px) {
  .header-search {
    margin-right: 25px;
  }
}

.header .search-form {
  width: min(100%, 360px);
  position: relative;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.12);
  padding: 10px 42px 10px 14px;
  border-radius: 999px;
  transition: 0.3s;
  width: 100%;
  background: #f8fafc;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.08);
  border: 1px solid rgba(17, 64, 31, 0.2);
}

.header .search-form button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

@media (max-width: 1199px) {
  .search-toggle-item {
    display: block;
  }

  .header .header-search {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 998;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.08);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .header .header-search.search-bar-show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .header .search-form {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: sticky;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  z-index: 996;
  transition: width 0.35s ease, transform 0.35s ease;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.08);
  background-color: var(--sidebar-bg);
  border-right: 1px solid rgba(17, 64, 31, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.app-shell.sidebar-compact .sidebar {
  width: var(--sidebar-collapsed-width);
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--header-height);
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(17, 64, 31, 0.08);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--green-900);
  text-decoration: none;
}

.sidebar-brand img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: opacity 0.25s ease, max-width 0.25s ease;
}

.sidebar-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: "Nunito", sans-serif;
}

.sidebar-brand-text small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(12, 109, 49, 0.7);
}

.header-toggle {
  border: 0;
  background: transparent;
  color: var(--green-900);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-right: 10px;
  flex-shrink: 0;
}

.header-toggle:hover,
.header-toggle:focus-visible {
  background: var(--green-100);
  outline: none;
}

.header-toggle i {
  font-size: 1.2rem;
  line-height: 1;
}

.sidebar-nav {
  padding: 18px 12px 0;
  margin: 0;
  list-style: none;
  flex: 1 1 auto;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted-text);
  font-weight: 600;
  margin: 14px 10px 8px;
  letter-spacing: 0.08em;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nav-text);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
}

.sidebar-nav .nav-link i {
  font-size: 17px;
  min-width: 18px;
  color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
  color: var(--nav-text);
  background: transparent;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus-visible {
  color: #4154f1;
  background: var(--nav-subtle);
  text-decoration: none;
}

.sidebar-nav .nav-link:hover i,
.sidebar-nav .nav-link:focus-visible i {
  color: #4154f1;
}

.sidebar-nav .nav-link:focus-visible,
.sidebar-nav .nav-content a:focus-visible {
  outline: 2px solid #4154f1;
  outline-offset: 2px;
}

.sidebar-nav .nav-link-unavailable {
  color: #899bbd;
  background: transparent;
  cursor: not-allowed;
}

.sidebar-nav .nav-link-unavailable i {
  color: #aab7cf;
}

.sidebar-nav .nav-link-unavailable:hover,
.sidebar-nav .nav-link-unavailable:hover i {
  color: #899bbd;
  background: transparent;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-left: auto;
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
  font-size: 14px;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 4px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a,
.sidebar-nav .nav-content .nav-unavailable {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #012970;
  padding: 9px 10px 9px 40px;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 8px;
}

.sidebar-nav .nav-content .nav-unavailable {
  color: #899bbd;
  cursor: not-allowed;
}

.sidebar-nav .nav-content a i,
.sidebar-nav .nav-content .nav-unavailable i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content .nav-unavailable i {
  color: #aab7cf;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #4154f1;
  background: #f6f9ff;
}

.sidebar-nav .nav-content a.active i {
  background-color: #4154f1;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 18px;
  border-top: 1px solid rgba(17, 64, 31, 0.08);
  margin-top: auto;
  background: rgba(237, 248, 241, 0.4);
}

.sidebar-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-profile-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: opacity 0.25s ease, max-width 0.25s ease;
}

.sidebar-profile-meta span {
  font-size: 0.94rem;
  font-weight: 700;
  color: #012970;
}

.sidebar-profile-meta small {
  font-size: 0.72rem;
  color: #7a8eb3;
}

body.app-shell.sidebar-compact .sidebar-brand-text,
body.app-shell.sidebar-compact .sidebar-profile-meta,
body.app-shell.sidebar-compact .nav-heading,
body.app-shell.sidebar-compact .nav-link span,
body.app-shell.sidebar-compact .nav-link .bi-chevron-down,
body.app-shell.sidebar-compact .nav-content {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}

body.app-shell.sidebar-compact .sidebar-brand {
  justify-content: center;
}

body.app-shell.sidebar-compact .sidebar-header {
  justify-content: center;
  padding-inline: 8px;
}

body.app-shell.sidebar-compact .sidebar-nav {
  padding-inline: 8px;
}

body.app-shell.sidebar-compact .sidebar-nav .nav-link {
  justify-content: center;
  padding-inline: 8px;
}

body.app-shell.sidebar-compact .sidebar-nav .nav-link span,
body.app-shell.sidebar-compact .sidebar-nav .nav-link .bi-chevron-down {
  display: none;
}

body.app-shell.sidebar-compact .sidebar-nav .nav-link i {
  margin-right: 0;
}

body.app-shell.sidebar-compact .sidebar-profile {
  justify-content: center;
  padding-inline: 8px;
}

.mobile-nav-shell,
.mobile-nav-backdrop,
.mobile-nav-panel {
  display: none;
}

@media (max-width: 1199px) {
  body.app-shell {
    display: block;
  }

  body.app-shell > #header {
    z-index: 1031;
  }

  .header-toggle {
    display: none;
  }

  .sidebar {
    position: fixed;
    top: var(--header-height);
    left: calc(-1 * var(--sidebar-width));
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    z-index: 1030;
  }

  .sidebar.is-open {
    left: 0;
  }

  #main {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .mobile-nav-shell {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: block;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    pointer-events: none;
  }

  .mobile-bottom-nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 109, 49, 0.12);
    box-shadow: 0 10px 28px rgba(12, 109, 49, 0.12);
    backdrop-filter: blur(8px);
    pointer-events: auto;
  }

  .mobile-nav-item {
    border: 0;
    background: transparent;
    color: var(--nav-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 4px 2px;
    border-radius: 12px;
    text-decoration: none;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    gap: 4px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav-item:focus-visible,
  .mobile-nav-panel-item:focus-visible,
  .mobile-nav-panel-close:focus-visible,
  .mobile-nav-toggle:focus-visible {
    outline: 2px solid rgba(12, 109, 49, 0.6);
    outline-offset: 2px;
  }

  .mobile-nav-item.is-active {
    background: var(--green-100);
    color: var(--green-900);
  }

  .mobile-nav-item.is-active .mobile-nav-icon {
    color: var(--green-900);
  }

  .mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 20px;
    color: #5b6a8c;
    line-height: 1;
  }

  .mobile-nav-label {
    display: block;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-nav-plus {
    color: #fff;
    background: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 100%);
    box-shadow: 0 8px 18px rgba(12, 109, 49, 0.24);
  }

  .mobile-nav-plus .mobile-nav-icon {
    color: #fff;
  }

  .mobile-nav-plus.is-open {
    background: linear-gradient(180deg, var(--green-900) 0%, #0a5128 100%);
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1034;
    display: block;
    background: rgba(8, 19, 32, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .mobile-nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-panel {
    position: fixed;
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 1035;
    display: block;
    width: min(92vw, 388px);
    max-height: min(68vh, 540px);
    border-radius: 24px 24px 18px 18px;
    background: #fff;
    border: 1px solid rgba(12, 109, 49, 0.13);
    box-shadow: 0 18px 36px rgba(12, 109, 49, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
    overflow: hidden;
  }

  .mobile-nav-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-nav-panel::before {
    content: "";
    position: absolute;
    right: 28px;
    bottom: -11px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-right: 1px solid rgba(12, 109, 49, 0.13);
    border-bottom: 1px solid rgba(12, 109, 49, 0.13);
    transform: rotate(45deg);
  }

  .mobile-nav-panel-inner {
    display: flex;
    flex-direction: column;
    max-height: min(68vh, 540px);
  }

  .mobile-nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(12, 109, 49, 0.08);
    font-weight: 700;
    color: var(--green-900);
  }

  .mobile-nav-panel-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: var(--green-100);
    color: var(--green-900);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .mobile-nav-panel-header span {
    flex: 1 1 auto;
  }

  .mobile-nav-panel-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: var(--green-100);
    color: var(--green-900);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }

  .mobile-nav-panel-body {
    padding: 12px 12px 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
  }

  .mobile-nav-section-management {
    border-top: 1px solid rgba(12, 109, 49, 0.08);
    padding-top: 12px;
    margin-top: 4px;
  }

  .mobile-nav-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: #6980a2;
    padding: 6px 10px 8px;
  }

  .mobile-nav-panel-item,
  .mobile-nav-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: #0d2a4d;
    font: inherit;
    text-align: left;
    border-radius: 12px;
    padding: 10px 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .mobile-nav-panel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-nav-panel-item-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mobile-nav-panel-item-main i {
    font-size: 15px;
    width: 18px;
    color: var(--green-900);
    flex-shrink: 0;
  }

  .mobile-nav-panel-item-main span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .mobile-nav-panel-item:hover,
  .mobile-nav-panel-item:focus-visible,
  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus-visible {
    background: var(--green-100);
  }

  .mobile-nav-panel-item[aria-disabled="true"],
  .mobile-nav-panel-item[aria-disabled="true"] .mobile-nav-panel-item-main i,
  .mobile-nav-panel-item[aria-disabled="true"] .mobile-nav-panel-item-main span {
    color: #90a0bc;
    cursor: not-allowed;
  }

  .mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-nav-toggle .bi-chevron-right {
    font-size: 14px;
    color: var(--green-900);
  }

  .mobile-nav-submenu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding-left: 12px;
    margin-top: 4px;
  }

  .mobile-nav-panel-body.is-submenu-view > .mobile-nav-section:not(.is-active) {
    display: none;
  }

  .mobile-nav-panel-body.is-submenu-view > .mobile-nav-section.is-active > .mobile-nav-section-title,
  .mobile-nav-panel-body.is-submenu-view > .mobile-nav-section.is-active > :not(.mobile-nav-group.is-active) {
    display: none;
  }

  .mobile-nav-panel-body.is-submenu-view .mobile-nav-group.is-active > .mobile-nav-toggle {
    display: none;
  }

  .mobile-nav-panel-body.is-submenu-view .mobile-nav-group.is-active > .mobile-nav-submenu {
    display: flex;
    padding-left: 0;
    margin-top: 0;
  }

  .mobile-nav-panel-subitem {
    padding-left: 14px;
  }

  .mobile-nav-panel-subitem .mobile-nav-panel-item-main i {
    font-size: 8px;
    width: 12px;
    color: #5f7f7a;
  }

  .mobile-nav-panel-subitem .mobile-nav-panel-item-main span {
    font-weight: 600;
  }

  @media (max-width: 480px) {
    .mobile-bottom-nav {
      gap: 4px;
      padding-inline: 8px;
    }

    .mobile-nav-item {
      font-size: 10px;
    }

    .mobile-nav-panel {
      width: min(calc(100vw - 24px), 360px);
      right: 12px;
    }
  }

  @media (orientation: landscape) and (max-height: 560px) {
    .mobile-nav-panel {
      max-height: 62vh;
      bottom: calc(82px + env(safe-area-inset-bottom));
    }

    .mobile-nav-panel-inner {
      max-height: 62vh;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

/*--------------------------------------------------------------
# Login page
--------------------------------------------------------------*/
body.login-page {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f5f7f4;
  color: #203129;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 100vh;
}

.login-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(34px, 5.8vw, 88px);
  background: #0c6d31;
  color: #fff;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.login-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 52px;
  padding: 3px;
  border-radius: 3px;
  background: #fff;
}

.login-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-brand-name {
  max-width: 180px;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.login-brand-intro {
  max-width: 510px;
  margin: 72px 0;
}

.login-eyebrow {
  margin: 0 0 18px;
  color: #d7e8dc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

.login-brand-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.login-brand-copy {
  max-width: 390px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.login-brand-footer {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.77);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.login-brand-footer span {
  padding: 0 5px;
  color: rgba(255, 255, 255, 0.55);
}

.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: clamp(42px, 7vw, 104px);
  background: #f5f7f4;
}

.login-form-content {
  width: min(100%, 430px);
}

.login-eyebrow-light {
  margin-bottom: 14px;
  color: #0c6d31;
}

.login-form-content h2 {
  margin: 0;
  color: #1c2e24;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.login-instructions {
  margin: 10px 0 34px;
  color: #647168;
  font-size: 15px;
  line-height: 1.6;
}

.login-fields {
  display: grid;
  gap: 22px;
}

.login-field {
  display: grid;
  gap: 9px;
}

.login-field label {
  color: #26362d;
  font-size: 13px;
  font-weight: 600;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap > i {
  position: absolute;
  left: 16px;
  z-index: 1;
  color: #718077;
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
}

.login-input-wrap input {
  width: 100%;
  height: 56px;
  padding: 0 46px;
  border: 1px solid #d5ddd7;
  border-radius: 5px;
  outline: none;
  background: #fff;
  color: #203129;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input-wrap input::placeholder {
  color: #929e96;
  opacity: 1;
}

.login-input-wrap input:hover {
  border-color: #a9b8ad;
}

.login-input-wrap input:focus-visible {
  border-color: #0c6d31;
  box-shadow: 0 0 0 3px rgba(12, 109, 49, 0.14);
}

.login-password-visibility {
  position: absolute;
  right: 15px;
  color: #718077;
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 28px;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  color: #4f5e55;
  cursor: pointer;
  font-size: 13px;
}

.login-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0c6d31;
}

.login-remember input:focus-visible {
  outline: 3px solid rgba(12, 109, 49, 0.24);
  outline-offset: 2px;
}

.login-forgot {
  color: #0c6d31;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.login-forgot:hover {
  color: #084b22;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-forgot:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(12, 109, 49, 0.24);
  outline-offset: 3px;
}

.login-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid #0c6d31;
  border-radius: 5px;
  background: #0c6d31;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.login-submit:hover {
  border-color: #095525;
  background: #095525;
}

.login-submit:active {
  transform: translateY(1px);
}

.login-submit:focus-visible {
  outline: 3px solid rgba(12, 109, 49, 0.28);
  outline-offset: 3px;
}

.login-submit i {
  font-size: 17px;
}

.login-form-footer {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e0e6e1;
  color: #78847c;
  font-size: 12px;
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .login-brand-panel {
    padding: 42px 34px;
  }

  .login-form-panel {
    padding: 48px 38px;
  }

  .login-brand-intro {
    margin: 56px 0;
  }
}

@media (max-width: 700px) {
  .login-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .login-brand-panel {
    min-height: auto;
    padding: 26px 24px 24px;
  }

  .login-brand-mark {
    width: 88px;
    height: 46px;
  }

  .login-brand-name {
    font-size: 15px;
  }

  .login-brand-intro {
    margin: 38px 0 34px;
  }

  .login-eyebrow {
    margin-bottom: 13px;
  }

  .login-brand-intro h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .login-brand-copy {
    margin-top: 14px;
    font-size: 15px;
  }

  .login-form-panel {
    align-items: flex-start;
    padding: 40px 24px 34px;
  }

  .login-form-content h2 {
    font-size: 32px;
  }

  .login-instructions {
    margin-bottom: 28px;
  }
}

@media (max-width: 360px) {
  .login-brand-panel {
    padding-right: 18px;
    padding-left: 18px;
  }

  .login-form-panel {
    padding-right: 18px;
    padding-left: 18px;
  }

  .login-options {
    gap: 10px;
  }
}