.custom-table .ant-table {
  overflow: auto;
}

.custom-table .ant-table-container {
  max-width: 100%;
}

.custom-table .ant-table-body {
  scrollbar-width: thin;
  scrollbar-color: #1890ff #f5f5f5;
}

.custom-table .ant-table-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-table .ant-table-body::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.custom-table .ant-table-body::-webkit-scrollbar-thumb {
  background: #1890ff;
  border-radius: 4px;
}

.custom-table .ant-table-body::-webkit-scrollbar-thumb:hover {
  background: #40a9ff;
}

.custom-table .ant-table-thead > tr > th {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border: 1px solid #d9d9d9; 
  padding: 8px;
}

.custom-table .ant-table-tbody > tr > td {
  border: 1px solid #d9d9d9; 
  padding: 8px;
}

.custom-table .ant-table table {
  border-collapse: collapse; 
}

.custom-table .ant-table-tbody > tr.ant-table-row {
  background: #fff !important;
}

.custom-table .ant-table-tbody > tr.ant-table-row:hover > td {
  background: #fafafa !important;
}

@media (max-width: 768px) {
  .custom-table .ant-table {
    font-size: 12px;
  }

  .custom-table .ant-table-thead > tr > th,
  .custom-table .ant-table-tbody > tr > td {
    padding: 8px;
    border: 1px solid #d9d9d9; 
  }
}
