/* static/top_donators.css */

.top-donators-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
  color: #eee;
}

.page-title {
  text-align: center;
  font-size: 1.5em;
  margin: 0.8em 0;
  color: #fff;
}

.top-donators-section {
  background: #2a2a2a;
  border-radius: 5px;
  padding: 1em;
  margin-bottom: 1.5em;
}

.section-divider {
  border: none;
  border-top: 1px solid #666;
  margin: 1.5em 0;
}

.donators-table {
  margin-top: 1em;
}

.donator-row {
  display: flex;
  border-bottom: 1px solid #555;
  padding: 0.5em 0;
  align-items: center;
}

/* For the header row */
.donator-header {
  font-weight: bold;
}

/* 1st, 2nd, 3rd place backgrounds */
.first-place {
  background-color: rgb(231, 208, 77);
}
.second-place {
  background-color: silver;
}
.third-place {
  background-color: #cd7f32; /* typical bronze shade */
}

/* If you want the text color to remain black in these, override here if needed:
.first-place, .second-place, .third-place {
  color: #000;
} */

.donator-col {
  flex: 1;
  padding: 0 0.5em;
  display: flex;
  align-items: center;
}

.rank-col {
  flex: 0 0 40px;
}

.amount-col {
  flex: 0 0 120px;
}

.info-text {
  color: #fff;
  margin: 0.5em 0;
}

/* pfp & crown icons */
.pfp-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.premium-crown {
  width: 18px;
  height: 18px;
  margin-left: 6px;
}

/* Responsive */
@media (max-width: 600px) {
  .donator-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .donator-col {
    padding: 0.2em 0;
  }
  .rank-col,
  .amount-col {
    flex: none;
  }
}
