/* Container / Card */
.content-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
  border-radius: 10px;
  max-width: 100%;
}

/* Main Table Styling */
.users-table {
  width: 100%;
  border-collapse: separate; 
  border-spacing: 0 12px;
  margin-top: -12px;
  table-layout: auto;
}

/* Header */
.users-table thead th {
  font-size: 13px;
  font-weight: 600;
  color: #202224;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 12px 16px;
  background: #F1F4F9;
  white-space: nowrap; 
}

/* Rows */
.users-table tbody tr {
  background: #fff;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.users-table tbody tr:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* Cells */
.users-table td {
  border: none;
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 14px;
  color: #2E2C34;
  white-space: normal;
  word-break: break-word;
}

/* Actions Box */
.actions-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.actions-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  position: relative;
  transition: all 0.2s ease;
  text-decoration: none;
}

.actions-box a:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  width: 1px;
  height: 50%;
  background-color: #e5e7eb;
}

.actions-box a:hover {
  background-color: #f9fafb;
}

.action-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.table-search {
  max-width: 300px;
  width: 100%;
  border-radius: 8px !important;
  border: 1px solid #E2E2E2 !important;
  padding: 8px 12px !important;
}

.users-table td,
.users-table th {
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 768px) {
  .content-card {
    padding: 15px;
  }
  
  .users-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
}
