/* Billing Page Styles */
.billing-page {
  max-width: 1200px;
}

.billing-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.billing-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px 0;
}

.billing-page .page-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.billing-page .btn-secondary {
  background: white;
  color: #667eea;
  border: 1px solid #667eea;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.billing-page .btn-secondary:hover {
  background: rgba(102, 126, 234, 0.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Billing Overview */
.billing-overview {
  margin-bottom: 48px;
}

.billing-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.billing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.billing-plan {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.billing-plan h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px 0;
}

.billing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
  margin: 0;
}

.billing-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #64748b;
}

.detail-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
}

/* Seats Section */
.seats-section {
  margin-top: 48px;
}

.seats-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 24px 0;
}

.seats-list {
  display: grid;
  gap: 12px;
}

.seat-row {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.seat-row:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.seat-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.seat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.seat-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
}

.seat-email {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 2px;
}

.seat-role {
  flex-shrink: 0;
}

.role-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.role-badge.role-owner {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.role-badge.role-admin {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.role-badge.role-member {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.seat-meta {
  font-size: 0.8125rem;
  color: #94a3b8;
  flex-shrink: 0;
}

/* Seats Management Page Styles */
.seats-management-page {
  max-width: 1200px;
}

.seats-management-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.seats-management-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px 0;
}

.seats-management-page .page-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.seats-management-page .btn-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-block;
}

.seats-management-page .btn-link:hover {
  background: rgba(102, 126, 234, 0.1);
  text-decoration: none;
}

.seat-actions {
  display: flex;
  gap: 8px;
}

.seat-actions .btn-link {
  color: #ef4444;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.seat-actions .btn-link:hover {
  background: rgba(239, 68, 68, 0.1);
  text-decoration: none;
}

.add-seat-section {
  background: white;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  margin-top: 24px;
  text-align: center;
}

.add-seat-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px 0;
}

.section-description {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0 0 20px 0;
}

.add-seat-section .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
}

.add-seat-section .btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .billing-page .page-header,
  .seats-management-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .billing-page .page-header h1,
  .seats-management-page .page-header h1 {
    font-size: 1.75rem;
  }

  .billing-card {
    padding: 24px;
  }

  .billing-plan h2 {
    font-size: 1.5rem;
  }

  .billing-price {
    font-size: 2rem;
  }

  .seat-row {
    flex-wrap: wrap;
    padding: 16px;
  }

  .seat-info {
    width: 100%;
  }

  .seat-role {
    width: auto;
  }

  .seat-meta {
    width: 100%;
  }

  .seats-section h2 {
    font-size: 1.25rem;
  }

  .add-seat-section {
    padding: 24px;
  }
}

