.commissions-page {
  width: 100%;
}

.commission-summary-card {
  width: 100%;
  margin-bottom: 20px;
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #e1e1dc;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
}

.commission-summary-card span {
  display: block;
  margin-bottom: 6px;
  color: #737373;
  font-size: 13px;
  font-weight: 500;
}

.commission-summary-card strong {
  color: #252525;
  font-size: 28px;
  font-weight: 600;
}

.commissions-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e1e1dc;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
}

.commissions-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.commissions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.commissions-table th {
  padding: 16px 20px;
  background: #faf7f8;
  border-bottom: 1px solid #e8e2e4;
  color: #737373;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.commissions-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eeeeeb;
  color: #555555;
  white-space: nowrap;
}

.commissions-table tbody tr:last-child td {
  border-bottom: 0;
}

.commissions-table tbody tr:hover {
  background: #fdfafb;
}

.commissions-table td strong {
  color: #252525;
  font-size: 13px;
  font-weight: 600;
}

.subscriber-email {
  display: block;
  margin-top: 4px;
  color: #858585;
  font-size: 11px;
}

.commission-status,
.payout-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.commission-status.earned {
  background: #ecfdf3;
  color: #166534;
}

.commission-status.clawed_back {
  background: #fff1f2;
  color: #b42318;
}

.payout-status.unpaid {
  background: #fff7ed;
  color: #9a3412;
}

.payout-status.processing {
  background: #fff7ed;
  color: #9a3412;
}

.payout-status.paid {
  background: #ecfdf3;
  color: #166534;
}

.payout-status.failed {
  background: #fff1f2;
  color: #b42318;
}

.commissions-empty {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  text-align: center;
}

.commissions-empty-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #f9eef2;
  color: #a96d7e;
  font-size: 20px;
}

.commissions-empty strong {
  color: #252525;
  font-size: 14px;
}

.commissions-empty span {
  max-width: 400px;
  color: #858585;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .commission-summary-card {
    padding: 20px;
  }

  .commission-summary-card strong {
    font-size: 24px;
  }

  .commissions-table {
    min-width: 950px;
  }

  .commissions-table th,
  .commissions-table td {
    padding: 14px 16px;
  }

  .commissions-empty {
    min-height: 260px;
    padding: 30px 20px;
  }
}