/* Demo arayüzü — sadece DEMO=true kurulumda sayfalara eklenir (src/demo/index.js) */

/* "Müşteriye şu SMS giderdi" bildirimleri */
.demo-sms-yigin {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(380px, calc(100vw - 24px)); z-index: 10000;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.demo-sms {
  pointer-events: auto;
  background: rgba(17, 24, 39, 0.96); color: #f8fafc;
  border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  animation: demo-gir 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes demo-gir { from { transform: translateY(-14px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .demo-sms { animation: none; } }
.demo-sms-ust { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #94a3b8; }
.demo-sms-ust button {
  background: none; border: 0; color: #94a3b8; font-size: 20px; line-height: 1;
  width: 32px; height: 32px; margin: -8px -8px -8px 0; cursor: pointer;
}
.demo-sms-baslik { font-weight: 700; margin: 2px 0; }
.demo-sms-metin { color: #e2e8f0; overflow-wrap: anywhere; }
.demo-sms-kod {
  margin-top: 10px; width: 100%; min-height: 40px; border: 0; border-radius: 10px;
  background: #2563eb; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}

/* Randevu formunun altındaki not ve sayfa altı */
.demo-not { font-size: 13px; color: #6b7280; text-align: center; margin: 12px 0 0; }
.demo-alt { text-align: center; font-size: 13px; color: #6b7280; padding: 8px 16px 28px; }
.demo-alt a { color: #2563eb; font-weight: 600; text-decoration: none; }

/* Onay ekranından usta paneline geçiş */
.demo-panel-btn {
  display: block; margin: 16px 0 12px; padding: 14px 16px; border-radius: 12px;
  background: #111827; color: #fff; text-align: center; text-decoration: none;
  font-weight: 700; font-size: 15px;
}
.demo-panel-btn:hover { background: #1f2937; }

/* Panelde, randevu sayfasından gelinen yeni randevu */
.demo-vurgu {
  outline: 3px solid #2563eb; outline-offset: -3px;
  animation: demo-nabiz 1.2s ease-in-out 3;
}
@keyframes demo-nabiz { 50% { box-shadow: inset 0 0 0 999px rgba(37, 99, 235, 0.22); } }
@media (prefers-reduced-motion: reduce) { .demo-vurgu { animation: none; } }

/* Sayfa ve panelin üstündeki şerit */
.demo-serit {
  background: #111827; color: #f8fafc; text-align: center;
  font: 12.5px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; padding: 6px 12px;
}
.demo-serit a { color: #d4b483; text-decoration: none; font-weight: 600; }

/* Panel girişindeki açıklama */
.demo-giris-not {
  font-size: 13px; color: #1e3a8a; background: #eff6ff; border-radius: 10px;
  padding: 10px 12px; margin: 0 0 12px; text-align: left;
}
@media (max-width: 600px) { .demo-serit-ek { display: none; } } /* telefonda tek satır kalsın */
