/* Win-back kampanya modal + banner */
.awp-wb-modal {
  position: fixed;
  inset: 0;
  z-index: 10000050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.awp-wb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.awp-wb-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  text-align: center;
  animation: awpWbIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes awpWbIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.awp-wb-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.awp-wb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 72px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35);
}

.awp-wb-modal__card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 750;
  color: #111827;
}

.awp-wb-lead {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6b7280;
}

.awp-wb-pct {
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #047857;
}

.awp-wb-label {
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.awp-wb-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  margin-bottom: 10px;
}

.awp-wb-input:focus {
  outline: none;
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.awp-wb-error {
  margin: 0 0 10px;
  font-size: 13px;
  color: #b91c1c;
  text-align: left;
}

.awp-wb-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.awp-wb-btn--primary {
  background: linear-gradient(90deg, #059669, #10b981);
  color: #fff;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
}

.awp-wb-btn--ghost {
  background: transparent;
  color: #6b7280;
  font-weight: 600;
}

.awp-wb-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 10000040;
  max-width: calc(100% - 24px);
}

.awp-wb-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #064e3b, #059669);
  color: #ecfdf5;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(6, 78, 59, 0.35);
  font-size: 13px;
  font-weight: 600;
}

.awp-wb-banner__timer strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.awp-wb-confetti {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10000060;
  overflow: hidden;
}

.awp-wb-confetti span {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  opacity: 0.95;
  animation-name: awpWbFall;
  animation-timing-function: cubic-bezier(0.2, 0.6, 0.3, 1);
  animation-fill-mode: forwards;
}

@keyframes awpWbFall {
  to {
    transform: translateY(110vh) rotate(540deg);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .awp-wb-modal__card {
    padding: 24px 18px 18px;
  }
  .awp-wb-banner__inner {
    border-radius: 14px;
    flex-direction: column;
    gap: 4px;
  }
}

/* Sağ panel — süreli kampanya göstergesi (kademe bloğundan ayrı) */
.awp-wb-panel {
  margin: 10px 0 12px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.08);
}

.awp-wb-panel[hidden] {
  display: none !important;
}

.awp-wb-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.awp-wb-panel__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.awp-wb-panel__titles {
  flex: 1 1 120px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.awp-wb-panel__title {
  font-size: 12px;
  font-weight: 700;
  color: #065f46;
  line-height: 1.25;
}

.awp-wb-panel__sub {
  font-size: 11px;
  color: #047857;
  opacity: 0.9;
}

.awp-wb-panel__timer {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 11px;
  color: #064e3b;
  font-variant-numeric: tabular-nums;
}

.awp-wb-panel__timer-label {
  opacity: 0.75;
  font-weight: 600;
}

.awp-wb-panel__timer strong {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.awp-wb-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(16, 185, 129, 0.35);
}

.awp-wb-panel__savings-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #047857;
}

.awp-wb-panel__savings-value {
  font-size: 14px;
  font-weight: 800;
  color: #065f46;
  font-variant-numeric: tabular-nums;
}
