/* Tüm demolarda ortak: üstteki "bu bir örnektir" şeridi, temel ayarlar, bildirim ve pencere */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.demo-bar {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; gap: 10px; justify-content: space-between;
  height: 44px; padding: 0 14px; background: #0a1f44; color: #fff; font-size: 13px; font-weight: 600;
}
.demo-bar a.back { display: inline-flex; align-items: center; gap: 6px; opacity: .9; white-space: nowrap; }
.demo-bar a.back:hover { opacity: 1; }
.demo-bar .note { opacity: .7; font-weight: 500; text-align: center; flex: 1; }
.demo-bar a.cta {
  background: #1fa855; padding: 7px 12px; border-radius: 999px; white-space: nowrap; font-weight: 700;
}
.demo-bar a.cta:hover { background: #18934a; }
@media (max-width: 640px) {
  .demo-bar .note { display: none; }
  .demo-bar a.cta .long { display: none; }
}

/* Bildirim */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 2000;
  background: #14213d; color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: all .25s ease;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Pencere */
.modal-bg {
  position: fixed; inset: 0; z-index: 1500; background: rgba(10,20,40,.55);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.modal-bg.open { display: flex; }
.modal {
  background: #fff; color: #14213d; border-radius: 18px; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid #eceff4; font-weight: 800; font-size: 17px; }
.modal-close { background: #f1f3f7; border: 0; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; line-height: 1; }
.modal-body { padding: 18px; }

.wa-preview {
  background: #e5ddd5; border-radius: 12px; padding: 14px;
}
.wa-bubble {
  background: #dcf8c6; border-radius: 10px 10px 2px 10px; padding: 10px 12px; font-size: 14px; white-space: pre-wrap;
  margin-left: auto; max-width: 92%; box-shadow: 0 1px 1px rgba(0,0,0,.1);
}
.wa-note { font-size: 12px; color: #5b6478; margin-top: 10px; text-align: center; }
