/* Page container -  */

.server-ip-list-2-page .card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.server-ip-list-2-page .card-header {
  border-radius: 8px 8px 0 0;
  padding: var(--spacing-xs) var(--spacing-md);
}

.server-ip-list-2-page .card-header h5 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.server-ip-list-2-filters {
  background: #f8f9fa;
  padding: var(--spacing-xs);
  border-radius: 6px;
  margin-bottom: var(--spacing-md);
  max-width: 100%;
  width: 100%;
}

.server-ip-list-2-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  align-items: center;
  width: 100%;
}

.server-ip-list-2-search-group {
  flex: 1 1 180px;
  min-width: 140px;
}

.server-ip-list-2-search-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.875rem;
}

.server-ip-list-2-filter-row select {
  flex: 0 0 auto;
  width: 130px;
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.875rem;
  background: white;
}

.server-ip-list-2-table-wrap {
  margin-bottom: var(--spacing-md);
}

.server-ip-list-2-table {
  width: 100%;
  font-size: 0.78rem;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: var(--spacing-md);
}

.server-ip-list-2-table th {
  background-color: #396A7D !important;
  color: #ffffff !important;
  font-weight: 500;
  padding: var(--spacing-xs);
  border: none;
  font-size: 0.78rem;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-ip-list-2-table td {
  padding: var(--spacing-xs);
  vertical-align: middle;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.78rem;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-ip-list-2-table tbody tr:hover {
  background-color: #f8f9fa;
}

.server-ip-list-2-table .badge {
  font-size: 0.655rem;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Column widths for proper alignment */
.server-ip-list-2-table .id-col {
  width: 8%;
  white-space: nowrap;
  text-align: left;
}

.server-ip-list-2-table .server-name-col {
  width: 22%;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
}

.server-ip-list-2-table .ip-col {
  width: 20%;
  white-space: nowrap;
  text-align: left;
}

.server-ip-list-2-table .subdomain-col {
  width: 20%;
  white-space: nowrap;
  text-align: left;
}

.server-ip-list-2-table .status-col {
  width: 15%;
  white-space: nowrap;
  text-align: left;
}

.server-ip-list-2-table .sender-score-col {
  width: 15%;
  white-space: nowrap;
  text-align: left;
}

.server-ip-list-2-filter-row .custom-select-btn {
  flex: 0 0 auto;
  width: 130px;
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 0.875rem;
  background: white;
  text-align: left;
  cursor: pointer;
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1050;
}

.custom-select-dropdown-item {
  padding: 8px 12px;
  font-size: 0.875rem;
  cursor: pointer;
}

.custom-select-dropdown-item:hover {
  background-color: #e0f2fe;
}
