/* PromoHUB Frontend CSS */
.ph-popup-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 52px; height: 52px; background: #6c5ce7; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; cursor: pointer; box-shadow: 0 4px 20px rgba(108,92,231,.4);
  transition: transform .2s; user-select: none;
}
.ph-popup-fab:hover { transform: scale(1.08); }
.ph-popup-badge {
  position: absolute; top: -4px; right: -4px;
  background: #ff7675; color: #fff; border-radius: 50%;
  width: 18px; height: 18px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.ph-popup-container {
  position: fixed; bottom: 90px; right: 24px; z-index: 9998;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.ph-popup-card {
  background: #fff; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15); width: 300px;
  opacity: 0; transform: translateX(20px); transition: all .35s ease;
  border-left: 4px solid #6c5ce7;
}
.ph-popup-card.ph-pop-show { opacity: 1; transform: translateX(0); }
.ph-popup-card.ph-popup-expiry { border-left-color: #fdcb6e; }
.ph-popup-card.ph-popup-gift   { border-left-color: #00b894; }
.ph-pop-header { display: flex; align-items: flex-start; gap: 10px; }
.ph-pop-icon { font-size: 22px; flex-shrink: 0; }
.ph-pop-titles { flex: 1; }
.ph-pop-title { font-weight: 700; font-size: 13px; }
.ph-pop-body  { font-size: 12px; color: #636e72; margin-top: 2px; }
.ph-pop-close {
  background: none; border: none; cursor: pointer; color: #b2bec3;
  font-size: 14px; padding: 0; flex-shrink: 0;
}
.ph-pop-close:hover { color: #636e72; }
.ph-pop-progress {
  background: #f0f0f0; border-radius: 20px; height: 4px; margin-top: 6px; overflow: hidden;
}
.ph-pop-bar { height: 100%; background: #fdcb6e; border-radius: 20px; }
.ph-pop-days { font-size: 10px; color: #e17055; margin-top: 2px; font-weight: 600; }
.ph-pop-code {
  margin-top: 8px; background: #f8f9fa; border: 1.5px dashed #dfe6e9;
  border-radius: 7px; padding: 6px 10px; font-family: monospace; font-size: 13px;
  font-weight: 700; letter-spacing: 1px; text-align: center; cursor: pointer;
  color: #6c5ce7; transition: background .2s;
}
.ph-pop-code:hover { background: #f0edff; }

/* ── Müşteri Paneli (WC Account Tab) ── */
.promohub-balance-widget {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: #fff; padding: 14px 20px; border-radius: 10px;
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
  font-size: 15px;
}
.ph-icon { font-size: 22px; }
