.rakeback-container {
  margin-top: 20px;
  padding: 0 10px;
}

.rakeback-card {
  --rakeback-card-bg: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(8, 45, 75, 0.45);
  width: 100%;
  min-width: clamp(280px, 320px, calc(100vw - 20px));
  max-width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: var(--rakeback-card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 18px 28px rgba(3, 18, 32, 0.35);
}

.rakeback-tabs {
  display: flex;
  width: 100%;
  background: transparent;
}

.rakeback-tab {
  flex: 1;
  padding: 12px 0 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  background: rgba(6, 28, 46, 0.75);
  color: var(--tab-accent, rgba(255, 255, 255, 0.4));
  opacity: 0.6;
}

.rakeback-tab:first-child {
  border-top-left-radius: 22px;
}

.rakeback-tab:last-child {
  border-top-right-radius: 22px;
}

.rakeback-tab[data-tab="nlh"] {
  --tab-accent: #33ff7a;
}

.rakeback-tab[data-tab="plo"] {
  --tab-accent: #42f6ff;
}

.rakeback-tab.is-active {
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(8, 45, 75, 0.45);
  color: var(--tab-accent, #ffffff);
  border-bottom: 2px solid var(--tab-accent);
  position: relative;
  z-index: 1;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rakeback-panels {
  padding: 18px 16px 20px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(8, 45, 75, 0.45);
}

.rakeback-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rakeback-content.is-hidden {
  display: none;
}

.rakeback-stat-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rakeback-stat-card {
  border-radius: 18px;
  padding: 14px 16px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.rakeback-stat-card-with-percent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rakeback-stat-left {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rakeback-stat-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rakeback-stat-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-align: left;
}

.rakeback-stat-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  text-align: left;
}

.rakeback-stat-amount {
  font-size: 18px;
  font-weight: 800;
  color: #00DA7C;
  text-align: left;
}

.rakeback-stat-amount-large {
  font-size: 20px;
  color: #00DA7C;
  text-align: left;
}

.rakeback-stat-percent {
  font-size: 32px;
  font-weight: 800;
  color: #33ff7a;
  text-align: center;
}

#rakeback-panel-plo .rakeback-stat-percent {
  color: #42f6ff;
}

.rakeback-circle-card {
  display: flex;
  justify-content: center;
  padding: 8px 0 6px;
}

.rakeback-circle {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #15FFBD 55%, #0F46BE 100%);
}

.rakeback-circle::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(12, 50, 80, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.2);
}

.rakeback-circle-label,
.rakeback-circle-value {
  position: relative;
  z-index: 1;
}

.rakeback-circle-label {
  font-size: 12px;
  color: #BAFFBA;
  margin-bottom: 4px;
}

.rakeback-circle-value {
  font-size: 26px;
  font-weight: 800;
  color: #BAFFBA;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Стили для rakeback таблицы */
/* .rakeback-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  table-layout: fixed;
}

.rakeback-table thead {
  background: rgba(38, 102, 140, 1);
  backdrop-filter: blur(5px);
  color: white;
  position: sticky;
  top: 0;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
} */

/* .rakeback-table th {
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-shadow: none;
} */

/* .rakeback-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  vertical-align: middle;
  color: #ffffff !important;
  text-shadow: none;
  font-weight: 700;
}

.rakeback-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
}

.rakeback-table tbody tr:nth-child(odd) {
  backdrop-filter: blur(3px);
}

.rakeback-table th:nth-child(1),
.rakeback-table td:nth-child(1) {
  width: auto;
  text-align: left;
}

.rakeback-table th:nth-child(2),
.rakeback-table td:nth-child(2) {
  text-align: right;
  padding-right: 12px;
} */
