/* =========================================
   Partner Payouts Page
   ========================================= */

.payouts-page {
  width: 100%;
}


/* =========================================
   Payouts Card
   ========================================= */

.payouts-card {
  width: 100%;

  background: #ffffff;

  border: 1px solid #e1e1dc;
  border-radius: 16px;

  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
}


/* =========================================
   Table Wrapper
   ========================================= */

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


/* =========================================
   Payouts Table
   ========================================= */

.payouts-table {
  width: 100%;

  border-collapse: collapse;

  font-size: 13px;
}

.payouts-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;
}

.payouts-table td {
  padding: 18px 20px;

  border-bottom: 1px solid #eeeeeb;

  color: #555555;

  white-space: nowrap;
}

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

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

.payouts-table td strong {
  color: #252525;

  font-size: 14px;
  font-weight: 600;
}


/* =========================================
   Payout Status
   ========================================= */

.payout-status {
  display: inline-flex;
  align-items: center;

  padding: 5px 10px;

  border-radius: 20px;

  font-size: 11px;
  font-weight: 600;
}

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

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

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


/* =========================================
   Empty State
   ========================================= */

.payouts-empty {
  min-height: 300px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 40px;

  text-align: center;
}

.payouts-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;
}

.payouts-empty strong {
  color: #252525;

  font-size: 14px;
}

.payouts-empty span {
  max-width: 400px;

  color: #858585;

  font-size: 12px;
  line-height: 1.5;
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 768px) {

  .payouts-table {
    min-width: 650px;
  }

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

  .payouts-empty {
    min-height: 260px;

    padding: 30px 20px;
  }
}