/**
* Template Name: NiceAdmin
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

.w_alert {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 24px));
  z-index: 7000;
  pointer-events: none;
}

.w_alert .alert {
  pointer-events: auto;
  border-radius: 4px;
  padding: 0.9rem 1rem;
  margin: 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.settings-catalog {
  display: grid;
  gap: 16px;
}

.settings-section {
  border: 1px solid #dfe3e8;
  background: #ffffff;
  padding: 16px;
}

.settings-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.settings-section-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
}

.settings-section-copy {
  margin: 0;
  color: #6c757d;
  font-size: 0.875rem;
}

@media (max-width: 767.98px) {
  .settings-section-header {
    flex-direction: column;
  }

  .settings-section-header .btn {
    width: 100%;
  }
}

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: 60px;
  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;
}

/* Modals */
.modal {
  --app-modal-gap: 1rem;
}

.modal-dialog {
  margin-top: var(--app-modal-gap);
  margin-bottom: var(--app-modal-gap);
}

.modal.show .modal-dialog {
  max-height: calc(100dvh - (var(--app-modal-gap) * 2));
}

.modal .modal-content {
  max-height: calc(100dvh - (var(--app-modal-gap) * 2));
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.modal .modal-content > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.modal .modal-header,
.modal .modal-footer {
  flex: 0 0 auto;
  background: #ffffff;
}

.modal .modal-body,
.modal .modal-content > form .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.modal-dialog-scrollable .modal-content {
  overflow: hidden;
}

/* 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: 60px;
  margin-right: 6px;
}

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

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

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

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

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

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

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

/*--------------------------------------------------------------
# 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;
}

.header-nav .nav-profile {
  gap: 0.35rem;
}

.header-nav .profile-nav-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #012970 0%, #0d6efd 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 20px rgba(1, 41, 112, 0.18);
}

.header-nav .profile-nav-name {
  font-size: 14px;
  font-weight: 700;
  color: #2c384e;
  line-height: 1.1;
}

.header-nav .profile-nav-branch {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.1;
}

.header-nav .profile-menu-dropdown {
  min-width: 320px;
  padding: 0.4rem;
  top: 10px !important;
  border: 1px solid rgba(1, 41, 112, 0.08);
  box-shadow: 0 18px 40px rgba(1, 41, 112, 0.14);
}

.header-nav .profile-menu-header {
  padding: 0.4rem;
}

.header-nav .profile-menu-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #012970 0%, #0d6efd 100%);
  color: #fff;
}

.header-nav .profile-menu-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-nav .profile-menu-banner h6 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.header-nav .profile-menu-banner span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.header-nav .profile-menu-banner small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.header-nav .profile-menu-context {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: #2c384e;
  font-size: 13px;
  font-weight: 600;
}

.header-nav .profile-menu-link {
  margin: 0.15rem 0;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 14px;
}

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

.header-nav .profile-menu-link:hover {
  background: #f4f7ff;
}

.header-nav .profile-menu-link.is-danger {
  color: #b42318;
}

.header-nav .profile-menu-link.is-danger:hover {
  background: rgba(180, 35, 24, 0.08);
}

.dashboard-session .dashboard-hero-card {
  overflow: hidden;
  background: linear-gradient(135deg, #0f2347 0%, #15315f 55%, #1e5db2 100%);
  color: #fff;
}

.dashboard-session .dashboard-hero-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.dashboard-session .dashboard-hero-title {
  font-size: 34px;
  line-height: 1.1;
  color: #fff;
}

.dashboard-session .dashboard-hero-copy {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-session .dashboard-soft-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-session .dashboard-soft-pill.is-primary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.dashboard-session .dashboard-soft-pill.is-neutral {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.dashboard-session .dashboard-soft-pill.is-accent {
  background: rgba(115, 225, 188, 0.16);
  color: #c8ffe8;
}

.dashboard-session .dashboard-hero-context {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.dashboard-session .dashboard-hero-context-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 6px;
}

.dashboard-session .dashboard-hero-context strong {
  display: block;
  font-size: 22px;
  color: #fff;
}

.dashboard-session .dashboard-hero-context span,
.dashboard-session .dashboard-hero-context small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-session .dashboard-counter-pill {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(1, 41, 112, 0.08);
  color: #012970;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-session .dashboard-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 16px;
  min-height: 100%;
  border: 1px solid rgba(1, 41, 112, 0.08);
  background: #f8fafc;
}

.dashboard-session .dashboard-stat-card.is-primary {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12) 0%, rgba(13, 110, 253, 0.04) 100%);
}

.dashboard-session .dashboard-stat-card.is-accent {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.12) 0%, rgba(25, 135, 84, 0.04) 100%);
}

.dashboard-session .dashboard-stat-card.is-neutral {
  background: linear-gradient(135deg, rgba(108, 117, 125, 0.12) 0%, rgba(108, 117, 125, 0.04) 100%);
}

.dashboard-session .dashboard-stat-card.is-dark {
  background: linear-gradient(135deg, rgba(1, 41, 112, 0.12) 0%, rgba(1, 41, 112, 0.04) 100%);
}

.dashboard-session .dashboard-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.76);
  color: #012970;
  font-size: 20px;
}

.dashboard-session .dashboard-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  margin-bottom: 4px;
}

.dashboard-session .dashboard-stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #2c384e;
}

.dashboard-session .dashboard-module-intro-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.dashboard-session .dashboard-inline-note {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(1, 41, 112, 0.08);
  color: #012970;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-session .dashboard-actions-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.dashboard-session .dashboard-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dashboard-session .dashboard-quick-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.app-compact-search {
  max-width: 360px;
}

.module-table-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.module-page-size-label {
  font-size: 0.875rem;
  color: #6c757d;
}

.module-page-size-select {
  width: auto;
  min-width: 88px;
}

.module-pagination-nav .btn {
  min-width: 38px;
}

.dashboard-session .dashboard-module-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-session .dashboard-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(1, 41, 112, 0.12);
}

.dashboard-session .dashboard-module-group {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-bottom: 6px;
}

.dashboard-session .dashboard-module-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  font-size: 22px;
  flex: 0 0 48px;
}

.dashboard-session .dashboard-module-chip {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-session .dashboard-empty-card {
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed rgba(1, 41, 112, 0.16);
  color: #6c757d;
}

@media (max-width: 991.98px) {
  .header-nav .profile-menu-dropdown {
    min-width: 290px;
  }

  .dashboard-session .dashboard-hero-title {
    font-size: 28px;
  }

  .dashboard-session .dashboard-actions-panel {
    width: 100%;
  }

  .app-compact-search {
    max-width: 100%;
  }

  .module-table-pagination {
    align-items: stretch;
  }
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

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

.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: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #4154f1;
  transition: 0.3;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
  color: #012970;
  background: #fff;
}

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

.sidebar-nav .nav-link:hover {
  color: #4154f1;
  background: #f6f9ff;
}

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

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

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

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

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #012970;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

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

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

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

/*--------------------------------------------------------------
# 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;
}

.profile .profile-hero-card {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.profile .profile-hero-banner {
  height: 108px;
  margin: -1.5rem -1.5rem 0;
  background: linear-gradient(135deg, #012970 0%, #0d6efd 58%, #62b0ff 100%);
  border-radius: 1rem 1rem 1.75rem 1.75rem;
}

.profile .profile-avatar-wrap {
  margin-top: -42px;
  margin-bottom: 16px;
}

.profile .profile-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 35px rgba(1, 41, 112, 0.18);
  color: #012970;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile .profile-hero-email {
  color: #6c757d;
  font-size: 14px;
}

.profile .profile-soft-badge {
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  border-radius: 2px;
}

.profile .profile-soft-badge-primary {
  background: #0d6efd;
  color: #ffffff;
}

.profile .profile-soft-badge-neutral {
  background: #6c757d;
  color: #ffffff;
}

.profile .profile-soft-badge-accent {
  background: #198754;
  color: #ffffff;
}

.profile .profile-mini-stat {
  border-radius: 16px;
  padding: 14px 10px;
  background: #ffffff;
  border: 1px solid rgba(1, 41, 112, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.profile .profile-mini-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #012970;
  line-height: 1.1;
}

.profile .profile-mini-stat-label {
  margin-top: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
}

.profile .profile-overview-highlight {
  min-width: 220px;
}

.profile .profile-inline-branch {
  border-radius: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12) 0%, rgba(1, 41, 112, 0.08) 100%);
}

.profile .profile-inline-branch-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-bottom: 4px;
}

.profile .profile-inline-branch strong {
  display: block;
  color: #012970;
  font-size: 16px;
}

.profile .profile-inline-branch span:last-child {
  display: block;
  margin-top: 2px;
  color: #6c757d;
  font-size: 13px;
}

.profile .profile-overview-item {
  height: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(1, 41, 112, 0.08);
}

.profile .profile-overview-value {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #2c384e;
  word-break: break-word;
}

.profile .profile-counter-pill {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(1, 41, 112, 0.08);
  color: #012970;
  font-size: 12px;
  font-weight: 700;
}

.profile .profile-branch-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid rgba(1, 41, 112, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile .profile-branch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(1, 41, 112, 0.08);
}

.profile .profile-branch-card.is-active {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12) 0%, rgba(13, 202, 240, 0.08) 100%);
  border-color: rgba(13, 110, 253, 0.28);
}

.profile .profile-branch-name {
  font-weight: 700;
  color: #012970;
}

.profile .profile-branch-code {
  margin-top: 4px;
  font-size: 13px;
  color: #6c757d;
}

.profile .profile-branch-status {
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(33, 37, 41, 0.08);
  color: #495057;
  font-size: 12px;
  font-weight: 700;
}

.profile .profile-branch-status.is-active {
  background: rgba(13, 110, 253, 0.14);
  color: #0d6efd;
}

.profile .profile-context-card {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, #0f2347 0%, #15315f 100%);
  color: #ffffff;
  min-height: 100%;
}

.profile .profile-context-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.profile .profile-context-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.profile .profile-context-code {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.profile .profile-context-meta {
  display: grid;
  gap: 14px;
}

.profile .profile-context-meta span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.profile .profile-context-meta strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
}

.profile .profile-empty-card {
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed rgba(1, 41, 112, 0.16);
  color: #6c757d;
}

@media (max-width: 991.98px) {
  .profile .profile-overview-highlight {
    min-width: 100%;
  }

  .profile .profile-branch-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/*--------------------------------------------------------------
# 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;
}
.sidebar {
  display: flex;
  flex-direction: column;
}

.sidebar-nav {
  flex: 1;
}

.sidebar-footer {
  text-align: center;
  font-size: 12px;
  color: #ffc107;
  padding: 10px 5px;
  border-top: 1px solid #ebeef4;
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

#main {
  flex: 1;
}

.module-form-dialog {
  max-width: 880px;
}

.module-form-modal {
  max-height: calc(100vh - 2rem);
  border: 1px solid #d0d7de;
  border-radius: 4px;
}

.module-form-modal #moduleForm {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 100%;
}

.module-form-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.module-form-modal .modal-footer {
  flex: 0 0 auto;
  border-top: 1px solid #dee2e6;
  background: #ffffff;
}

.module-details-dialog {
  max-width: min(1480px, 96vw);
}

.module-inline-details-card {
  border: 1px solid #d0d7de;
}

.module-inline-details-card .card-body {
  padding: 0.9rem !important;
}

.module-details-modal {
  border: 1px solid #d0d7de;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  max-height: calc(100vh - 1.25rem);
}

.module-details-modal .modal-header {
  padding: 0.9rem 1rem 0.15rem !important;
}

.module-details-modal .modal-body {
  padding: 0.75rem 1rem 1rem !important;
}

.module-details-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid #d0d7de;
  border-radius: 2px;
  background: #f8f9fa;
  color: #495057;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

#moduleDetailsSubtitle {
  max-width: 920px;
  font-size: 0.92rem;
}

#moduleInlineDetailsSubtitle {
  font-size: 0.92rem;
}

#moduleDetailsContent,
#moduleInlineDetailsContent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.module-detail-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  padding: 0.85rem 0.95rem;
  background: #ffffff;
  color: #212529;
  border: 1px solid #d0d7de;
  box-shadow: none;
  margin-bottom: 0.75rem;
}

.module-detail-hero-card::after {
  display: none;
}

.module-detail-hero-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-bottom: 0.35rem;
}

.module-detail-hero-title {
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.module-detail-hero-subtitle {
  color: #6c757d;
  max-width: 100%;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.module-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.module-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  background: #212529;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
}

.module-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.45rem;
}

.module-detail-stat {
  border-radius: 2px;
  padding: 0.55rem 0.65rem;
  background: #f8f9fa;
  border: 1px solid #d0d7de;
}

.module-detail-stat-label {
  color: #6c757d;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.1rem;
}

.module-detail-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
}

.module-details-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.module-detail-tab {
  border: 1px solid #d0d7de;
  border-radius: 2px;
  padding: 0.45rem 0.7rem;
  background: #ffffff;
  color: #495057;
  font-weight: 600;
  font-size: 0.82rem;
  transition: 0.2s ease;
}

.module-detail-tab:hover {
  background: #f1f3f5;
}

.module-detail-tab.is-active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
  box-shadow: none;
}

.module-detail-section {
  border: 1px solid #d0d7de;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0;
  height: 100%;
}

.module-detail-section-header {
  margin-bottom: 0.5rem;
}

.module-detail-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.08rem;
  line-height: 1.2;
}

.module-detail-section-subtitle {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.3;
}

.module-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0.4rem 0.7rem;
}

.module-detail-card {
  border-radius: 0;
  padding: 0.35rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d0d7de;
}

.module-detail-card-label {
  color: #64748b;
  font-size: 0.74rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.module-detail-card-value {
  color: #0f172a;
  font-weight: 600;
  line-height: 1.28;
  font-size: 0.85rem;
  word-break: break-word;
}

.module-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.55rem;
}

.module-detail-entity {
  border-radius: 2px;
  padding: 0.65rem 0.7rem;
  border: 1px solid #d0d7de;
  background: #ffffff;
}

.module-detail-entity-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
  font-size: 0.88rem;
}

.module-detail-entity-meta {
  color: #64748b;
  font-size: 0.78rem;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.module-detail-entity-note {
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.3;
}

.module-detail-timeline {
  display: grid;
  gap: 0.55rem;
}

.module-detail-timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.module-detail-timeline-marker {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100%;
}

.module-detail-timeline-marker::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -0.55rem;
  width: 2px;
  background: #d0d7de;
}

.module-detail-timeline-marker.is-last::after {
  display: none;
}

.module-detail-timeline-dot {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d6efd;
  box-shadow: 0 0 0 2px #ffffff;
  margin-top: 0.4rem;
}

.module-detail-timeline-body {
  border-radius: 2px;
  padding: 0.6rem 0.7rem;
  background: #ffffff;
  border: 1px solid #d0d7de;
}

.module-detail-timeline-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 1fr);
  gap: 0.45rem;
  align-items: start;
  margin-bottom: 0.2rem;
}

.module-detail-timeline-title {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.2;
}

.module-detail-timeline-meta {
  color: #64748b;
  font-size: 0.74rem;
  text-align: right;
  line-height: 1.25;
}

.module-detail-timeline-note {
  color: #334155;
  font-size: 0.8rem;
  line-height: 1.3;
}

.module-detail-totals {
  margin-top: 0.7rem;
  border-top: 1px solid #d0d7de;
  padding-top: 0.65rem;
}

.module-detail-totals-header {
  margin-bottom: 0.45rem;
}

.module-detail-totals-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}

.module-detail-totals-subtitle {
  margin-top: 0.1rem;
  color: #64748b;
  font-size: 0.76rem;
}

.module-detail-totals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.45rem 0.7rem;
}

.module-detail-card--compact {
  padding: 0.3rem 0;
}

.module-detail-empty {
  border-radius: 2px;
  padding: 1.1rem 0.9rem;
  background: #f8f9fa;
  border: 1px dashed #ced4da;
  text-align: center;
}

.module-detail-empty-icon {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 0.35rem;
}

.module-detail-empty-title {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.15rem;
  font-size: 0.86rem;
}

.module-detail-empty-text {
  color: #64748b;
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.78rem;
  line-height: 1.3;
}

.details-grid {
  display: grid;
  gap: 0.85rem 1rem;
}

.details-grid.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-item {
  border-bottom: 1px solid #d0d7de;
  padding-bottom: 0.5rem;
}

.detail-label {
  color: #6c757d;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.detail-value {
  color: #212529;
  font-weight: 600;
  word-break: break-word;
}

.cash-box-total-box {
  min-width: 200px;
  border: 1px solid #d0d7de;
  background: #ffffff;
  padding: 0.75rem 0.9rem;
  text-align: right;
}

.point-of-sale-spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
}

.point-of-sale-space-card {
  width: 100%;
  border: 1px solid #d0d7de;
  background: #ffffff;
  padding: 0.95rem;
  text-align: left;
  color: #212529;
}

.point-of-sale-space-card:hover {
  background: #f8f9fa;
}

.point-of-sale-space-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.point-of-sale-space-code {
  font-size: 0.76rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 700;
}

.point-of-sale-space-name {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
}

.point-of-sale-space-body {
  display: grid;
  gap: 0.45rem;
}

.point-of-sale-space-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.point-of-sale-space-line span {
  color: #6c757d;
}

.point-of-sale-space-line strong {
  color: #212529;
  text-align: right;
}

.point-of-sale-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.point-of-sale-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
}

.point-of-sale-products-table {
  display: block;
  width: 100%;
}

.point-of-sale-products-table .table-responsive {
  border: 1px solid #d0d7de;
}

.point-of-sale-products-table thead th {
  white-space: nowrap;
  background: #f8f9fa;
}

.point-of-sale-product-card {
  border: 1px solid #d0d7de;
  background: #ffffff;
  padding: 0.85rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.point-of-sale-product-name {
  font-weight: 700;
  color: #212529;
  line-height: 1.25;
}

.point-of-sale-product-meta,
.point-of-sale-product-stock {
  font-size: 0.85rem;
  color: #6c757d;
}

.point-of-sale-product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.point-of-sale-empty {
  border: 1px dashed #ced4da;
  background: #f8f9fa;
  padding: 1.75rem 1rem;
  text-align: center;
}

.point-of-sale-empty-icon {
  font-size: 1.35rem;
  color: #6c757d;
  margin-bottom: 0.45rem;
}

.point-of-sale-empty-title {
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.25rem;
}

.point-of-sale-empty-text {
  color: #6c757d;
}

@media (max-width: 767.98px) {
  .module-form-dialog {
    margin: 0.5rem;
  }

  .module-form-modal {
    max-height: calc(100vh - 1rem);
  }

  .module-details-modal .modal-header {
    padding: 0.8rem 0.9rem 0.1rem !important;
  }

  .module-details-modal .modal-body {
    padding: 0.7rem 0.9rem 0.9rem !important;
  }

  .module-detail-hero-card {
    padding: 0.8rem;
  }

  #moduleDetailsContent,
  #moduleInlineDetailsContent,
  .module-detail-stats,
  .module-detail-grid {
    grid-template-columns: 1fr;
  }

  .module-detail-timeline-head,
  .module-detail-totals-grid {
    grid-template-columns: 1fr;
  }

  .module-detail-timeline-meta {
    text-align: left;
  }

  .module-detail-tab {
    width: 100%;
    justify-content: center;
  }

  .details-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .cash-box-total-box {
    width: 100%;
    min-width: 0;
  }

  .point-of-sale-products-grid,
  .point-of-sale-spaces-grid {
    grid-template-columns: 1fr;
  }
}
.order-evidence-upload-panel {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #d9dee7;
  background: #f8f9fb;
}

.order-evidence-qr {
  width: 236px;
  min-height: 236px;
  padding: 8px;
  border: 1px solid #d9dee7;
  background: #fff;
}

.order-evidence-qr img,
.order-evidence-qr canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.order-evidence-preview {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dee7;
  background: #f8f9fb;
}

.order-evidence-preview-frame {
  display: block;
  width: 100%;
  min-height: 65vh;
  border: 0;
  background: #fff;
}

.order-evidence-preview-image {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.order-evidence-public-page {
  min-height: 100vh;
  background: #eef1f5;
}

.order-evidence-public-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-evidence-public-header img {
  width: 150px;
  max-height: 52px;
  object-fit: contain;
}

.order-evidence-public-header h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
}

.order-evidence-public-header p {
  margin: 0.2rem 0 0;
  color: #6b7280;
}

.order-evidence-public-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #d9dee7;
  background: #f8f9fb;
}

.order-evidence-public-summary > div {
  padding: 0.85rem 1rem;
  border-right: 1px solid #d9dee7;
}

.order-evidence-public-summary > div:last-child {
  border-right: 0;
}

.order-evidence-public-summary span,
.order-evidence-public-summary strong {
  display: block;
}

.order-evidence-public-summary span {
  margin-bottom: 0.2rem;
  color: #6b7280;
  font-size: 0.78rem;
}

.order-evidence-public-summary strong {
  color: #111827;
}

@media (max-width: 575.98px) {
  .order-evidence-public-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-evidence-public-summary {
    grid-template-columns: 1fr;
  }

  .order-evidence-public-summary > div {
    border-right: 0;
    border-bottom: 1px solid #d9dee7;
  }

  .order-evidence-public-summary > div:last-child {
    border-bottom: 0;
  }
}
