/*--------------------------------------------------------------
# Variables (centralized)
--------------------------------------------------------------*/
:root {
  /* Colors */
  --bg: #f6f6f6;
  --surface: #ffffff;
  --text: #444444;
  --muted: #718190; /* used for breadcrumbs etc */
  --muted-2: #aab7cf;
  --primary: #4154f1;
  --primary-variant: #717ff5;
  --accent: #e53935; /* used heavily in your design */
  --danger: #e53935; /* same as accent in original */
  --success: #2eca6a;
  --info: #0dcaf0; /* lighter info */
  --dark: #333333;
  --card-shadow-color: rgba(1, 41, 112, 0.1);

  /* Semantic light backgrounds */
  --primary-light: #cfe2ff;
  --secondary-light: #e2e3e5;
  --success-light: #d1e7dd;
  --danger-light: #f8d7da;
  --warning-light: #fff3cd;
  --info-light: #cff4fc;
  --dark-light: #d3d3d4;

  /* Typography */
  --font-sans: "Open Sans", sans-serif;
  --font-heading: "Nunito", sans-serif;
  --font-alt: "Poppins", sans-serif;
  --text-sm: 12px;
  --text-md: 14px;
  --text-lg: 16px;

  /* Layout & spacing */
  --header-height: 60px;
  --sidebar-width: 300px;
  --border-radius: 4px;
  --radius-sm: 3px;
  --radius-lg: 10px;
  --card-padding: 20px;

  /* Buttons & controls */
  --btn-padding: 0.25rem 0.5rem;
  --btn-font-size: 14px;

  /* Shadows */
  --card-shadow: 0 0 30px var(--card-shadow-color);
  --box-shadow-sm: 0px 2px 20px rgba(1, 41, 112, 0.05);

  /* Transitions */
  --transition-fast: 0.2s;
  --transition-default: 0.3s;

  /* Status badge */
  /* Active colors */
  --status-active-bg: #d4f8e8;
  --status-active-color: #198754;

  /* Inactive colors */
  --status-inactive-bg: #fde2e2;
  --status-inactive-color: #dc3545;
}

/*--------------------------------------------------------------
# Reset / Base
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  position: relative;
  min-height: 100%;
}

/* links */
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-variant);
  text-decoration: none;
}

/* headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

/* font size utilities (kept from original) */
.text-sm {
  font-size: var(--text-sm);
}
.text-md {
  font-size: var(--text-md);
}
.text-lg {
  font-size: var(--text-lg);
}

/* misc small adjustments */
td {
  font-size: var(--text-md);
}

/*--------------------------------------------------------------
# Main Layout
--------------------------------------------------------------*/
#main {
  margin-top: var(--header-height);
  padding: 20px 30px;
  transition: all var(--transition-default);
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/* Page title */
.pagetitle {
  margin-bottom: 10px;
}
.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 700;
  color: #000;
}

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--danger);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #f0a89b;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Dropdown / overrides
--------------------------------------------------------------*/
.dropdown-menu {
  border-radius: var(--border-radius);
  padding: 10px 0;
  animation: dropdown-animate var(--transition-fast) 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: var(--text);
  text-decoration: underline;
}
.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}
.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: var(--transition-fast);
}
.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@keyframes dropdown-animate {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Light background helper classes (kept original names) */
.bg-primary-light {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}
.bg-secondary-light {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
}
.bg-success-light {
  background-color: var(--success-light);
  border-color: var(--success-light);
}
.bg-danger-light {
  background-color: var(--danger-light);
  border-color: var(--danger-light);
}
.bg-warning-light {
  background-color: var(--warning-light);
  border-color: var(--warning-light);
}
.bg-info-light {
  background-color: var(--info-light);
  border-color: var(--info-light);
}
.bg-dark-light {
  background-color: var(--dark-light);
  border-color: var(--dark-light);
}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/
.card {
  margin-bottom: 30px;
  border: none;
  box-shadow: var(--card-shadow);
}
.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: var(--surface);
  color: #798eb3;
  padding: 15px;
}
.card-title {
  padding: 20px 0 15px;
  font-size: 18px;
  font-weight: 500;
  color: var(--danger);
  font-family: var(--font-alt);
}
.card-title span {
  color: #718190;
  font-size: 14px;
  font-weight: 400;
}
.card-body {
  padding: var(--card-padding);
}
.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/*--------------------------------------------------------------
# Alerts, close buttons, accordion, breadcrumbs, tabs
--------------------------------------------------------------*/
.alert-heading {
  font-weight: 500;
  font-family: var(--font-alt);
  font-size: 20px;
}

.btn-close {
  background-size: 25%;
}
.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-item {
  border: 1px solid #ebeef4;
}
.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}
.accordion-button:not(.collapsed) {
  color: var(--danger);
  background-color: #f6f9ff;
}

/* breadcrumb */
.breadcrumb {
  font-size: 14px;
  font-family: var(--font-heading);
  color: var(--muted);
  font-weight: 600;
}
.breadcrumb a {
  color: var(--muted);
  transition: var(--transition-fast);
}
.breadcrumb a:hover {
  color: var(--danger);
}
.breadcrumb .active {
  color: var(--danger);
  font-weight: 600;
}

/* nav tabs bordered */
.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: #f07f86;
}
.nav-tabs-bordered .nav-link.active {
  background: linear-gradient(
    90deg,
    rgb(229, 57, 53) 0%,
    rgb(183, 28, 28) 100%
  );
  color: #7e7e7e !important;
}

/*--------------------------------------------------------------
# Header & header nav
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}
@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}
.logo img {
  height: auto;
  margin-right: 10px;
  width: 150px;
  border-radius: 7px;
}
.logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--danger);
  font-family: var(--font-heading);
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: var(--header-height);
  box-shadow: var(--box-shadow-sm);
  background-color: var(--surface);
  padding-left: 20px;
}
.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #292929;
}
.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

/* responsive search bar behavior preserved */
@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: var(--surface);
    z-index: 9999;
    transition: var(--transition-fast);
    visibility: hidden;
    opacity: 0;
  }
  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}
.header .search-form input {
  border: 1px solid rgba(1, 41, 112, 0.2);
  font-size: 14px;
  color: var(--danger);
  padding: 7px 38px 7px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  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: var(--danger);
}

/* header-nav small helpers */
.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav .nav-icon {
  font-size: 20px;
  color: #292929;
}
.header-nav .nav-profile {
  color: #292929;
}
.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: 4px 6px auto auto;
  font-weight: normal;
  font-size: 11px;
  padding: 3px 6px;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: 996;
  transition: all var(--transition-default);
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--muted-2) transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: var(--dark);
}
@media (max-width: 1199px) {
  .sidebar {
    left: calc(-1 * var(--sidebar-width));
  }
}
.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: var(--surface);
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: var(--muted-2);
}

/* push main/footer when desktop */
@media (min-width: 1200px) {
  #main,
  #footer {
    margin-left: var(--sidebar-width);
  }
}

/* toggle behavior preserved */
@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: calc(-1 * var(--sidebar-width));
  }
}

/* sidebar nav */
.sidebar-nav {
  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);
  font-weight: 600;
  margin: 10px 0 5px 15px;
}
.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #7e7e7e;
  transition: var(--transition-fast);
  padding: 10px 15px;
  border-radius: var(--border-radius);
}
.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #7e7e7e;
}
.sidebar-nav .nav-link.collapsed {
  color: #fff;
}
.sidebar-nav .nav-link.collapsed i {
  color: #fff;
}
.sidebar-nav .nav-link:hover {
  color: #ffffff;
  background: linear-gradient(
    90deg,
    rgb(229, 57, 53) 0%,
    rgb(183, 28, 28) 100%
  );
}
.sidebar-nav .nav-link:hover i {
  color: #ffffff;
}

/* submenu and nav-content preserved from original */
.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: 500;
  color: #cdcdcd;
  padding: 10px 0 10px 40px;
  transition: var(--transition-fast);
}
.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #fff;
}
.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

/*--------------------------------------------------------------
# Doc upload, dashboard etc (kept original)
--------------------------------------------------------------*/
.doc-upload {
  background-image: linear-gradient(
    to right top,
    #e53935,
    #b59667,
    #a7895b,
    #9a7c4f,
    #8c6f43
  );
  padding: 20px;
  border-radius: var(--radius-lg);
  margin: 85px 5px 30px;
  text-align: center;
}
.doc-upload.card p {
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}
.upload-icon img {
  width: 95px;
  margin-top: -75px;
  margin-bottom: 15px;
}

/* Dashboard cards / info */
.dashboard .info-card h6 {
  font-size: 28px;
  color: var(--danger);
  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: var(--primary);
  background: #f6f6fe;
}
.dashboard .revenue-card .card-icon {
  color: var(--success);
  background: #e0f8e9;
}
.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity list */
.dashboard .activity {
  font-size: 14px;
}
.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 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;
}

/* News & updates, recent sales, top selling keep original styles but with variables where sensible */
.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: var(--danger);
  transition: var(--transition-fast);
  :hover {
  }
}
.dashboard .news h4 a:hover {
  color: var(--primary);
}
.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/*--------------------------------------------------------------
# Form search dropdown (fstdiv) + lists
--------------------------------------------------------------*/
.fstdiv {
  position: relative;
  min-height: 34px;
  width: 100%;
}
.fstdropdown {
  vertical-align: middle;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  cursor: pointer;
  background: var(--surface);
  overflow: hidden;
  width: inherit;
}
.fstdropdown > .fstselected {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fstdropdown.open > .fstselected {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-color: transparent;
}
.fstdropdown > .fstlist {
  display: none;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
.fstdropdown.open > .fstlist {
  display: block;
}
.fstlist > div {
  padding: 6px 12px;
  user-select: none;
  border-bottom: 1px solid #f5f5f5;
}
.fstlist > div:hover {
  background-color: #0d6efd;
  color: #fff;
}
.fstlist > div.selected {
  background-color: #cdcdcd;
  color: #262626;
}
.fstsearchinput {
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  background-color: #fff;
  border: 1px solid #ccc;
  color: #555;
  font-size: 14px;
  display: none;
}
.fstdropdown.open > .fstsearch {
  display: block;
  padding: 4px;
}
.fstdropdown.open .fstsearchinput {
  display: block;
}

/*--------------------------------------------------------------
# Icons list, profile, faq, contact, 404, footer and misc
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}
.iconslist .icon {
  background-color: var(--surface);
  border-radius: 0.25rem;
  text-align: center;
  color: var(--danger);
  padding: 15px 0;
}
.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}
.iconslist .label {
  font-family: var(--bs-font-monospace, monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/* profile */
.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: var(--transition-fast);
}
.profile .profile-card .social-links a:hover {
  color: var(--danger);
}

/* faq */
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}
.faq .basic p {
  color: #6980aa;
}

/* contact */
.contact .info-box {
  padding: 28px 30px;
}
.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: var(--primary);
}
.contact .info-box h3 {
  font-size: 20px;
  color: var(--danger);
  font-weight: 700;
  margin: 20px 0 10px 0;
}
.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/* contact form states */
.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;
}
.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--primary);
}
.contact .php-email-form input {
  padding: 10px 15px;
}
.contact .php-email-form textarea {
  padding: 12px 15px;
}
.contact .php-email-form button[type="submit"] {
  background: var(--primary);
  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 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 404 */
.error-404 {
  padding: 30px;
}
.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  line-height: 150px;
}
.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 30px;
}
.error-404 .btn {
  background: var(--danger);
  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 var(--transition-default);
  border-top: 1px solid #292929;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}
.footer .copyright {
  text-align: center;
  color: #292929;
}
.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #292929;
}

/* misc */
.credits {
  color: whitesmoke;
}
.text-status {
  color: var(--danger) !important;
  font-weight: bolder;
}

/* add-to-bill checkbox styles */
.add-to-bill-checkbox {
  height: 30px;
  width: 30px;
}
.add-to-bill-checkbox:focus {
  border-color: #198754;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(120, 247, 173, 0.25);
}
.add-to-bill-checkbox:checked {
  background-color: #198754;
  border-color: #198754;
}
.add-to-bill-checkbox:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.add-to-bill-checkbox:checked[type="radio"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.add-to-bill-checkbox[type="checkbox"]:indeterminate {
  background-color: #198754;
  border-color: #198754;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

/* collapse style override (kept) */
.collapse {
  background-color: #404040 !important;
  border-radius: 0.25rem;
}

/* small button padding utility */
.btn-outline-info,
.btn-outline-success {
  padding: var(--btn-padding) !important;
  font-size: var(--btn-font-size) !important;
  border-radius: 0.2rem !important;
}
td .d-flex .btn-outline-dark,
td .d-flex .btn-outline-danger {
  padding: var(--btn-padding) !important;
  font-size: var(--btn-font-size) !important;
  border-radius: 0.2rem !important;
}
/* thead{
  color: #fff;
  background: linear-gradient(90deg, #e53935 0%, #b71c1c 100%);
}

td,th{
  border:1px solid #ededed;
} */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.status-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-badge.active {
  background-color: var(--status-active-bg);
  color: var(--status-active-color);
}

.status-badge.active .dot {
  background-color: var(--status-active-color);
}

.status-badge.inactive {
  background-color: var(--status-inactive-bg);
  color: var(--status-inactive-color);
}

.status-badge.inactive .dot {
  background-color: var(--status-inactive-color);
}
