
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
  display: none;
}

/* Style pagination */
.dataTables_wrapper .dataTables_paginate {
  text-align: center;
  padding: 1rem 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  color: #374151;
  background: white;
  cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f9fafb;
  color: #111827;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Style info text */
.dataTables_wrapper .dataTables_info {
  padding: 1rem 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Remove default sorting icons */
table.dataTable thead th {
  position: relative;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
  display: none;
}

.ts-control{
  border: unset !important;
}

/* Global responsive safety layer */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.dataTables_wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dataTables_wrapper table.dataTable {
  min-width: 680px;
}

@media (max-width: 1023px) {
  .dataTables_wrapper .dataTables_paginate .paginate_button {
    margin: 0.125rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .py-16 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #contact_modal_tab {
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }

  #contact_modal_tab .tab-button {
    flex: 0 0 auto;
    min-width: 9rem;
  }

  #content-email .grid-cols-2,
  #content-meeting .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  #listingForm .grid-cols-2,
  #listingForm .grid-cols-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}
