 /* Custom styles for customers section */
 #customersSection .table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
  }

  #customersSection .table td {
    vertical-align: middle;
    word-wrap: break-word;
    max-width: 200px;
  }

  #customersSection .avtar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    flex-shrink: 0;
  }

  #customersSection .badge {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .table-responsive {
    border-radius: 0.375rem;
    overflow: hidden;
    width: 100%;
  }

  /* Enhanced responsive table styles */
  @media (max-width: 768px) {
    #customersSection .table {
      font-size: 0.875rem;
    }
    
    #customersSection .table th,
    #customersSection .table td {
      padding: 0.5rem 0.25rem;
    }
    
    #customersSection .table th:nth-child(4),
    #customersSection .table td:nth-child(4),
    #customersSection .table th:nth-child(5),
    #customersSection .table td:nth-child(5),
    #customersSection .table th:nth-child(7),
    #customersSection .table td:nth-child(7) {
      display: none;
    }
  }

  @media (max-width: 576px) {
    #customersSection .table th:nth-child(3),
    #customersSection .table td:nth-child(3),
    #customersSection .table th:nth-child(6),
    #customersSection .table td:nth-child(6) {
      display: none;
    }
    
    #customersSection .card-header .d-flex {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    #customersSection .card-header .btn {
      width: 100%;
      margin-bottom: 0.25rem;
    }
  }

  /* Dashboard layout fixes */
  .pc-container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  .pc-content {
    padding: 1.5rem;
    width: 100%;
    min-height: calc(100vh - 70px);
    overflow-x: hidden;
  }

  .page-header {
    margin-bottom: 1.5rem;
  }

  #dashboardContent.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    width: calc(100% + 1.5rem);
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
  }

  #dashboardContent .col-md-6,
  #dashboardContent .col-xxl-3,
  #dashboardContent .col-lg-4,
  #dashboardContent .col-sm-6,
  #dashboardContent .col-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .avtar, .avtar-s {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .bg-body {
    background-color: #f8f9fa !important;
  }

  /* Fix for d-flex alignment */
  .d-flex.align-items-center {
    align-items: center !important;
  }

  .flex-grow-1 {
    flex-grow: 1 !important;
  }

  .flex-shrink-0 {
    flex-shrink: 0 !important;
  }

  /* Fix for chart containers */
  .chart-container,
  #all-earnings-graph,
  #page-views-graph,
  #total-task-graph,
  #download-graph,
  #customer-rate-graph,
  #total-tasks-graph,
  #pending-tasks-graph,
  #total-income-graph {
    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    position: relative;
    overflow: visible;
  }

  /* Larger charts */
  #customer-rate-graph,
  #total-income-graph {
    height: 200px !important;
    min-height: 200px !important;
  }
  
  /* Fix for chart content overflow */
  .bg-body {
    overflow: visible;
  }
  
  .bg-body .row {
    overflow: visible;
  }
  
  .bg-body .col-7,
  .bg-body .col-5 {
    overflow: visible;
  }

  /* Ensure proper spacing */
  .mt-3 {
    margin-top: 1rem !important;
  }

  .mb-0 {
    margin-bottom: 0 !important;
  }

  .mb-1 {
    margin-bottom: 0.25rem !important;
  }

  /* Responsive fixes */
  @media (max-width: 768px) {
    #dashboardContent .col-md-6 {
      flex: 0 0 100%;
      max-width: 100%;
    }

    .pc-content {
      padding: 1rem;
    }
    
    /* Mobile sidebar improvements */
    .pc-sidebar {
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }
    
    .pc-sidebar.show {
      transform: translateX(0);
    }
    
    /* Mobile header improvements */
    .pc-header {
      padding: 0.5rem 1rem;
    }
    
    .pc-header .header-wrapper {
      flex-wrap: wrap;
    }
    
    /* Mobile navigation improvements */
    .pc-navbar .pc-item .pc-link {
      padding: 0.75rem 1rem;
    }
    
    .pc-navbar .pc-item .pc-mtext {
      font-size: 0.875rem;
    }
  }

  @media (min-width: 768px) {
    #dashboardContent .col-md-6 {
      flex: 0 0 50%;
      max-width: 50%;
    }
  }

  @media (min-width: 1400px) {
    #dashboardContent .col-xxl-3 {
      flex: 0 0 25%;
      max-width: 25%;
    }
  }
  
  /* Additional responsive improvements */
  @media (max-width: 576px) {
    .pc-container {
      padding-left: 0;
      padding-right: 0;
    }
    
    .pc-content {
      padding: 0.75rem;
    }
    
    .card {
      margin-bottom: 1rem;
    }
    
    .card-body {
      padding: 1rem;
    }
    
    /* Mobile table improvements */
    .table-responsive {
      font-size: 0.8rem;
    }
    
    /* Mobile button improvements */
    .btn {
      font-size: 0.875rem;
      padding: 0.375rem 0.75rem;
    }
    
    .btn-sm {
      font-size: 0.8rem;
      padding: 0.25rem 0.5rem;
    }
  }
  
  /* Fix for chart text overflow */
  .bg-body h5,
  .bg-body p {
    overflow: visible;
    white-space: nowrap;
  }
  
  .bg-body .col-5 {
    min-width: 80px;
  }
  
  /* Ensure proper card spacing */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Fix for any remaining overflow issues */
  .pc-main {
    overflow-x: hidden;
  }
  
  /* Better chart container sizing */
  .bg-body .row {
    align-items: center;
  }
  
  .bg-body .col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  
  .bg-body .col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  /* Fix for any overflow issues */
  body {
    overflow-x: hidden;
  }

  .row {
    --bs-gutter-x: 1.5rem;
  }

  /* Additional alignment fixes for dashboard items */
  #dashboardContent .card {
    margin-bottom: 1.5rem;
  }

  #dashboardContent .col-lg-9,
  #dashboardContent .col-lg-3,
  #dashboardContent .col-md-6 {
    display: flex;
    flex-direction: column;
  }

  #dashboardContent .card {
    flex: 1;
    height: 100%;
  }

  /* Fix nested row alignment */
  #dashboardContent .row .row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }

  /* Ensure proper spacing for nested columns */
  #dashboardContent .row .col-lg-9,
  #dashboardContent .row .col-lg-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Fix for tab content and lists */
  .tab-content {
    width: 100%;
  }

  .list-group-item {
    border-left: none;
    border-right: none;
  }

  .list-group-item:first-child {
    border-top: none;
  }

  .list-group-item:last-child {
    border-bottom: none;
  }
  
  /* Additional responsive improvements */
  .pc-sidebar {
    z-index: 1050;
  }
  
  .pc-header {
    z-index: 1040;
  }
  
  /* Mobile overlay for sidebar */
  @media (max-width: 768px) {
    .pc-sidebar.show::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: -1;
    }
  }
  
  /* Improve table responsiveness */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better mobile navigation */
  @media (max-width: 768px) {
    .pc-navbar .pc-item .pc-link {
      border-radius: 0.375rem;
      margin: 0.125rem 0;
    }
    
    .pc-navbar .pc-item .pc-link:hover {
      background-color: rgba(0, 0, 0, 0.05);
    }
    
    .pc-navbar .pc-item .pc-link.active {
      background-color: var(--bs-primary);
      color: white;
    }
  }
  
  /* Active navigation state styling */
  .pc-navbar .pc-item .pc-link.active {
    background-color: var(--bs-primary);
    color: white !important;
  }
  
  .pc-navbar .pc-item .pc-link.active .pc-micon svg {
    fill: white;
  }
  
  .pc-navbar .pc-item .pc-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  /* Fix for mobile card layouts */
  @media (max-width: 576px) {
    .card-header .d-flex {
      flex-direction: column;
      align-items: stretch;
    }
    
    .card-header .btn {
      margin-bottom: 0.5rem;
    }
    
    .card-header .btn:last-child {
      margin-bottom: 0;
    }
  }
  .customer-avatar-large {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .avtar-xl {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
  }
  
  .avtar-xs {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
  }
  
  #customerDetailsModal .modal-body .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
  }
  
  #customerDetailsModal .modal-body p {
    font-size: 0.95rem;
    font-weight: 500;
  }
  
  .table-responsive {
    border-radius: 0.375rem;
    overflow: hidden;
  }
  
  @media (max-width: 768px) {
    .table th, .table td {
      padding: 0.5rem 0.25rem;
      font-size: 0.875rem;
    }
    
    .btn-sm {
      padding: 0.25rem 0.5rem;
      font-size: 0.75rem;
    }
  }

  /* Navigation Active State Styling */
  .pc-navbar .pc-link.active {
    background-color: var(--bs-primary) !important;
    color: white !important;
    border-radius: 0.375rem;
  }
  
  .pc-navbar .pc-link.active .pc-micon svg {
    fill: white !important;
    color: white !important;
  }
  
  .pc-navbar .pc-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.375rem;
  }
  
  .pc-navbar .pc-link {
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    margin: 0.125rem 0;
  }

  .knobs{
    width: 1045px;
    margin-bottom: 40px;
  }