/* Reset and Base Styles */
.icon-circle {
  width: 32px;
  height: 32px;
  background-color: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 16px;
  height: 16px;
  color: #64748b;
}

.header-info h1 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.subtitle {
  font-size: 14px;
  color: #64748b;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-outline {
  background-color: white;
  border: 1px solid #e2e8f0;
  color: #374151;
}

.btn-outline:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
  border: 1px solid #3b82f6;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Controls Styles */
.controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.search-container {
  position: relative;
  flex: 1;
   max-width:50%;
	display: flex;
    gap: 10px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.search-input {
  width: 100%;
  padding: 8px 12px 8px 40px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
}

.search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: white;
	min-width: 25%;
}

.filter-container.clear-filter {
   border: 1px solid transparent;
   background-color: transparent;
}

.filter-icon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.filter-select {
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}

/* Added styles for per-page filter */
.per-page-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.per-page-text {
  font-size: 14px;
  color: #64748b;
}

.per-page-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #64748b;
}

.per-page-select {
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
}

/* Table Styles */
.table-container {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
  margin-bottom: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background-color: #ee9f15;
  border-bottom: 1px solid #e2e8f0;
}

.data-table th {
  text-align: left;
  padding: 12px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
  border: 0.2px solid #ffc868;
}

.checkbox-col {
  width: 48px;
}

.actions-col {
  width: 48px;
}

.data-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s;
}

.data-table tbody tr:hover {
  background-color: #f8fafc;
}

.data-table tbody tr:nth-child(even) {
  background-color: #fafbfc;
}

.data-table td {
  padding: 12px;
  font-size: 14px;
  color: #374151;
}
table td {
    border: 1px solid #e6e6e6;}
.checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.link-button {
  background: none;
  border: none;
  color: #3b82f6;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.link-button:hover {
  color: #2563eb;
  text-decoration: underline;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-active {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.status-inactive {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.status-prospect {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.more-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  color: #9ca3af;
}

.more-btn:hover {
  background-color: #f3f4f6;
  color: #374151;
}

/* Footer Styles */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stats {
  font-size: 14px;
  color: #64748b;
}

.selected-info {
  margin-left: 8px;
}

/* Updated pagination styles for new controls */
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background-color: white;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-info {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-numbers {
  display: flex;
  gap: 4px;
}

.page-btn {
  padding: 6px 12px;
  font-size: 14px;
  min-width: 36px;
  justify-content: center;
}

.page-btn.active {
  background-color: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* Added action button styles */
.action-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.contact-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .table-container {
    overflow-x: auto;
  }

  .data-table {
    min-width: 800px;
  }
}
#oye-container {
  font-family: Arial, sans-serif;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.data-table th {
  background: #f4f4f4;
}

.pagination-controls {
  margin-top: 10px;
  text-align: center;
}

.pagination-controls button {
  margin: 0 5px;
  padding: 5px 10px;
}

/* Loader */
.oye-loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #0073aa; /* WP blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

