  /* Content Area */
  .content-wrapper {
      padding: 2.25rem;
  }

  .page-header {
      margin-bottom: 2.25rem;
  }

  .page-title {
      font-size: 2.5rem;
      font-weight: 900;
      color: var(--text-dark);
      margin-bottom: 0.625rem;
      letter-spacing: -1px;
  }

  .page-subtitle {
      color: var(--text);
      font-size: 1.05rem;
      font-weight: 400;
  }

  /* Stats Cards */
  /* Stats Cards - Design 62: Circle Progress Card (White Theme - Standardized) */
  .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.5rem;
      margin-bottom: 2rem;
  }

  .stat-card-design-g {
      background: white;
      border-radius: 20px;
      padding: 1.5rem;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
      display: flex;
      align-items: center;
      gap: 1.5rem;
      transition: all 0.3s ease;
  }

  .stat-card-design-g:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
      border-color: var(--primary);
  }

  .design-g-ring {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      position: relative;
      flex-shrink: 0;
      background: rgba(255, 255, 255, 0.5);
  }

  .design-g-ring::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 3px solid rgba(0, 0, 0, 0.05);
  }

  .design-g-ring::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 3px solid currentColor;
      border-left-color: transparent;
      transform: rotate(-45deg);
  }

  .design-g-content {
      flex-grow: 1;
  }

  .design-g-value {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 0.25rem;
      color: var(--text-dark);
      line-height: 1.2;
  }

  .design-g-label {
      font-size: 0.875rem;
      color: var(--text);
      font-weight: 500;
  }

  /* Color Variants for Design G */
  .stat-card-design-g .design-g-ring.primary {
      color: var(--primary);
      background: rgba(220, 38, 38, 0.05);
  }

  .stat-card-design-g .design-g-ring.success {
      color: #10b981;
      background: rgba(16, 185, 129, 0.05);
  }

  .stat-card-design-g .design-g-ring.warning {
      color: #f59e0b;
      background: rgba(245, 158, 11, 0.05);
  }

  .stat-card-design-g .design-g-ring.danger {
      color: #ef4444;
      background: rgba(239, 68, 68, 0.05);
  }

  /* Charts Section */
  .charts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      gap: 1.75rem;
      margin-bottom: 2.25rem;
  }

  .chart-card {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      border: 2px solid var(--border);
  }

  .chart-card canvas {
      touch-action: pan-y;
      display: block;
  }

  .chart-container {
      position: relative;
      width: 100%;
      height: 300px;
      max-height: 300px;
      overflow: hidden;
  }

  .chart-container canvas {
      max-width: 100%;
      max-height: 100%;
  }

  .chart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.75rem;
      padding-bottom: 1.25rem;
      border-bottom: 2px solid var(--border);
  }

  .chart-title {
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--text-dark);
  }

  /* Filters Section */
  .filters-section {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      border: 2px solid var(--border);
      margin-bottom: 2.25rem;
  }

  .filter-buttons {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-top: 1.5rem;
  }

  .filter-btn {
      padding: 0.75rem 1.5rem;
      border: 2px solid var(--border);
      background: var(--light);
      color: var(--text-dark);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.9rem;
      font-weight: 600;
  }

  .filter-btn:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      transform: translateY(-2px);
  }

  .filter-btn.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  }

  /* Custom Dropdown Styles */
  .filter-box {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      position: relative;
      z-index: 1;
  }

  .filter-box:has(.custom-dropdown.active) {
      z-index: 10001;
  }

  .filter-label {
      font-weight: 600;
      color: var(--text-dark);
      font-size: 0.95rem;
      margin: 0;
  }

  .custom-dropdown {
      position: relative;
      width: 100%;
      z-index: 1;
  }

  .custom-dropdown.active {
      z-index: 10001 !important;
      position: relative;
  }

  .custom-dropdown.active .custom-dropdown-menu {
      z-index: 10001 !important;
  }

  .custom-dropdown-btn {
      width: 100%;
      border: 2px solid var(--border);
      border-radius: 12px;
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
      background: white;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      color: var(--text-dark);
      font-weight: 500;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: left;
  }

  .custom-dropdown-btn:hover {
      border-color: var(--primary);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
  }

  .custom-dropdown-btn:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
      background: white;
  }

  .custom-dropdown-btn:disabled {
      background: var(--light);
      color: var(--text);
      cursor: not-allowed;
      opacity: 0.7;
  }

  .custom-dropdown-btn i {
      font-size: 0.75rem;
      transition: transform 0.3s ease;
      color: var(--text);
  }

  .custom-dropdown.active .custom-dropdown-btn i {
      transform: rotate(180deg);
  }

  .custom-dropdown-menu {
      position: absolute;
      top: calc(100% + 5px);
      left: 0;
      right: 0;
      background: white !important;
      border: 2px solid var(--border);
      border-radius: 12px;
      box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
      z-index: 10001 !important;
      max-height: 300px;
      overflow-y: auto;
      overflow-x: hidden;
      display: none;
  }

  .custom-dropdown.active .custom-dropdown-menu {
      display: block;
  }

  .custom-dropdown-items {
      max-height: 300px;
      overflow-y: auto;
      background: white !important;
  }

  .custom-dropdown-item {
      padding: 0.75rem 1rem;
      cursor: pointer;
      transition: all 0.2s ease;
      border-bottom: 1px solid var(--border);
      color: var(--text-dark);
      font-weight: 500;
      background: white !important;
  }

  .custom-dropdown-item:last-child {
      border-bottom: none;
  }

  .custom-dropdown-item:hover {
      background: var(--light) !important;
      color: var(--primary);
  }

  .custom-dropdown-item.selected {
      color: var(--primary);
      font-weight: 600;
      background: rgba(220, 38, 38, 0.08) !important;
  }

  /* Custom Search Input Style */
  .custom-search-input {
      position: relative;
      width: 100%;
  }

  .custom-search-input input {
      width: 100%;
      border: 2px solid var(--border);
      border-radius: 12px;
      padding: 0.75rem 1rem 0.75rem 3rem;
      font-size: 0.9rem;
      background: white;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      color: var(--text-dark);
      font-weight: 500;
  }

  .custom-search-input input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
      background: white;
  }

  .custom-search-input i {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text);
      font-size: 0.9rem;
      pointer-events: none;
  }

  /* Notifications Section */
  .notifications-section {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      border: 2px solid var(--border);
      margin-bottom: 2.25rem;
  }

  .notifications-section h3 {
      color: var(--text-dark);
      font-weight: 800;
      margin-bottom: 1.5rem;
      font-size: 1.2rem;
  }


  /* Design 2: Modern Clean Card */
  .notification-item {
      background: white;
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      display: flex;
      gap: 20px;
      align-items: flex-start;
      border: 1px solid #f1f5f9;
      margin-bottom: 1.5rem;
      transition: all 0.3s ease;
  }

  .notification-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }

  .notification-item.unread {
      background: #fff;
      /* Keep white background but maybe add a subtle indicator */
      border-left: 5px solid var(--primary);
  }

  /* Icon wrapper */
  .notification-icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
      /* Colors handled by JS or modifier classes */
  }

  /* Specific Icon Colors for Design 2 consistency */
  .notification-icon.price-alert {
      background: #fff1f2;
      color: #e11d48;
      box-shadow: none;
      /* Override default */
  }

  .notification-icon.user-registration {
      background: #ecfdf5;
      color: #059669;
      box-shadow: none;
  }

  /* ... Add other type colors if needed ... */


  .notification-content {
      flex-grow: 1;
  }

  .notification-header {
      display: flex;
      /* Override previous if needed */
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 0.5rem;
      gap: 0;
      /* Reset */
  }

  .notification-title {
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--text-dark);
      margin: 0;
      display: block;
      /* Change from flex to block/inline-block logic */
  }

  .d2-chip {
      display: inline-block;
      background: #f1f5f9;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      color: #475569;
      margin-left: 8px;
      vertical-align: middle;
  }

  .notification-message {
      color: #64748b;
      font-size: 1rem;
      margin-bottom: 1rem;
      line-height: 1.5;
  }

  .d2-price-tag {
      background: #fff1f2;
      color: #e11d48;
      padding: 2px 8px;
      border-radius: 4px;
      font-family: monospace;
      font-weight: 700;
      margin-left: 4px;
  }

  .notification-meta {
      display: flex;
      gap: 1.5rem;
      margin-bottom: 1rem;
      padding-left: 0.25rem;
  }

  .notification-meta-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.85rem;
      font-weight: 600;
      color: #64748b;
  }

  .notification-actions {
      display: flex;
      gap: 0.75rem;
      margin-top: 0;
      /* Adjusted from default */
  }

  .btn-outline-success {
      color: #10b981;
      border-color: #10b981;
  }

  .btn-outline-success:hover {
      background-color: #10b981;
      color: white;
  }

  .btn-outline-danger {
      color: #ef4444;
      border-color: #ef4444;
  }

  .btn-outline-danger:hover {
      background-color: #ef4444;
      color: white;
  }

  .notification-header {
      display: flex;
      align-items: flex-start;
      gap: 1.25rem;
      margin-bottom: 1rem;
  }

  .notification-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1.5rem;
      color: white;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .notification-icon.user-registration {
      background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  }

  .notification-icon.business-registration {
      background: linear-gradient(135deg, var(--info) 0%, #22d3ee 100%);
  }

  .notification-icon.password-reset {
      background: linear-gradient(135deg, var(--warning) 0%, #fbbf24 100%);
  }

  .notification-icon.email-update {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  }

  .notification-icon.price-alert {
      background: linear-gradient(135deg, var(--danger) 0%, #fb7185 100%);
  }

  .notification-content {
      flex: 1;
  }

  .notification-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
  }

  .notification-message {
      font-size: 0.95rem;
      color: var(--text);
      margin-bottom: 0.75rem;
      line-height: 1.6;
  }

  .notification-meta {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      font-size: 0.85rem;
      color: var(--text);
      margin-bottom: 0.75rem;
  }

  .notification-meta-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }

  .notification-actions {
      display: flex;
      gap: 0.75rem;
      margin-top: 1rem;
  }

  .badge {
      padding: 0.4rem 0.875rem;
      border-radius: 8px;
      font-size: 0.8rem;
      font-weight: 700;
  }

  .badge-success {
      background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
      color: white;
  }

  .badge-danger {
      background: linear-gradient(135deg, var(--danger) 0%, #fb7185 100%);
      color: white;
  }

  .badge-warning {
      background: linear-gradient(135deg, var(--warning) 0%, #fbbf24 100%);
      color: var(--text-dark);
  }

  .badge-info {
      background: linear-gradient(135deg, var(--info) 0%, #22d3ee 100%);
      color: white;
  }

  .badge-primary {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
      color: white;
  }

  .badge-secondary {
      background: var(--text);
      color: white;
  }

  .btn-sm {
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
      font-weight: 600;
      border-radius: 10px;
      border: none;
      transition: all 0.3s ease;
  }

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

  .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  }

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

  .btn-danger:hover {
      background: #e11d48;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
  }

  .btn-success {
      background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
      color: white;
  }

  .btn-success:hover {
      background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  }

  .empty-state {
      text-align: center;
      padding: 4rem 2rem;
      color: var(--text);
  }

  .empty-state i {
      font-size: 4rem;
      color: var(--border);
      margin-bottom: 1.5rem;
  }

  .empty-state h4 {
      color: var(--text-dark);
      margin-bottom: 0.75rem;
      font-weight: 700;
  }

  .loading-spinner {
      text-align: center;
      padding: 4rem;
  }

  .spinner-border {
      width: 3rem;
      height: 3rem;
      border-width: 0.3em;
  }

  .alert {
      border-radius: 12px;
      border: 2px solid;
      padding: 1.25rem;
      margin-bottom: 1.5rem;
  }

  .alert-success {
      background: #e8f5e9;
      color: #28a745;
      border-color: #c8e6c9;
  }

  .alert-danger {
      background: #fff5f5;
      color: var(--danger);
      border-color: #fecaca;
  }

  .alert-warning {
      background: #fff9e6;
      color: #856404;
      border-color: #ffeaa7;
  }

  .alert-info {
      background: #e3f2fd;
      color: var(--info);
      border-color: #90caf9;
  }

  /* Confirmation Modal Styles */
  #confirmationModal .modal-content {
      border-radius: 16px;
      border: none;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  #confirmationModal .modal-header {
      border-radius: 16px 16px 0 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      padding: 1.5rem 2rem;
  }

  #confirmationModal .modal-header.bg-danger {
      background: linear-gradient(135deg, var(--danger) 0%, #e11d48 100%);
  }

  #confirmationModal .modal-header.bg-success {
      background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  }

  #confirmationModal .modal-header.bg-warning {
      background: linear-gradient(135deg, var(--warning) 0%, #fbbf24 100%);
  }

  #confirmationModal .modal-title {
      font-weight: 700;
      font-size: 1.2rem;
  }

  #confirmationModal .modal-body {
      padding: 2rem;
      font-size: 1rem;
      line-height: 1.6;
      color: var(--text-dark);
  }

  #confirmationModal .modal-footer {
      border-top: 2px solid var(--border);
      padding: 1.5rem 2rem;
  }

  #confirmationModal .btn-close {
      filter: brightness(0) invert(1);
  }

  #confirmationModal .btn-close:hover {
      opacity: 0.8;
  }

  /* Sidebar Toggle States */
  .sidebar.hidden {
      transform: translateX(-100%);
      left: -100%;
  }

  .main-content.sidebar-hidden {
      margin-left: 0;
  }

  /* Desktop toggle support */
  @media (min-width: 1025px) {
      .sidebar.hidden {
          transform: translateX(-100%);
          left: -100%;
      }

      .main-content.sidebar-hidden {
          margin-left: 0;
      }
  }

  /* Responsive */
  @media (max-width: 1024px) {
      .sidebar {
          left: -100%;
      }

      .sidebar.active {
          left: 0;
      }

      .main-content {
          margin-left: 0;
      }

      .menu-toggle {
          display: block;
      }

      .charts-grid {
          grid-template-columns: 1fr;
      }
  }

  @media (max-width: 768px) {
      .stats-grid {
          grid-template-columns: 1fr;
      }

      .content-wrapper {
          padding: 1.5rem;
      }
  }

  .sidebar::-webkit-scrollbar {
      width: 6px;
  }

  .sidebar::-webkit-scrollbar-track {
      background: transparent;
  }

  .sidebar::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 3px;
  }

  .sidebar::-webkit-scrollbar-thumb:hover {
      background: var(--primary);
  }

  .sidebar-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .sidebar-overlay.active {
      display: block;
      opacity: 1;
  }