[data-layout-mode="dark"] {
  /* Background Colors */
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #252545;
  --bg-sidebar: #0f0f1a;
  --bg-card: #1a1a2e;
  
  /* Text Colors */
  --text-primary: #e2e6ff;
  --text-secondary: #c1c9ff;
  --text-muted: #9ca3d4;
  --text-light: #7580b8;
  --text-white: #ffffff;
  
  /* Border Colors */
  --border-color: #3d4173;
  --border-light: #6b6fc5;
  
  /* Primary Colors */
  --primary-color: #6b6fc5;
  --primary-hover: #3b3f94;
  
  /* Secondary Colors */
  --secondary-color: #6b70d9;
  
  /* Accent Colors */
  --accent-color: rgb(81, 86, 190);
  
  /* Status Colors */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: rgb(81, 86, 190);
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(81, 86, 190, 0.3);
  --shadow-sm: 0 1px 3px 0 rgba(81, 86, 190, 0.4), 0 1px 2px 0 rgba(81, 86, 190, 0.3);
  --shadow: 0 4px 6px -1px rgba(81, 86, 190, 0.4), 0 2px 4px -1px rgba(81, 86, 190, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(81, 86, 190, 0.4), 0 4px 6px -2px rgba(81, 86, 190, 0.3);
  
  --border-radius: 6px;
  --border-radius-sm: 4px;
  --border-radius-lg: 8px;
  --sidebar-width: 250px;
  --topbar-height: 70px;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}


/* Root Variables - Minimal & Compact */
:root {
  --primary-color: #673de6;
  --primary-hover: #5b35cc;
  --secondary-color: #6c5ce7;
  --accent-color: #00d4aa;
  --success-color: #15a087;
  --warning-color: #fdcb6e;
  --danger-color: #de056e;
  --info-color: #000;
  
  --bg-primary: #fafbfc;
  --bg-secondary: #6c757d;
  --bg-tertiary: #f8f9fa;
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #3f454e;
  --text-light: #a0aec0;
  --text-white: #ffffff;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-radius: 6px;
  --border-radius-sm: 4px;
  --border-radius-lg: 8px;
  
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --sidebar-width: 250px;
  --topbar-height: 70px;
  
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}


/* Responsive - Compact */
@media (max-width: 768px) {
  .page-content {
    padding: calc(70px + 10px) 10px 40px 10px;
  }
  
  .card-body {
    padding: 12px;
  }
  
  .page-title-box {
    padding: 10px 12px;
  }
  
  .page-title-box h4 {
    font-size: 14px;
  }
  
  .mini-stats-wid {
    margin-bottom: 12px;
    padding: 12px;
  }
  
  .plan-box {
    padding: 12px 10px;
    margin-bottom: 12px;
  }
  
  .plan-price {
    font-size: 18px;
    margin: 6px 0 8px;
  }
  
  .plan-features li {
    padding: 2px 0;
    font-size: 11px;
  }
  
  .plan-box h4 {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .card-header {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Footer - Compact */
.footer {
  background: var(--bg-card);
  padding: 15px calc(15px / 2);
  position: absolute;
  right: 0;
  color: var(--text-muted);
  left: 250px;
  height: 50px;
  border-top: 1px solid var(--border-color);
  bottom: 0;
}

/* Header Items - Compact */
.header-item {
  height: 70px;
  box-shadow: none !important;
  color: var(--text-secondary);
  border: 0;
  border-radius: var(--border-radius-sm);
  background: transparent;
  padding: 6px 10px;
  margin: 0 3px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.header-item:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.header-item:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(103, 61, 230, 0.1);
}

.header-profile-user {
  height: 32px;
  width: 32px;
  background-color: var(--bg-tertiary);
  padding: 2px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

/* Vertical Menu Button - Compact */
#vertical-menu-btn {
  font-size: 16px;
  padding: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vertical-menu-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Notification Icons - Compact */
.noti-icon i {
  font-size: 16px;
  color: var(--text-secondary);
}

.noti-icon .badge {
  position: absolute;
  top: 10px;
  right: 2px;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badges - Compact */
.badge {
  padding: 3px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}



/* Container - Compact */
.container-fluid {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}

/* Dropdown - Compact */
.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  margin-top: 6px;
  min-width: 180px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  list-style: none;
  text-align: left;
}

.dropdown-item {
  padding: 8px 16px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  font-weight: 400;
  text-decoration: none;
  display: block;
  width: 100%;
  clear: both;
  border: 0;
  background: transparent;
  font-size: 13px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  text-decoration: none;
}

/* Text utilities - smaller sizes */
.font-size-16 { font-size: 14px !important; }
.font-size-18 { font-size: 16px !important; }

.me-1 { margin-right: 0.2rem !important; }
.me-2 { margin-right: 0.4rem !important; }
.me-3 { margin-right: 0.6rem !important; }

.ms-1 { margin-left: 0.2rem !important; }
.ms-2 { margin-left: 0.4rem !important; }
.ms-3 { margin-left: 0.6rem !important; }

.px-3 { padding-left: 0.6rem !important; padding-right: 0.6rem !important; }

/* Tables - Compact */
.table {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}

.table thead th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 10px 12px;
  border: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.table tbody td {
  padding: 6px 20px !important;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
  font-weight: 400;
  font-size: 14px;
}

.table tbody tr:hover {
  background: var(--bg-tertiary);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Alerts - Minimal */
.alert {
  padding: 15px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid;
  margin-bottom: 20px;
  position: relative;
  font-weight: 400;
}

.alert-success {
  background: rgba(0, 184, 148, 0.1);
  color: var(--success-color);
  border-color: rgba(0, 184, 148, 0.2);
}

.alert-danger {
  background: rgba(232, 67, 147, 0.1);
  color: var(--danger-color);
  border-color: rgba(232, 67, 147, 0.2);
}

.alert-warning {
  background: rgba(230 176 61 / 12%);
  color: #ab6e10;
  border-color: rgba(230 176 61 / 41%);
}

.alert-info {
  background: rgba(9, 132, 227, 0.1);
  color: var(--info-color);
  border-color: rgba(9, 132, 227, 0.2);
}

.alert-border-left {
  border-left: 4px solid;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* Header Items - Keep Minimal */
.header-item {
  height: 70px;
  box-shadow: none !important;
  color: var(--text-secondary);
  border: 0;
  border-radius: var(--border-radius-sm);
  background: transparent;
  padding: 8px 12px;
  margin: 0 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.header-item:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.header-item:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(103, 61, 230, 0.1);
}

.header-profile-user {
  height: 36px;
  width: 36px;
  background-color: var(--bg-tertiary);
  padding: 3px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

/* Specific header item classes */
.bg-soft-light {
  background: var(--bg-tertiary) !important;
}

.border-start {
  border-left: 1px solid var(--border-color) !important;
}

.border-end {
  border-right: 1px solid var(--border-color) !important;
}

/* Dropdown icon items */
.dropdown-icon-item {
  display: block;
  border-radius: 3px;
  line-height: 34px;
  text-align: center;
  padding: 15px 0 9px;
  color: var(--text-muted);
}

.dropdown-icon-item img {
  height: 24px;
}

.dropdown-icon-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-icon-item:hover {
  background-color: var(--bg-tertiary);
}

/* Vertical Menu Button - Keep Original */
body:not([data-sidebar-size="sm"]) #vertical-menu-btn {
  margin-left: -52px;
  margin-right: 20px;
}

@media (max-width: 991.98px) {
  body:not([data-sidebar-size="sm"]) #vertical-menu-btn {
    margin-left: 0;
  }
}

#vertical-menu-btn {
  font-size: 16px;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vertical-menu-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Notification Icons - Minimal */
.noti-icon i {
  font-size: 18px;
  color: var(--text-secondary);
}

.noti-icon .badge {
  position: absolute;
  top: 12px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badges - Minimal */
.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-soft-success {
  background: rgba(0, 184, 148, 0.1);
  color: var(--success-color);
}

.badge-soft-danger {
  background: rgba(232, 67, 147, 0.1);
  color: var(--danger-color);
}

.badge-soft-warning {
  background: rgba(253, 203, 110, 0.1);
  color: #d68910;
}

.badge-soft-primary {
  background: rgba(103, 61, 230, 0.1);
  color: var(--primary-color);
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* Plan Cards - Compact & Minimal */
.plan-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.plan-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.plan-box .card-body {
  padding: 0;
}

.plan-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.plan-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 10px 0 15px;
  line-height: 1;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.plan-features li {
  padding: 4px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 13px;
}

.plan-features li i {
  color: var(--success-color);
  font-size: 14px;
  width: 14px;
  flex-shrink: 0;
}

/* Popular badge */
.plan-box .badge {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 0 0 0 8px;
}

/* Position relative support */
.position-relative {
  position: relative !important;
}

/* Compact spacing utilities */
.mb-5 {
  margin-bottom: 2rem !important;
}

/* Icon styling for payment methods */
.icon {
  height: 32px !important;
  width: auto;
  margin: 0 8px;
}

/* Text center for payment section */
.text-center p {
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Responsive - Keep Original */
@media (max-width: 992px) {
  .vertical-menu {
    display: none;
  }
  
  .main-content {
    margin-left: 0 !important;
  }
  
  body.sidebar-enable .vertical-menu {
    display: block;
  }
  
  .footer {
    left: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand-box {
    width: auto;
  }
  
  .logo span.logo-lg {
    display: none;
  }
  
  .logo span.logo-sm {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .page-content {
    padding: calc(70px + 15px) 15px 60px 15px;
  }
  
  .card-body {
    padding: 15px;
  }
  
  .page-title-box {
    padding: 15px;
  }
  
  .page-title-box h4 {
    font-size: 16px;
  }
  
  .mini-stats-wid {
    margin-bottom: 15px;
    padding: 15px;
  }
  
  .plan-box {
    padding: 20px 15px;
  }
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Styles - Keep Original Structure */
#page-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 70px;
  padding: 0 20px 0 0;
}

.navbar-header .dropdown .show.header-item {
  background-color: var(--bg-tertiary);
}

/* Brand Box - Keep Original Structure */
.navbar-brand-box {
  padding: 0 1rem;
  width: 250px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.logo {
  line-height: 69px;
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}

.logo .logo-sm {
  display: none;
}

.logo-txt {
  font-weight: 700;
  font-size: 24px;
  vertical-align: middle;
}

.logo-light {
  display: none;
}

/* Vertical Menu Button - Keep Working */
body:not([data-sidebar-size="sm"]) #vertical-menu-btn {
  margin-left: -52px;
  margin-right: 20px;
}

@media (max-width: 991.98px) {
  body:not([data-sidebar-size="sm"]) #vertical-menu-btn {
    margin-left: 0;
  }
}

#vertical-menu-btn {
  font-size: 18px;
  padding: 12px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vertical-menu-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Header Items - Keep Dropdown Functionality */
.header-item {
  height: 72px;
  box-shadow: none !important;
  color: var(--text-secondary);
  border: 0;
  border-radius: var(--border-radius-sm);
  background: transparent;
  padding: 10px;
  margin: 0 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-item:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.header-item:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(103, 61, 230, 0.2);
}

.header-profile-user {
  height: 36px;
  width: 36px;
  background-color: var(--bg-tertiary);
  padding: 3px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

/* Notification Icons */
.noti-icon i {
  font-size: 20px;
  color: var(--text-secondary);
}

.noti-icon .badge {
  position: absolute;
  top: 12px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dropdown Styles - Keep Functionality */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: transparent;
  border: none;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  margin-top: 8px;
  min-width: 200px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  list-style: none;
  text-align: left;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}

.dropdown-item {
  padding: 12px 20px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  font-weight: 500;
  text-decoration: none;
  display: block;
  width: 100%;
  clear: both;
  border: 0;
  background: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  text-decoration: none;
}

.dropdown-divider {
  height: 0;
  margin: 8px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

/* User Profile Dropdown - Specific Fix */
#page-header-user-dropdown {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
}

#page-header-user-dropdown:hover {
  background: var(--bg-tertiary);
}

#page-header-user-dropdown svg {
  width: 32px;
  height: 32px;
  fill: var(--text-muted);
}

/* Bootstrap Dropdown Toggle Support */
[data-bs-toggle="dropdown"] {
  cursor: pointer;
}

.dropdown-toggle:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(103, 61, 230, 0.25);
}

/* Page Content */
.page-content {
  padding: calc(72px + 20px) calc(20px * 0.75) 60px calc(20px * 0.75);
}

/* Sidebar - Keep Original Structure & Functionality */
.vertical-menu {
  width: 250px;
  background: var(--bg-sidebar);
  bottom: 0;
  margin-top: 0;
  position: fixed;
  top: 70px;
  border-right: 1px solid var(--border-color);
  z-index: 1001;
  overflow-y: auto;
  transition: all 0.3s ease;
  overflow-x: hidden;
}

.vertical-menu::-webkit-scrollbar {
  width: 4px;
}

.vertical-menu::-webkit-scrollbar-track {
  background: transparent;
}

.vertical-menu::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}

.vertical-menu::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.main-content {
  margin-left: 250px;
  overflow: hidden;
}

.main-content .content {
  padding: 0 15px 10px 15px;
  margin-top: 70px;
}

/* Sidebar Menu - Compact */
#sidebar-menu {
  padding: 8px 0 25px 0;
}

#sidebar-menu .mm-active > .has-arrow:after {
  transform: rotate(90deg);
}

#sidebar-menu .has-arrow:after {
  content: "\f0142";
  font-family: "Material Design Icons";
  display: block;
  float: right;
  transition: transform 0.2s;
  font-size: 1rem;
  margin-right: -5px;
  margin-top: -1px;
}

#sidebar-menu ul li a {
  display: block;
  padding: 0.5rem 1.2rem;
  color: var(--text-secondary);
  position: relative;
  font-size: 0.95rem;
  transition: all 0.4s;
  font-weight: 550;
  text-decoration: none;
}

#sidebar-menu ul li a i {
  display: inline-block;
  min-width: 1.5rem;
  padding-bottom: 0.1em;
  font-size: 1.1rem;
  line-height: 1.3rem;
  vertical-align: middle;
  color: var(--text-muted);
  transition: all 0.4s;
}

#sidebar-menu ul li a svg {
  height: 14px;
  width: 14px;
  color: var(--text-muted);
  fill: rgba(var(--text-muted), 0.2);
  margin-right: 8px;
  margin-top: -2px;
}

#sidebar-menu ul li a:hover {
  color: var(--primary-color);
  background: var(--bg-tertiary);
}

#sidebar-menu ul li a:hover i {
  color: var(--primary-color);
}

#sidebar-menu ul li a:hover svg {
  color: var(--primary-color);
  fill: rgba(var(--primary-color), 0.2);
}


#sidebar-menu ul li ul.sub-menu {
  padding: 0;
}

#sidebar-menu ul li ul.sub-menu li a {
  padding: 0.35rem 1.2rem 0.35rem 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

#sidebar-menu ul li ul.sub-menu li a:hover {
  color: var(--primary-color);
}

#sidebar-menu ul li ul.sub-menu li ul.sub-menu {
  padding: 0;
}

#sidebar-menu ul li ul.sub-menu li ul.sub-menu li a {
  padding: 0.35rem 1.2rem 0.35rem 4rem;
  font-size: 12px;
}

.menu-title {
  padding: 5px 16px !important;
  pointer-events: none;
  cursor: default;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.mm-active > a {
  color: var(--primary-color) !important;
  background: var(--bg-tertiary);
}

.mm-active > a i {
  color: var(--primary-color) !important;
}

.mm-active > a svg {
  color: var(--primary-color) !important;
  fill: rgba(var(--primary-color), 0.2);
}

.mm-active .active {
  color: var(--primary-color) !important;
}

.mm-active .active i {
  color: var(--primary-color) !important;
}

.mm-active .active svg {
  color: var(--primary-color) !important;
  fill: rgba(var(--primary-color), 0.2);
}

.mm-active > i {
  color: var(--primary-color) !important;
}

/* Metismenu */
.metismenu {
  margin: 0;
}

.metismenu li {
  display: block;
  width: 100%;
}

.metismenu .mm-collapse {
  display: none;
}

.metismenu .mm-collapse:not(.mm-show) {
  display: none;
}

.metismenu .mm-collapse.mm-show {
  display: block;
}

.metismenu .mm-collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition-timing-function: ease;
  transition-duration: 0.35s;
  transition-property: height, visibility;
}

/* Cards - Compact */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.card-header {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 15px;
}

.card-body {
  padding: 16px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* Statistics Cards - Compact */
.mini-stats-wid {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mini-stats-wid:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.mini-stats-wid .card-body {
  display: flex;
  align-items: center;
  padding: 0;
}

.avatar-sm {
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius);
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.avatar-title {
  color: var(--text-white);
  font-size: 18px;
  background-color: var(--primary-color);
  display: flex;
  font-weight: 500;
  height: 100%;
  justify-content: center;
  width: 100%;
  align-items: center;
}

/* Buttons - Minimal */
.btn {
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;

  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
	background: var(--primary-color);
	color: var(--text-white);
	border-color: var(--primary-color);
}

.btn-primary:hover {
	background: var(--primary-hover);
	border-color: var(--primary-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow);
	color: var(--text-white);
}

.btn-outline-primary {
	background: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-outline-primary:hover {
	background: var(--primary-color);
	color: var(--text-white);
}

.btn-success {
  background: var(--success-color);
  color: var(--text-white);
  border-color: var(--success-color);
}

.btn-success:hover {
  background: #00a085;
  border-color: #00a085;
  color: var(--text-white);
}

.btn-warning {
  background: var(--warning-color);
  color: var(--text-primary);
  border-color: var(--warning-color);
}

.btn-danger {
  background: var(--danger-color);
  color: var(--text-white);
  border-color: var(--danger-color);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

/* Forms - Compact */
.form-control {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 400;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(103, 61, 230, 0.1);
  outline: none;
  color: var(--text-primary);
  background: var(--bg-card);
}

.form-control::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: block;
  font-size: 13px;
}

.form-check-input {
	
  -webkit-appearance: auto !important;
  appearance: auto !important;
	
}

.input-group-text {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 10px 12px;
  margin-bottom: 0;
}

.form-select {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
}

/* Tables */
.table {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}

.table thead th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 16px 20px;
  border: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.table tbody td {
  padding: 8px 8px !important;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
  font-weight: 500;
}

.table tbody tr:hover {
  background: var(--bg-tertiary);
}

.table tbody tr:last-child td {
  border-bottom: none;
}



/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid;
  margin-bottom: 20px;
  position: relative;
  font-weight: 500;
}

.alert-success {
  background: rgba(0, 184, 148, 0.1);
  color: var(--success-color);
  border-color: rgba(0, 184, 148, 0.2);
}

.alert-danger {
  background: rgba(232, 67, 147, 0.1);
  color: var(--danger-color);
  border-color: rgba(232, 67, 147, 0.2);
}

.alert-warning {
  background: rgba(230 176 61 / 12%);
  color: #ab6e10;
  border-color: rgba(230 176 61 / 41%);
}

.alert-info {
  background: rgba(9, 132, 227, 0.1);
  color: var(--info-color);
  border-color: rgba(9, 132, 227, 0.2);
}

.alert-border-left {
  border-left: 4px solid;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.alert-dismissible {
  padding-right: 3rem;
}

.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1rem;
  font-size: 10px;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
  width: 1em;
  height: 1em;
}

.alert-dismissible .btn-close:hover {
  opacity: 0.75;
}

/* Badges */
.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-soft-success {
  background: rgba(0, 184, 148, 0.1);
  color: var(--success-color);
}

.badge-soft-danger {
  background: rgba(232, 67, 147, 0.1);
  color: var(--danger-color);
}

.badge-soft-warning {
  background: rgba(253, 203, 110, 0.1);
  color: #d68910;
}

.badge-soft-primary {
  background: rgba(103, 61, 230, 0.1);
  color: var(--primary-color);
}

.rounded-pill {
  border-radius: 50rem !important;
}

.bg-success {
  background: var(--success-color) !important;
  color: var(--text-white);
}

.bg-danger {
  background: var(--danger-color) !important;
  color: var(--text-white);
}

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

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

.bg-info {
  background: var(--info-color) !important;
  color: var(--text-white);
}

/* Page Title */
.page-title-box {
  margin-bottom: 10px;

}



/* Footer */
.footer {
  background: var(--bg-card);
  padding: 20px calc(20px / 2);
  position: absolute;
  right: 0;
  color: var(--text-muted);
  left: 280px;
  height: 60px;
  border-top: 1px solid var(--border-color);
  bottom: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Plan Cards */
.plan-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.plan-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 16px 0 24px;
  letter-spacing: -1px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.plan-features li {
  padding: 5px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.plan-features li i {
  color: var(--success-color);
  font-size: 16px;
  width: 16px;
}

/* Dark Mode Styles */
[data-layout-mode="dark"] .card {
  border-color: var(--border-color);
}

[data-layout-mode="dark"] .table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-layout-mode="dark"] .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-layout-mode="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Responsive Styles - Keep Original Structure */
@media (max-width: 992px) {
  .vertical-menu {
    display: none;
  }
  
  .main-content {
    margin-left: 0 !important;
  }
  
  body.sidebar-enable .vertical-menu {
    display: block;
  }
  
  .footer {
    left: 0;
  }
}

@media (max-width: 991.98px) {
  body:not([data-sidebar-size="sm"]) #vertical-menu-btn {
    margin-left: 0;
  }
  
  .navbar-brand-box {
    width: auto;
  }
  
  .logo span.logo-lg {
    display: none;
  }
  
  .logo span.logo-sm {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .page-content {
    padding: calc(72px + 15px) 15px 60px 15px;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .page-title-box {
    padding: 20px;
  }
  
  .page-title-box h4 {
    font-size: 20px;
  }
  
  .mini-stats-wid {
    margin-bottom: 16px;
    padding: 20px;
  }
  
  .plan-box {
    padding: 24px 20px;
  }
}

@media (max-width: 600px) {
  .navbar-header .dropdown {
    position: static;
  }
  
  .navbar-header .dropdown .dropdown-menu {
    left: 10px !important;
    right: 10px !important;
  }
}

@media (max-width: 380px) {
  .navbar-brand-box {
    display: none;
  }
}


body[data-topbar="dark"] .navbar-brand-box .logo {
  color: #fff !important;
}


body[data-topbar="dark"] .header-item {
  color: #e9ecef;
}

body[data-topbar="dark"] .header-item:hover {
  color: #e9ecef;
}

body[data-topbar="dark"] .noti-icon i {
  color: #e9ecef;
}

body[data-topbar="dark"] .logo-dark {
  display: none;
}

body[data-topbar="dark"] .logo-light {
  display: block;
}

/* Sidebar Small Size - Icon Only Mode */
body[data-sidebar-size="sm"] {
  min-height: 1000px;
}

body[data-sidebar-size="sm"] .main-content {
  margin-left: 70px;
}

body[data-sidebar-size="sm"] .navbar-brand-box {
  width: 70px !important;
}

body[data-sidebar-size="sm"] .logo span.logo-lg {
  display: none;
}

body[data-sidebar-size="sm"] .logo span.logo-sm {
  display: block;
}

body[data-sidebar-size="sm"] .vertical-menu {
  position: absolute;
  width: 70px !important;
  z-index: 5;
}

body[data-sidebar-size="sm"] .vertical-menu .simplebar-content-wrapper,
body[data-sidebar-size="sm"] .vertical-menu .simplebar-mask {
  overflow: visible !important;
}

body[data-sidebar-size="sm"] .vertical-menu .simplebar-scrollbar {
  display: none !important;
}

body[data-sidebar-size="sm"] .vertical-menu .simplebar-offset {
  bottom: 0 !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu .badge,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu .menu-title,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu .sidebar-alert {
  display: none !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu .nav.collapse {
  height: inherit !important;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a {
  padding: 15px 20px;
  transition: none;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a:active,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a:focus,
body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a:hover {
  color: var(--primary-color);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a i {
  font-size: 1.45rem;
  margin-left: 4px;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a svg {
  height: 18px;
  width: 18px;
  margin-left: 6px;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a span {
  display: none;
  padding-left: 25px;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li > a.has-arrow:after {
  display: none;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > a {
  position: relative;
  width: calc(190px + 70px);
  color: var(--primary-color);
  background-color: var(--bg-sidebar);
  transition: none;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > a i {
  color: var(--primary-color);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > a svg {
  color: var(--primary-color);
  fill: rgba(103, 61, 230, 0.2);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > a span {
  display: inline;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > ul {
  display: block;
  left: 70px;
  position: absolute;
  width: 190px;
  height: auto !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > ul ul {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > ul a {
  box-shadow: none;
  padding: 8px 20px;
  position: relative;
  width: 190px;
  z-index: 6;
  color: var(--text-muted);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul > li:hover > ul a:hover {
  color: var(--primary-color);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul ul {
  padding: 5px 0;
  z-index: 9999;
  display: none;
  background-color: #fff;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul ul li:hover > ul {
  display: block;
  left: 190px;
  height: auto !important;
  margin-top: -36px;
  position: absolute;
  width: 190px;
  padding: 5px 0;
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul ul li > a span.pull-right {
  position: absolute;
  right: 20px;
  top: 12px;
  transform: rotate(270deg);
}

body[data-sidebar-size="sm"] .vertical-menu #sidebar-menu > ul ul li.active a {
  color: #f8f9fa;
}

body[data-sidebar-size="sm"] #sidebar-menu .mm-active > .has-arrow:after {
  transform: rotate(0);
}

body[data-sidebar-size="sm"] .footer {
  left: 70px;
}

@media (max-width: 991.98px) {
  body[data-sidebar-size="sm"] .footer {
    left: 0;
  }
  
  body[data-sidebar-size="sm"] .main-content {
    margin-left: 0;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
  animation: slideInLeft 0.4s ease-out;
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.fade {
  transition: opacity 0.15s linear;
}


/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Text Utilities */
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-light { font-weight: 300 !important; }

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

.font-size-16 { font-size: 16px !important; }
.font-size-18 { font-size: 18px !important; }

/* Spacing Utilities */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }

.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

/* Flex Utilities */
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

.align-middle { vertical-align: middle !important; }

.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }

/* Text Alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* Text Colors */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: #d68910 !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--text-white) !important; }
.text-dark { color: var(--text-primary) !important; }

/* Background Colors */
.bg-secondary { background-color: var(--bg-card) !important; }
.bg-light { background-color: var(--bg-tertiary) !important; }
.bg-white { background-color: var(--bg-card) !important; }
.bg-transparent { background-color: transparent !important; }

.bg-soft-light { background: var(--bg-tertiary) !important; }

/* Border Utilities */
.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.border-start { border-left: 1px solid var(--border-color) !important; }
.border-end { border-right: 1px solid var(--border-color) !important; }

.rounded { border-radius: var(--border-radius) !important; }
.rounded-sm { border-radius: var(--border-radius-sm) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-circle { border-radius: 50% !important; }

/* Width and Height */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* Position */
.position-relative { position: relative !important; }

/* Float */
.float-end { float: right !important; }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }

/* List Utilities */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

/* Container */
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Simplebar Support */
[data-simplebar] {
  position: relative;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}

/* Dark Mode Button */
#mode-setting-btn {
  position: relative;
}

#mode-setting-btn::before {
  content: '\f0594';
  font-family: 'Material Design Icons';
  font-size: 18px;
}

[data-layout-mode="dark"] #mode-setting-btn::before {
  content: '\f0599';
}

/* Print Styles */
@media print {
  .footer,
  .navbar-header,
  .page-title-box,
  .vertical-menu {
    display: none !important;
  }
  
  .card-body,
  .main-content,
  .page-content,
  body {
    padding: 0;
    margin: 0;
  }
  
  .card {
    border: 0;
  }
}


@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.blink {
    animation: blink 1s linear infinite;
}
.table-row-new {
    animation: highlight 2s ease-out;
}
@keyframes highlight {
    from {
        background-color: #d4edda;
    }
    to {
        background-color: transparent;
    }
}


.crypto img {
	width: 56px;
	border: 3px solid #fff;
	border-radius: 50%;
}
.crypto img + img {
	margin-left: -16px;
}


table { width: 100% !important; }
table td { word-break: break-all; max-width: 320px; }
table.dataTable td {
    padding: 8px 8px !important;
}

#no-datatables {
    table-layout: fixed;
}

[data-layout-mode="dark"] select,
[data-layout-mode="dark"] select.form-control,
[data-layout-mode="dark"] select.form-select {
  background-color: #1a1a2e;
  color: #e2e6ff;
  border-color: #3d4173;
}

[data-layout-mode="dark"] select option {
  background-color: #1a1a2e;
  color: #e2e6ff;
}

/* Hover state for options */
[data-layout-mode="dark"] select option:hover,
[data-layout-mode="dark"] select option:focus {
  background-color: #252545;
}

/* Selected option */
[data-layout-mode="dark"] select option:checked {
  background-color: #252545;
}


.copy-text { 
    cursor: pointer; 
    position: relative;
    transition: all 0.2s;
}
.copy-text:hover { 
    background: rgba(102, 61, 229, 0.08); 
    border-radius: 4px;
}

.copy-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(102, 61, 229);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgb(102, 61, 229);
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
}
