/* Address List Table Styles */

.address-table-container {
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
}

.address-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.address-table thead {
  background-color: #f29d1c;
}

.address-table th {
  padding: 15px;
  text-align: right;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  border-right: 1px solid #e8e8e8;
}

.address-table th:last-child {
  border-right: none;
}

.address-table td {
  padding: 12px 15px;
  text-align: right;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
  color: #555;
    white-space: nowrap;
}

.address-table tbody tr:hover {
  background-color: #f9f9f9;
}

.address-table tbody tr:last-child td {
  border-bottom: none;
}

.address-table td:first-child,
.address-table th:first-child {
  border-right: none;
}

/* Pagination Styling Enhancement */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  flex-direction: row-reverse;
}

.pagination-prev,
.pagination-next,
.pagination-item {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-prev:hover,
.pagination-next:hover {
  background-color: #f29d1c;
  color: #333;
  border-color: #f29d1c;
  font-weight: 600;
}

.pagination-item {
  min-width: 35px;
  text-align: center;
}

.pagination-item.active {
  background-color: #f29d1c;
  color: white;
  border-color: #f29d1c;
}

.pagination-item:hover:not(.active) {
  background-color: #f5f5f5;
}

/* Responsive Table */
@media (max-width: 768px) {
  .address-table th,
  .address-table td {
    padding: 10px;
    font-size: 12px;
  }

  .address-table-container {
    overflow-x: auto;
  }
}