/* =====================================================================
   Odemeler (payouts.tpl) - 2026-11 "Dark castle" (ee-ui).
   Tasarim: Claude Design tuvali, PubPayouts panolari. Ortak degerler ve
   dugmeler ee-ui.css'te. Degisince pages.php'deki surumu artir.
   ===================================================================== */

body.ee-payouts-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ee-po {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--ee-container);
  margin: 0 auto;
  padding: 40px var(--ee-gutter) 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- Ust bant ---------- */
.ee-po__hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  min-height: 280px;
  padding: 34px 38px;
  border-radius: 28px;
  background: radial-gradient(120% 140% at 85% 15%, #1d3157 0%, #111c33 50%, #0b1222 100%);
  border: 1px solid var(--ee-line-ticker);
}

.ee-po__art {
  position: absolute;
  right: 48px;
  bottom: -18px;
  z-index: -1;
  width: 300px;
  height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.ee-po__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 197, 61, 0.14);
  color: var(--ee-accent);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ee-po__title {
  margin: 0;
  font-family: var(--ee-font-display);
  font-weight: 400;
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.4px;
  color: var(--ee-display);
  text-shadow: var(--ee-text-shadow);
}

.ee-po__lead {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ee-text-soft);
}

/* ---------- Ozet kutulari ---------- */
.ee-po__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ee-po__stat {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--ee-surface);
  border: 1px solid var(--ee-line-card);
}

.ee-po__stat-ico {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ee-po__stat-ico--green { background: rgba(139, 220, 79, 0.14); color: var(--ee-green); }
.ee-po__stat-ico--blue { background: rgba(92, 200, 255, 0.14); color: #5cc8ff; }
.ee-po__stat-ico--orange { background: rgba(255, 160, 80, 0.14); color: #ffb060; }

.ee-po__stat-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ee-po__stat-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ee-text-muted);
}

.ee-po__stat-value {
  font-family: var(--ee-font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0.3px;
  color: var(--ee-heading);
  overflow-wrap: anywhere;
}

.ee-po__stat-note {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ee-text-faint);
}

/* ---------- Son odemeler ---------- */
.ee-po__panel {
  overflow: hidden;
  border-radius: 24px;
  background: var(--ee-surface);
  border: 1px solid var(--ee-line-card);
}

.ee-po__panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 20px 24px 16px;
}

.ee-po__panel-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ee-font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ee-heading);
}

/* Canli nokta: hafif nabiz (hareket azaltma tercihinde durur). */
.ee-po__live {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ee-green);
  box-shadow: 0 0 0 5px rgba(139, 220, 79, 0.18);
  animation: ee-po-live 2s ease-in-out infinite;
}

@keyframes ee-po-live {
  0%, 100% { box-shadow: 0 0 0 4px rgba(139, 220, 79, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(139, 220, 79, 0.06); }
}

.ee-po__privacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ee-text-faint);
}

.ee-po__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ee-po__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-top: 1px solid var(--ee-line-soft);
}

.ee-po__row:hover { background: rgba(160, 185, 235, 0.04); }

.ee-po__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ee-accent);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  color: var(--ee-on-accent);
  font-family: var(--ee-font-display);
  font-size: 20px;
  line-height: 1;
}

.ee-po__who {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ee-po__name {
  font-size: 15.5px;
  font-weight: 900;
  color: var(--ee-heading);
  overflow-wrap: anywhere;
}

.ee-po__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ee-text-faint);
}

.ee-po__method {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ee-raised);
  color: var(--ee-text-nav);
}

.ee-po__amount {
  flex: none;
  font-family: var(--ee-font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.3px;
  color: var(--ee-green);
  font-variant-numeric: tabular-nums;
}

.ee-po__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px 34px;
  border-top: 1px solid var(--ee-line);
  text-align: center;
  font-size: 15px;
  color: var(--ee-text-muted);
}

.ee-po__empty p { margin: 0; }

.ee-po__empty-ico {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ee-surface-inset);
  border: 1px solid var(--ee-line);
  color: var(--ee-text-faint);
}

/* ---------- Kayit cagrisi ---------- */
.ee-po__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 24px;
  background: linear-gradient(100deg, rgba(255, 197, 61, 0.16) 0%, rgba(255, 197, 61, 0.04) 60%), var(--ee-surface);
  border: 1px solid rgba(255, 197, 61, 0.35);
}

.ee-po__cta-ico {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ee-accent);
  color: var(--ee-on-accent);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.22);
}

.ee-po__cta-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
  color: var(--ee-text-soft);
}

.ee-po__cta-title {
  margin: 0;
  font-family: var(--ee-font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ee-heading);
}

.ee-po__cta-actions {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Dar ekran ---------- */
@media (max-width: 991.98px) {
  .ee-po__art { right: 16px; width: 220px; height: 220px; }
  .ee-po__lead { max-width: calc(100% - 220px); }
  .ee-po__stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ee-po__cta { flex-wrap: wrap; }
  .ee-po__cta-actions { flex: 1 1 100%; }
}

@media (max-width: 767.98px) {
  .ee-po { padding: 20px 16px 40px; gap: 16px; }

  .ee-po__hero {
    min-height: 0;
    padding: 22px 20px;
    border-radius: 22px;
  }

  .ee-po__art {
    top: -6px;
    right: -14px;
    bottom: auto;
    width: 140px;
    height: 140px;
  }

  .ee-po__title { font-size: 32px; max-width: calc(100% - 100px); }
  .ee-po__lead { max-width: calc(100% - 110px); font-size: 15.5px; }

  .ee-po__stat { gap: 12px; padding: 14px 16px; border-radius: 20px; }
  .ee-po__stat-ico { width: 44px; height: 44px; border-radius: 14px; }
  .ee-po__stat-value { font-size: 24px; }

  .ee-po__panel { border-radius: 22px; }
  .ee-po__panel-head { padding: 18px 16px 14px; }
  .ee-po__panel-title { font-size: 20px; }
  .ee-po__row { gap: 12px; padding: 14px 16px; }
  .ee-po__amount { font-size: 19px; }

  .ee-po__cta { gap: 14px; padding: 20px; border-radius: 22px; }
  .ee-po__cta-actions .ee-btn { flex: 1 1 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ee-po__live { animation: none; }
}
