/* ============================================================
   WEBISYO ALERT  •  v1.0
   Markaya özel, animasyonlu, framework bağımsız alert sistemi
   Sadece bu dosyayı + webisyo-alert.js dosyasını dahil et.
   ============================================================ */

:root {
  --wa-primary: #2563eb;
  --wa-primary-2: #1e9ff2;
  --wa-navy: #0d1b3e;
  --wa-navy-2: #16244f;
  --wa-success: #17a67f;
  --wa-error: #ef4444;
  --wa-warning: #f59e0b;
  --wa-info: #1e9ff2;
  --wa-question: #2563eb;

  --wa-text: #0d1b3e;
  --wa-muted: #64748b;
  --wa-surface: #ffffff;
  --wa-radius: 22px;
  --wa-shadow: 0 30px 70px -20px rgba(13, 27, 62, 0.45), 0 10px 30px -10px rgba(13, 27, 62, 0.25);
  --wa-font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Overlay ---------- */
.wa-overlay {
  position: fixed;
  inset: 0;
  z-index: 120000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.28), rgba(13, 27, 62, 0.72));
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  opacity: 0;
  transition: opacity 0.35s ease;
  font-family: var(--wa-font);
}
.wa-overlay.wa-show { opacity: 1; }
.wa-overlay.wa-hide { opacity: 0; }

/* ---------- Popup ---------- */
.wa-popup {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--wa-surface);
  border-radius: var(--wa-radius);
  box-shadow: var(--wa-shadow);
  padding: 40px 32px 30px;
  text-align: center;
  overflow: hidden;
  transform: translateY(30px) scale(0.85);
  opacity: 0;
}
.wa-overlay.wa-show .wa-popup {
  animation: waPopIn 0.55s cubic-bezier(0.18, 1.25, 0.4, 1) forwards;
}
.wa-overlay.wa-hide .wa-popup {
  animation: waPopOut 0.3s ease forwards;
}
@keyframes waPopIn {
  0%   { transform: translateY(40px) scale(0.8) rotate(-1.5deg); opacity: 0; }
  60%  { transform: translateY(-6px) scale(1.02) rotate(0.4deg); opacity: 1; }
  100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
}
@keyframes waPopOut {
  to { transform: translateY(20px) scale(0.9); opacity: 0; }
}

/* Üst renkli aksan şeridi */
.wa-popup::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--wa-accent, var(--wa-primary)), var(--wa-accent-2, var(--wa-primary-2)));
  background-size: 200% 100%;
  animation: waShimmer 3s linear infinite;
}
@keyframes waShimmer {
  to { background-position: 200% 0; }
}

/* Arka plan halo */
.wa-popup::after {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  width: 260px; height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--wa-accent, var(--wa-primary)) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

/* ---------- Icon ---------- */
.wa-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--wa-accent, var(--wa-primary));
  opacity: 0.25;
  animation: waPulse 1.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.35; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.wa-icon-circle {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wa-accent, var(--wa-primary)) 12%, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-icon svg { width: 52px; height: 52px; overflow: visible; }
.wa-icon svg .wa-stroke {
  fill: none;
  stroke: var(--wa-accent, var(--wa-primary));
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wa-icon svg .wa-fill { fill: var(--wa-accent, var(--wa-primary)); }

/* Icon çizim animasyonları */
.wa-draw {
  stroke-dasharray: var(--len, 100);
  stroke-dashoffset: var(--len, 100);
  animation: waDraw 0.6s 0.25s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.wa-draw.wa-d2 { animation-delay: 0.5s; }
@keyframes waDraw { to { stroke-dashoffset: 0; } }
.wa-pop-el {
  transform: scale(0);
  transform-origin: center;
  animation: waPopEl 0.4s 0.55s cubic-bezier(0.18, 1.4, 0.4, 1) forwards;
}
@keyframes waPopEl { to { transform: scale(1); } }

/* ---------- Text ---------- */
.wa-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--wa-text);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.wa-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--wa-muted);
  margin: 0 0 24px;
}
.wa-text:last-child { margin-bottom: 0; }

/* ---------- Input ---------- */
.wa-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--wa-text);
  margin-bottom: 22px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.wa-input:focus {
  border-color: var(--wa-accent, var(--wa-primary));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa-accent, var(--wa-primary)) 18%, transparent);
}

/* ---------- Buttons ---------- */
.wa-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.wa-btn {
  position: relative;
  flex: 1 1 auto;
  min-width: 120px;
  padding: 13px 22px;
  border: none;
  border-radius: 13px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.wa-btn:active { transform: scale(0.96); }
.wa-btn-confirm {
  color: #fff;
  background: linear-gradient(135deg, var(--wa-accent, var(--wa-primary)), var(--wa-accent-2, var(--wa-primary-2)));
  box-shadow: 0 10px 22px -8px var(--wa-accent, var(--wa-primary));
}
.wa-btn-confirm:hover { filter: brightness(1.06); box-shadow: 0 14px 28px -8px var(--wa-accent, var(--wa-primary)); transform: translateY(-2px); }
.wa-btn-cancel {
  color: var(--wa-navy);
  background: #eef2f7;
}
.wa-btn-cancel:hover { background: #e2e8f0; transform: translateY(-2px); }

/* Ripple */
.wa-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: waRipple 0.6s linear;
  pointer-events: none;
}
@keyframes waRipple { to { transform: scale(4); opacity: 0; } }

/* ---------- Kapat butonu ---------- */
.wa-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--wa-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.wa-close:hover { background: #fee2e2; color: var(--wa-error); transform: rotate(90deg); }

/* ---------- Otomatik kapanma çubuğu ---------- */
.wa-timer {
  position: absolute;
  left: 0; bottom: 0;
  height: 5px;
  width: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--wa-accent, var(--wa-primary)), var(--wa-accent-2, var(--wa-primary-2)));
  animation: waTimer linear forwards;
}
@keyframes waTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- Loading ---------- */
.wa-spinner {
  width: 68px; height: 68px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--wa-primary) 18%, #fff);
  border-top-color: var(--wa-primary);
  border-right-color: var(--wa-primary-2);
  animation: waSpin 0.8s linear infinite;
}
@keyframes waSpin { to { transform: rotate(360deg); } }

/* ============================================================
   TOAST  •  köşe bildirimleri
   ============================================================ */
.wa-toast-wrap {
  position: fixed;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  pointer-events: none;
  font-family: var(--wa-font);
  max-width: 380px;
  width: 100%;
}
.wa-toast-wrap.top-right { top: 0; right: 0; align-items: flex-end; }
.wa-toast-wrap.top-left { top: 0; left: 0; align-items: flex-start; }
.wa-toast-wrap.bottom-right { bottom: 0; right: 0; align-items: flex-end; }
.wa-toast-wrap.bottom-left { bottom: 0; left: 0; align-items: flex-start; }
.wa-toast-wrap.top-center { top: 0; left: 50%; transform: translateX(-50%); align-items: center; }

.wa-toast {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: var(--wa-navy);
  color: #fff;
  border-radius: 16px;
  padding: 15px 18px;
  box-shadow: 0 18px 40px -12px rgba(13, 27, 62, 0.6);
  overflow: hidden;
  border-left: 5px solid var(--wa-accent, var(--wa-primary));
  transform: translateX(120%);
  animation: waToastIn 0.5s cubic-bezier(0.18, 1.2, 0.4, 1) forwards;
}
.wa-toast-wrap.top-left .wa-toast,
.wa-toast-wrap.bottom-left .wa-toast { transform: translateX(-120%); }
.wa-toast-wrap.top-center .wa-toast { transform: translateY(-120%); }
.wa-toast.wa-toast-out { animation: waToastOut 0.4s ease forwards; }

@keyframes waToastIn { to { transform: translateX(0); } }
@keyframes waToastOut {
  to { transform: translateX(120%) scale(0.9); opacity: 0; }
}

.wa-toast-icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--wa-accent, var(--wa-primary)) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-toast-icon svg { width: 22px; height: 22px; overflow: visible; }
.wa-toast-icon svg .wa-stroke {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wa-toast-icon svg .wa-fill { fill: #fff; stroke: none; }
.wa-toast-body { flex: 1 1 auto; min-width: 0; }
.wa-toast-title { font-size: 14.5px; font-weight: 600; margin: 0 0 2px; }
.wa-toast-msg { font-size: 13px; margin: 0; color: rgba(255, 255, 255, 0.75); line-height: 1.4; }
.wa-toast-close {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.wa-toast-close:hover { color: #fff; }
.wa-toast-timer {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  transform-origin: left;
  background: var(--wa-accent, var(--wa-primary));
  animation: waTimer linear forwards;
}

/* ============================================================
   EK BİLEŞENLER (v1.1)
   ============================================================ */

/* ---------- Çoklu form alanları ---------- */
.wa-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-bottom: 22px;
}
.wa-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--wa-navy);
  margin-bottom: 6px;
}
.wa-field .wa-input,
.wa-field .wa-select { margin-bottom: 0; }
.wa-select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--wa-text);
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.wa-select:focus {
  border-color: var(--wa-accent, var(--wa-primary));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa-accent, var(--wa-primary)) 18%, transparent);
}
.wa-field-error {
  border-color: var(--wa-error) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--wa-error) 15%, transparent) !important;
  animation: waShake 0.4s;
}
@keyframes waShake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ---------- İlerleme çubuğu (progress) ---------- */
.wa-progress-wrap {
  margin: 4px 0 22px;
}
.wa-progress-track {
  width: 100%;
  height: 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--wa-accent, var(--wa-primary)) 14%, #eef2f7);
  overflow: hidden;
  position: relative;
}
.wa-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--wa-accent, var(--wa-primary)), var(--wa-accent-2, var(--wa-primary-2)));
  background-size: 200% 100%;
  animation: waProgShimmer 1.5s linear infinite;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
@keyframes waProgShimmer { to { background-position: 200% 0; } }
.wa-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--wa-muted);
  margin-top: 10px;
}
.wa-progress-pct { color: var(--wa-accent, var(--wa-primary)); }

/* ---------- Görsel önizleme ---------- */
.wa-image-box {
  margin: -8px 0 22px;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1b3e;
  box-shadow: inset 0 0 0 1px rgba(13,27,62,0.08);
}
.wa-image-box img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

/* ---------- Oturum geri sayım ---------- */
.wa-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--wa-accent, var(--wa-primary));
}
.wa-count-ring { position: relative; }
.wa-count-ring svg { transform: rotate(-90deg); }
.wa-count-ring .wa-count-track { stroke: color-mix(in srgb, var(--wa-accent, var(--wa-primary)) 18%, #eef2f7); }
.wa-count-ring .wa-count-fill {
  stroke: var(--wa-accent, var(--wa-primary));
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}
.wa-count-ring .wa-count-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--wa-navy);
  font-variant-numeric: tabular-nums;
}

/* ---------- Toast aksiyon butonu ---------- */
.wa-toast-action {
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--wa-accent, var(--wa-primary)) 35%, transparent);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.wa-toast-action:hover { background: var(--wa-accent, var(--wa-primary)); transform: translateY(-1px); }

/* ============================================================
   WEBISYO PROCESS  •  Tam ekran çok adımlı işlem animasyonu
   (PDF üretim akışı: onay -> VPS -> Puppeteer -> S3 -> yanıt)
   ============================================================ */
.wp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: var(--wa-font);
  background: radial-gradient(circle at 50% 40%, rgba(30, 60, 140, 0.55), rgba(6, 13, 33, 0.9));
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.wp-overlay.wp-show { opacity: 1; }
.wp-overlay.wp-hide { opacity: 0; }

/* Hareketli ızgara / parıltı arkaplan */
.wp-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
  animation: wpGrid 20s linear infinite;
}
@keyframes wpGrid { to { background-position: 46px 46px; } }

.wp-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  text-align: center;
  transform: translateY(24px) scale(0.94);
  opacity: 0;
}
.wp-overlay.wp-show .wp-stage { animation: waPopIn 0.6s cubic-bezier(0.18, 1.2, 0.4, 1) forwards; }

/* Merkez sahne: dönen halkalar + uçan belge */
.wp-core {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 34px;
}
.wp-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.wp-ring-1 {
  border-top-color: #38bdf8;
  border-right-color: rgba(56, 189, 248, 0.35);
  animation: wpSpin 2.4s linear infinite;
}
.wp-ring-2 {
  inset: 22px;
  border-bottom-color: #2563eb;
  border-left-color: rgba(37, 99, 235, 0.3);
  animation: wpSpin 3.2s linear infinite reverse;
}
.wp-ring-3 {
  inset: 44px;
  border-top-color: #17a67f;
  border-left-color: rgba(23, 166, 127, 0.3);
  animation: wpSpin 1.8s linear infinite;
}
@keyframes wpSpin { to { transform: rotate(360deg); } }

/* Yörüngedeki parçacıklar */
.wp-orbit {
  position: absolute;
  inset: 0;
  animation: wpSpin 4s linear infinite;
}
.wp-orbit span {
  position: absolute;
  top: -4px; left: 50%;
  width: 9px; height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 14px 2px #38bdf8;
}
.wp-orbit.o2 { animation-duration: 6s; animation-direction: reverse; }
.wp-orbit.o2 span { background: #17a67f; box-shadow: 0 0 14px 2px #17a67f; top: auto; bottom: -4px; }

/* Ortadaki ikon (adıma göre değişir) */
.wp-core-icon {
  position: absolute;
  inset: 58px;
  border-radius: 26px;
  background: linear-gradient(135deg, #12245a, #0a1531);
  box-shadow: 0 14px 40px -8px rgba(56, 189, 248, 0.5), inset 0 0 0 1px rgba(120,170,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-core-icon svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: #cfe3ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wp-core-icon svg.wp-solid path,
.wp-core-icon svg.wp-solid circle { animation: wpIconIn 0.5s ease forwards; }
@keyframes wpIconIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

/* Metinler */
.wp-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.wp-sub {
  font-size: 14.5px;
  color: rgba(207, 227, 255, 0.7);
  margin: 0 0 26px;
  min-height: 20px;
  transition: opacity 0.3s;
}

/* Adım göstergesi */
.wp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
}
.wp-steps::before {
  content: "";
  position: absolute;
  top: 19px; left: 8%; right: 8%;
  height: 3px;
  background: rgba(120, 170, 255, 0.18);
  border-radius: 3px;
}
.wp-steps-fill {
  position: absolute;
  top: 19px; left: 8%;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.wp-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wp-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #0a1531;
  border: 2px solid rgba(120, 170, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(207, 227, 255, 0.5);
  transition: all 0.4s ease;
}
.wp-dot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wp-step-label {
  font-size: 11px;
  color: rgba(207, 227, 255, 0.5);
  font-weight: 500;
  transition: color 0.3s;
  max-width: 76px;
  line-height: 1.3;
}
/* aktif adım */
.wp-step.is-active .wp-dot {
  border-color: #38bdf8;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1e9ff2);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15), 0 8px 20px -6px rgba(56,189,248,0.7);
  animation: wpDotPulse 1.4s ease-in-out infinite;
}
.wp-step.is-active .wp-step-label { color: #fff; }
@keyframes wpDotPulse {
  0%,100% { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15), 0 8px 20px -6px rgba(56,189,248,0.7); }
  50% { box-shadow: 0 0 0 12px rgba(56, 189, 248, 0.05), 0 8px 20px -6px rgba(56,189,248,0.7); }
}
/* tamamlanmış adım */
.wp-step.is-done .wp-dot {
  border-color: #17a67f;
  color: #fff;
  background: #17a67f;
  box-shadow: 0 6px 16px -6px rgba(23, 166, 127, 0.8);
}
.wp-step.is-done .wp-step-label { color: rgba(207, 227, 255, 0.85); }

/* Başarı / hata bitiş durumu */
.wp-core.is-success .wp-core-icon { background: linear-gradient(135deg, #17a67f, #0f7a5e); box-shadow: 0 14px 40px -8px rgba(23,166,127,0.6); }
.wp-core.is-success .wp-ring-1 { border-top-color: #34d399; border-right-color: rgba(52,211,153,0.3); }
.wp-core.is-success .wp-ring-2 { border-bottom-color: #17a67f; }
.wp-core.is-success .wp-ring-3 { border-top-color: #34d399; }
.wp-core.is-error .wp-core-icon { background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 14px 40px -8px rgba(239,68,68,0.6); }
.wp-core.is-error .wp-ring-1 { border-top-color: #f87171; }
.wp-core.is-error .wp-ring-2 { border-bottom-color: #ef4444; }
.wp-core.is-error .wp-ring-3 { border-top-color: #f87171; }
.wp-core.is-done .wp-ring { animation-play-state: paused; }

@media (max-width: 480px) {
  .wp-core { width: 160px; height: 160px; }
  .wp-core-icon { inset: 48px; }
  .wp-step-label { font-size: 10px; }
  .wp-title { font-size: 19px; }
}

/* ---------- Renk temaları (accent) ---------- */
.wa-success  { --wa-accent: var(--wa-success);  --wa-accent-2: #34d399; }
.wa-error    { --wa-accent: var(--wa-error);    --wa-accent-2: #f87171; }
.wa-warning  { --wa-accent: var(--wa-warning);  --wa-accent-2: #fbbf24; }
.wa-info     { --wa-accent: var(--wa-info);     --wa-accent-2: #38bdf8; }
.wa-question { --wa-accent: var(--wa-question);  --wa-accent-2: var(--wa-primary-2); }
.wa-primary  { --wa-accent: var(--wa-primary);   --wa-accent-2: var(--wa-primary-2); }

@media (max-width: 480px) {
  .wa-popup { padding: 34px 22px 24px; }
  .wa-title { font-size: 21px; }
  .wa-actions { flex-direction: column-reverse; }
  .wa-btn { width: 100%; }
}
