.referrals-main {
  padding-bottom: 24px;
}

.referrals-section {
  padding: 12px 0 32px;
}

.referrals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.referrals-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.referrals-back-link {
  padding: 8px 12px;
  border-radius: 8px;
  background: #181818;
  color: #fafafa;
  text-decoration: none;
  font-size: 13px;
}

.referrals-empty {
  padding: 14px;
  border-radius: 10px;
  background: #181818;
  color: #d8d8d8;
}

.referrals-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  background: #181818;
}

.referrals-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.referrals-table th,
.referrals-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #2a2a2a;
  font-size: 14px;
}

.referrals-table th {
  color: #9ec9af;
  font-weight: 600;
  background: #141414;
}

.referrals-table tr:last-child td {
  border-bottom: none;
}

.referrals-telegram-link {
  color: #57b8f7;
  text-decoration: none;
}

.referrals-telegram-link:hover {
  text-decoration: underline;
}

.referrals-muted {
  color: #8e8e8e;
}

.referrals-table-wrap.is-scrollable::after {
  content: "Свайп влево/вправо";
  display: block;
  font-size: 12px;
  color: #8e8e8e;
  padding: 8px 12px;
}

@media (max-width: 480px) {
  .referrals-title {
    font-size: 18px;
  }

  .referrals-back-link {
    font-size: 12px;
    padding: 7px 10px;
  }
}
