.revenue-page {
  width: 100%;
}


/* =========================
   SUMMARY
========================= */

.revenue-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.revenue-summary-card {
  padding: 22px 24px;
  background: #ffffff;
  border: 1px solid #e1e1dc;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
}

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

.revenue-summary-card strong {
  display: block;
  margin-bottom: 5px;
  color: #252525;
  font-size: 28px;
  font-weight: 600;
}

.revenue-summary-card small {
  color: #858585;
  font-size: 11px;
}


/* =========================
   REVENUE CARD
========================= */

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

.revenue-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eeeeeb;
}

.revenue-card-header h2 {
  margin: 0 0 5px;
  color: #252525;
  font-size: 17px;
  font-weight: 600;
}

.revenue-card-header p {
  margin: 0;
  color: #858585;
  font-size: 12px;
}


/* =========================
   TABLE
========================= */

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

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

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

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

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

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

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


/* =========================
   EMPTY STATE
========================= */

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

.revenue-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;
  font-weight: 600;
}

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

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


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .revenue-summary-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .revenue-summary-card {
    padding: 20px;
  }

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

  .revenue-table {
    min-width: 800px;
  }

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

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