/* Billing Tab Styles - Extracted from inline styles */

#billing-tab-content .profile-box-content {
  display: flex;
  flex-direction: column;
}

#billing-tab-content .tb-button-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.billing-table-container {
  overflow-x: auto;
  flex: 1;
}

.billing-history-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.billing-info-row {
  display: flex;
  margin-bottom: 16px;
  gap: 200px;
}

.billing-info-row:last-child {
  margin-bottom: 0;
}

/* Responsive gap adjustments */
@media (max-width: 1200px) {
  .billing-info-row {
    gap: 150px;
  }
}

@media (max-width: 768px) {
  .billing-info-row {
    gap: 100px;
  }
}

@media (max-width: 600px) {
  .billing-info-row {
    gap: 50px;
  }
}

.billing-label {
  color: #9ca3af;
  font-size: 14px;
  min-width: 160px;
  flex-shrink: 0;
}

.billing-value {
  color: #374151;
  font-size: 14px;
}

/* Payment History Table - matching productsList style */
.billing-history-content {
  padding: 0;
}

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

.billing-history-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.billing-history-table thead {
  background-color: var(--header-background-color, #f8f9fa);
}

.billing-history-table th {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: black;
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
}

.billing-history-table th:first-child {
  padding-left: 20px;
}

.billing-history-table th:nth-child(1),
.billing-history-table th:nth-child(3),
.billing-history-table th:nth-child(4),
.billing-history-table th:nth-child(5) {
  text-align: center;
}

.billing-history-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

.billing-history-table tbody tr:last-child {
  border-bottom: none;
}

.billing-history-table tbody td {
  padding: 16px;
  color: #555;
  font-size: 14px;
  vertical-align: middle;
}

.billing-history-table tbody td:first-child {
  padding-left: 20px;
}

.billing-history-table tbody td:nth-child(1),
.billing-history-table tbody td:nth-child(3),
.billing-history-table tbody td:nth-child(4),
.billing-history-table tbody td:nth-child(5) {
  text-align: center;
}

.billing-status-cell {
  color: #8b5cf6;
}

.billing-amount {
  color: #374151;
  font-weight: 500;
}

/* Show More Button */
.billing-show-more-container {
  display: flex;
  justify-content: center;
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
}

.billing-show-more-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-show-more-btn:hover {
  background-color: #f8f9fa;
  border-color: #3b82f6;
}

.billing-chevron {
  transition: transform 0.2s ease;
}
