/* Оформление плашки и окна демонстрационного режима — того, что создаёт
   demo-shim.js. Файл лежит отдельно от site.css: демонстрация может быть
   свёрстана в собственной палитре и оформление витрины ей не нужно, а плашка
   нужна всегда.

   Цвета и радиусы записаны значениями, а не переменными витрины: файл
   подключают и страницы в чужом оформлении, где этих переменных нет. */

.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2147483000;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  background: #0A0A0A;
  color: #fff;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
}

.demo-bar a { color: #A5B4FC; text-decoration: none; }

.demo-bar a:hover { color: #fff; }

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.5);
  padding: 20px;
}

.demo-modal__box {
  max-width: 430px;
  background: #FFFFFF;
  color: #0A0A0A;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  font-family: 'Geist', system-ui, sans-serif;
  line-height: 1.55;
}

.demo-modal__box h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: normal;
}

.demo-modal__box p { margin: 0; color: #374151; font-size: 14px; }

.demo-modal__box button {
  margin-top: 18px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: #0A0A0A;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  min-height: 0;
  cursor: pointer;
}

.demo-modal__box button:hover { background: #4F46E5; }
