.tips-dashboard {
  min-height: 100vh;
}

.tips-header {
  align-items: center;
}

.tips-content {
  display: grid;
  gap: 22px;
}

.tips-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tips-summary article,
.tips-panel {
  border: 1px solid rgba(215, 154, 59, .22);
  border-radius: 18px;
  background: rgba(22, 16, 13, .92);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.tips-summary article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.tips-summary span {
  color: #bba995;
  font: 700 .78rem/1.3 ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.tips-summary strong {
  color: #f0bb67;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 700;
}

.tips-status {
  margin: 0;
  color: #bba995;
  font: 700 .85rem/1.5 ui-sans-serif, system-ui, sans-serif;
}

.tips-status.is-error {
  color: #ff9e8e;
}

.tips-panel {
  overflow: hidden;
}

.tips-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(215, 154, 59, .18);
}

.tips-panel-heading h2 {
  margin: 0;
  color: #f7ead9;
}

.tips-panel-heading > p {
  max-width: 470px;
  margin: 0;
  color: #bba995;
  font-size: .88rem;
  line-height: 1.55;
}

.tips-table-wrap {
  overflow-x: auto;
}

.tips-table-wrap table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.tips-table-wrap th,
.tips-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(215, 154, 59, .12);
  text-align: left;
  vertical-align: top;
}

.tips-table-wrap th {
  color: #d79a3b;
  background: rgba(11, 8, 7, .52);
  font: 800 .75rem/1.3 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tips-table-wrap td {
  color: #f7ead9;
  font-size: .9rem;
  line-height: 1.45;
}

.tips-amount {
  color: #f0bb67 !important;
  font-weight: 800;
  white-space: nowrap;
}

.tips-email a {
  color: #f0bb67;
  overflow-wrap: anywhere;
}

.tips-message {
  min-width: 260px;
  max-width: 430px;
  color: #d9c7b2 !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tips-state {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(215, 154, 59, .24);
  border-radius: 999px;
  padding: 5px 10px;
  font: 800 .72rem/1 ui-sans-serif, system-ui, sans-serif;
  white-space: nowrap;
}

.tips-state-paid {
  color: #85d6a3;
}

.tips-state-pending {
  color: #f0bb67;
}

.tips-state-failed,
.tips-state-expired {
  color: #ff9e8e;
}

.tips-empty {
  padding: 28px !important;
  color: #bba995 !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .tips-summary {
    grid-template-columns: 1fr;
  }

  .tips-panel-heading {
    display: grid;
    gap: 10px;
  }
}
