/* Dashboard Container */
.marketplace-dashboard-wrapper,
.publisher-dashboard-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Dashboard Header */
.marketplace-dashboard-wrapper .dashboard-header,
.publisher-dashboard-wrapper .dashboard-header {
  margin-bottom: 30px;
}

.dashboard-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.marketplace-dashboard-wrapper .dashboard-title,
.publisher-dashboard-wrapper .dashboard-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.marketplace-dashboard-wrapper .dashboard-subtitle,
.publisher-dashboard-wrapper .dashboard-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.dashboard-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-logout,
.btn-back,
.btn-add-website,
.btn-share-websites {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-logout {
  background: #dc3545;
  color: #fff;
}

.btn-logout:hover {
  background: #c82333;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-back {
  background: #6c757d;
  color: #fff;
}

.btn-back:hover {
  background: #5a6268;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.btn-add-website {
  background: #28a745;
  color: #fff;
}

.btn-add-website:hover {
  background: #218838;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.btn-share-websites:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5) !important;
  color: white !important;
  text-decoration: none !important;
}

.btn-logout svg,
.btn-back svg,
.btn-add-website svg,
.btn-share-websites svg {
  flex-shrink: 0;
}

/* Dashboard Tabs */
.dashboard-tabs {
  margin: 20px 0;
  border-bottom: 2px solid #e5e5e5;
}

.dashboard-tabs ul.tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 5px;
}

.dashboard-tabs ul.tabs li {
  margin: 0;
}

.dashboard-tabs ul.tabs li a {
  display: block;
  padding: 12px 24px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.dashboard-tabs ul.tabs li a:hover {
  color: #0073aa;
  background: #f5f5f5;
}

.dashboard-tabs ul.tabs li.active a {
  color: #0073aa;
  border-bottom-color: #0073aa;
}

/* Dashboard Stats */
.marketplace-dashboard-wrapper .dashboard-stats,
.publisher-dashboard-wrapper .dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.marketplace-dashboard-wrapper .stat-card,
.publisher-dashboard-wrapper .stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.marketplace-dashboard-wrapper .stat-card:hover,
.publisher-dashboard-wrapper .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.marketplace-dashboard-wrapper .stat-icon,
.publisher-dashboard-wrapper .stat-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
}

.marketplace-dashboard-wrapper .stat-content,
.publisher-dashboard-wrapper .stat-content {
  flex: 1;
}

.marketplace-dashboard-wrapper .stat-value,
.publisher-dashboard-wrapper .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.marketplace-dashboard-wrapper .stat-label,
.publisher-dashboard-wrapper .stat-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* Quick Actions */
.dashboard-actions {
  margin-bottom: 30px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.action-btn.primary {
  background: #0073aa;
  color: #fff;
}

.action-btn.primary:hover {
  background: #005a87;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

/* Orders Section */
.orders-section {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.marketplace-dashboard-wrapper .section-title,
.publisher-dashboard-wrapper .section-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

/* Orders Table - Buyer Dashboard */
.marketplace-dashboard-wrapper .orders-table {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.marketplace-dashboard-wrapper .orders-table-header {
  display: grid !important;
  grid-template-columns: 100px 200px 1fr 150px 120px 110px 180px !important;
  gap: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  font-size: 14px;
  color: #495057;
}

.marketplace-dashboard-wrapper .orders-table-row {
  display: grid !important;
  grid-template-columns: 100px 200px 1fr 150px 120px 110px 180px !important;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
  transition: background 0.2s;
}

.marketplace-dashboard-wrapper .orders-table-row:hover {
  background: #f8f9fa;
}

.marketplace-dashboard-wrapper .orders-table-row:last-child {
  border-bottom: none;
}

/* Publisher Dashboard Orders Table */
.publisher-dashboard-wrapper .orders-table {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.publisher-dashboard-wrapper .orders-table-header {
  display: grid;
  grid-template-columns: 120px 200px 150px 140px 120px 120px 140px;
  gap: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  font-size: 14px;
  color: #495057;
}

.publisher-dashboard-wrapper .orders-table-row {
  display: grid;
  grid-template-columns: 120px 200px 150px 140px 120px 120px 140px;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
  transition: background 0.2s;
}

.publisher-dashboard-wrapper .orders-table-row:hover {
  background: #f8f9fa;
}

.publisher-dashboard-wrapper .orders-table-row:last-child {
  border-bottom: none;
}

/* Admin Orders Table */
.admin-orders-wrapper .orders-table {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.admin-orders-wrapper .orders-table-header,
.marketplace-dashboard-wrapper .orders-section .orders-table-header:has(.col-order),
.orders-section .orders-table-header:has(.col-order) {
  display: grid !important;
  grid-template-columns: 100px 180px 250px 140px 110px 100px 140px !important;
  gap: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  font-size: 14px;
  color: #495057;
}

.admin-orders-wrapper .orders-table-row,
.marketplace-dashboard-wrapper .orders-section .orders-table-row:has(.col-order),
.orders-section .orders-table-row:has(.col-order) {
  display: grid !important;
  grid-template-columns: 100px 180px 250px 140px 110px 100px 140px !important;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
  transition: background 0.2s;
}

.admin-orders-wrapper .orders-table-row:hover {
  background: #f8f9fa;
}

/* Form Action Buttons */
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 20px 0;
}

.form-actions .btn,
.form-actions .button,
.form-actions input[type="submit"],
.form-actions a.btn {
  padding: 10px 24px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: none !important;
  transition: all 0.3s !important;
  display: inline-block !important;
  line-height: 1.5 !important;
}

.form-actions .btn-primary,
.form-actions .order-submit-btn,
.form-actions input[type="submit"] {
  background: #0073aa !important;
  color: white !important;
}

.form-actions .btn-primary:hover,
.form-actions .order-submit-btn:hover,
.form-actions input[type="submit"]:hover {
  background: #005a87 !important;
  box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3) !important;
}

.form-actions .btn-secondary,
.form-actions .order-cancel-btn {
  background: white !important;
  color: #666 !important;
  border: 2px solid #ddd !important;
}

.form-actions .btn-secondary:hover,
.form-actions .order-cancel-btn:hover {
  background: #f8f9fa !important;
  border-color: #999 !important;
  color: #333 !important;
}

.admin-orders-wrapper .orders-table-row:last-child {
  border-bottom: none;
}

.col-order strong {
  color: #0073aa;
  font-size: 14px;
}

.website-name {
  font-size: 14px;
  color: #333;
}

.col-date {
  font-size: 14px;
  color: #666;
}

.col-date small {
  color: #999;
  font-size: 12px;
}

.col-amount strong {
  font-size: 16px;
  color: #333;
}

.col-url {
  font-size: 13px;
}

.website-link {
  color: #0073aa;
  text-decoration: none;
  word-break: break-all;
  display: block;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.website-link:hover {
  text-decoration: underline;
}

.no-url {
  color: #999;
  font-style: italic;
}

/* Status Badges */
.marketplace-dashboard-wrapper .status-badge,
.publisher-dashboard-wrapper .status-badge,
.admin-orders-wrapper .status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

.marketplace-dashboard-wrapper .status-success,
.publisher-dashboard-wrapper .status-success,
.admin-orders-wrapper .status-success {
  background: #d4edda;
  color: #155724;
}

.marketplace-dashboard-wrapper .status-warning,
.publisher-dashboard-wrapper .status-warning,
.admin-orders-wrapper .status-warning {
  background: #fff3cd;
  color: #856404;
}

.marketplace-dashboard-wrapper .status-danger,
.publisher-dashboard-wrapper .status-danger,
.admin-orders-wrapper .status-danger {
  background: #f8d7da;
  color: #721c24;
}

.marketplace-dashboard-wrapper .status-default,
.publisher-dashboard-wrapper .status-default,
.admin-orders-wrapper .status-default {
  background: #e2e3e5;
  color: #383d41;
}

.marketplace-dashboard-wrapper .status-info,
.publisher-dashboard-wrapper .status-info,
.admin-orders-wrapper .status-info {
  background: #d1ecf1;
  color: #0c5460;
}

/* Action Button Variants */
.btn-view.btn-warning {
  background: #ffc107;
  color: #000;
}

.btn-view.btn-warning:hover {
  background: #e0a800;
}

.btn-view.btn-success {
  background: #28a745;
  color: #fff;
}

.btn-view.btn-success:hover {
  background: #218838;
}

.btn-view.btn-danger {
  background: #dc3545;
  color: #fff;
}

.btn-view.btn-danger:hover {
  background: #c82333;
}

/* Admin websites table with publisher column */
.marketplace-dashboard-wrapper .orders-table-header:has(.col-publisher),
.marketplace-dashboard-wrapper .orders-table-row:has(.col-publisher) {
  grid-template-columns: 200px 1fr 150px 80px 100px 120px !important;
}

.col-publisher {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.col-url {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-all;
}

.col-url .website-link {
  color: #0073aa;
  text-decoration: none;
  font-size: 13px;
}

.col-url .website-link:hover {
  text-decoration: underline;
}

.col-website a {
  color: #333;
  text-decoration: none;
}

.col-website a:hover {
  color: #0073aa;
  text-decoration: underline;
}

/* Action buttons */
.col-actions {
  text-align: right;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.btn-view {
  display: inline-block;
  padding: 8px 16px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
  white-space: nowrap;
  margin: 0 !important;
}

.btn-view:hover {
  background: #005a87;
  color: #fff;
  text-decoration: none;
}

.btn-pay {
  background: var(--pbmit-global-color) !important;
  font-weight: 600;
}

.btn-pay:hover {
  background: #00a30d !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 179, 15, 0.3);
}

/* Payment Section */
.payment-section {
  background: #f8f9fa;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payment-message {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  background: #d4edda;
  border-radius: 6px;
}

.payment-message svg {
  flex-shrink: 0;
}

.payment-message strong {
  font-size: 18px;
  color: #155724;
  display: block;
  margin-bottom: 5px;
}

.payment-message p {
  color: #155724;
  margin: 0;
  line-height: 1.5;
}

.payment-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dee2e6;
}

.amount-label {
  font-size: 16px;
  color: #666;
}

.amount-value {
  font-size: 24px;
  font-weight: 700;
  color: #28a745;
}

.payment-actions {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.btn-payment {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  background: var(--pbmit-global-color);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s;
}

.btn-payment:hover {
  background: #00a30d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 179, 15, 0.3);
  color: #fff;
  text-decoration: none;
}

/* Payment Page */
.payment-page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.payment-header {
  text-align: center;
  margin-bottom: 40px;
}

.payment-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.payment-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.payment-summary {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.payment-summary h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.summary-row.total-row {
  border-bottom: none;
  border-top: 2px solid #333;
  padding-top: 20px;
  margin-top: 10px;
}

.summary-label {
  font-size: 15px;
  color: #666;
  font-weight: 500;
}

.summary-value {
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.summary-value a {
  color: #0073aa;
  text-decoration: none;
  word-break: break-all;
}

.summary-value a:hover {
  text-decoration: underline;
}

.total-amount {
  font-size: 24px;
  color: var(--pbmit-global-color);
}

.payment-methods {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.payment-methods h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-option {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.3s;
}

.payment-option:hover {
  border-color: #0073aa;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.option-header input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.option-header label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  margin: 0;
}

.option-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  padding-left: 32px;
}

.paypal-buttons {
  margin-top: 20px;
}

.btn-paypal-checkout {
  width: 100%;
  padding: 16px 24px;
  background: #0070ba;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
  text-decoration: none;
}

.btn-paypal-checkout:hover {
  background: #005ea6;
  color: #fff;
  text-decoration: none;
}

.btn-paypal-checkout svg {
  fill: #fff;
}

.payment-actions {
  text-align: center;
}

.payment-actions .btn {
  padding: 12px 30px;
  font-size: 16px;
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: #5a6268;
  color: #fff;
  text-decoration: none;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state svg {
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.empty-state .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s;
}

.empty-state .btn:hover {
  background: #005a87;
}

/* Order Detail Page */
.order-breadcrumb {
  margin-bottom: 20px;
}

.order-breadcrumb a {
  color: #0073aa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.order-breadcrumb a:hover {
  text-decoration: underline;
}

.order-detail-page {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.order-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.order-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.order-detail-date {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.order-detail-section {
  margin-bottom: 25px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  background: #f8f9fa;
}

.order-detail-section legend {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 0 10px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-item .detail-label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-item .detail-value {
  font-size: 15px;
  color: #333;
}

.detail-item .detail-value a {
  color: #0073aa;
  text-decoration: none;
}

.detail-item .detail-value a:hover {
  text-decoration: underline;
}

.detail-item .amount {
  font-size: 24px;
  color: #28a745;
}

.backlink-section {
  background: #d4edda;
  border-color: #c3e6cb;
}

.backlink-success {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.backlink-success svg {
  flex-shrink: 0;
}

.backlink-success strong {
  display: block;
  font-size: 16px;
  color: #155724;
  margin-bottom: 5px;
}

.backlink-success p {
  font-size: 14px;
  color: #155724;
  margin: 0 0 10px 0;
}

.backlink-url {
  display: inline-block;
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.backlink-url:hover {
  text-decoration: underline;
}

.order-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.order-detail-actions .btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.order-detail-actions .btn-primary {
  background: #0073aa;
  color: #fff;
}

.order-detail-actions .btn-primary:hover {
  background: #005a87;
}

.order-detail-actions .btn-secondary {
  background: #f0f0f0;
  color: #333;
}

.order-detail-actions .btn-secondary:hover {
  background: #e0e0e0;
}

/* Publisher My Websites Table */
.orders-section .orders-table-header:has(.col-website):not(:has(.col-publisher)) {
  display: grid !important;
  grid-template-columns: 350px 350px 220px 130px 153px 100px 216px !important;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
  font-weight: 600;
  font-size: 13px;
  color: #666;
}

.orders-section .orders-table-row:has(.col-website):not(:has(.col-publisher)) {
  display: grid !important;
  grid-template-columns: 350px 350px 220px 130px 153px 100px 216px !important;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
  transition: background 0.2s;
}

/* Admin Websites Table */
.orders-section .orders-table-header:has(.col-publisher) {
  display: grid !important;
  grid-template-columns: 80px 250px 220px 200px 120px 102px 130px 63px !important;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
  font-weight: 600;
  font-size: 13px;
  color: #666;
}

.orders-section .orders-table-row:has(.col-publisher) {
  display: grid !important;
  grid-template-columns: 80px 250px 220px 200px 103px 100px 130px 100px !important;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
  transition: background 0.2s;
}

/* Ensure URL column doesn't truncate in publisher my websites */
.orders-section .orders-table-row:has(.col-website) .col-url,
.orders-section .orders-table-header:has(.col-website) .col-url {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: break-word !important;
  max-width: none !important;
}

/* Responsive */
@media (max-width: 1200px) {
  .orders-table-header,
  .orders-table-row {
    grid-template-columns: 100px 140px 200px 120px 100px 90px 70px;
    gap: 12px;
    font-size: 13px;
  }
  
  .orders-section .orders-table-header:has(.col-website),
  .orders-section .orders-table-row:has(.col-website) {
    grid-template-columns: 220px 240px 70px 100px 100px 80px;
    gap: 12px;
    font-size: 13px;
  }
  
  .website-link {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .marketplace-dashboard-wrapper {
    margin-top: 60px;
    padding: 0 15px;
  }
  
  .dashboard-title {
    font-size: 24px;
  }
  
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  
  .orders-section {
    padding: 20px;
  }
  
  .orders-table-header {
    display: none;
  }
  
  .orders-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  .orders-table-row:hover {
    background: #fff;
  }
  
  .col-order::before,
  .col-website::before,
  .col-date::before,
  .col-status::before,
  .col-amount::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 4px;
  }
}
