/* mozgivdengi/video-lessons/components/SiteHeader.vue */

/* Стрелка «назад» в шапке (bold-система): квадратная, рамка 2px, offset-тень,
   без скруглений; на мобильных — компактная и не даёт горизонтального скролла. */
.mvd-back[data-v-f52dac29] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--yellow);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.mvd-back[data-v-f52dac29]:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  background: var(--cyan);
}
.mvd-back[data-v-f52dac29]:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.mvd-back[data-v-f52dac29] { transition: none;
}
.mvd-back[data-v-f52dac29]:hover { transform: none; box-shadow: var(--shadow-sm);
}
}

/* mozgivdengi/video-lessons/components/MarqueeBlock.vue */

.marquee[data-v-96321bff] {
  overflow: hidden;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--yellow);
  color: var(--text);
}
.marquee-track[data-v-96321bff] {
  display: flex;
  width: max-content;
  animation: mvd-marquee-96321bff 28s linear infinite;
}
.marquee-group[data-v-96321bff] {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.marquee-item[data-v-96321bff] {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 16px 0;
  text-transform: uppercase;
}
.marquee-sep[data-v-96321bff] {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.6vw, 30px);
  line-height: 1.2;
  padding: 0 28px;
  color: var(--accent);
}
@keyframes mvd-marquee-96321bff {
from { transform: translateX(0);
}
to { transform: translateX(-50%);
}
}
@media (prefers-reduced-motion: reduce) {
.marquee-track[data-v-96321bff] {
    animation: none;
}
}

/* mozgivdengi/video-lessons/components/FooterSection.vue */

/* Кнопки соцсетей подвала: неактивное состояние при незаполненной переменной процесса */
.mvd-btn.mvd-btn-disabled {
  background: var(--surface);
  color: var(--hint);
  border-color: var(--hint);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.65;
}
.mvd-btn.mvd-btn-disabled:hover {
  transform: none;
  box-shadow: none;
  background: var(--surface);
}

/* mozgivdengi/video-lessons/components/LeadFormModal.vue */

/* Всплытие модальной формы заявки */
.mvd-modal-pop[data-v-2cfdbe13] {
  animation: mvd-pop-in-2cfdbe13 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes mvd-pop-in-2cfdbe13 {
from { opacity: 0; transform: translateY(26px) scale(0.95);
}
to { opacity: 1; transform: none;
}
}
@media (prefers-reduced-motion: reduce) {
.mvd-modal-pop[data-v-2cfdbe13] { animation: none;
}
}

/* mozgivdengi/video-lessons/components/ChatWidget.vue */

/* Панель чата на внутренних страницах (раздел 20 инструкции агента): статичная
   одна строка внизу, полупрозрачная с размытием, не всплывает, не меняет высоту.
   Выезжает снизу за 300 мс только один раз — при появлении после запуска. */
.mvd-chat-host {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60; /* форма (70) > заглушка gate (62) > чат (60) > cookie (50) > CTA (45) */
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.mvd-chat-window {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  width: min(720px, calc(100vw - 24px));
  max-height: min(560px, calc(100dvh - 140px));
  margin-bottom: 8px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-bottom: none;
  box-shadow: var(--shadow);
  animation: mvd-chat-lift 0.25s ease-out;
}
@keyframes mvd-chat-lift {
from { opacity: 0; transform: translateY(16px);
}
to { opacity: 1; transform: translateY(0);
}
}
.mvd-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--line);
  background: var(--dark);
  color: var(--bg);
  padding: 14px 16px;
}
.mvd-chat-head-text { min-width: 0;
}
.mvd-chat-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.mvd-chat-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
  color: var(--bg);
}
.mvd-chat-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  padding: 0;
  border: 2px solid var(--bg);
  background: transparent;
  color: var(--bg);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.mvd-chat-close:hover {
  background: var(--accent);
  color: var(--text);
  border-color: var(--accent);
}
.mvd-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mvd-chat-muted { color: var(--hint);
}
.mvd-chat-error {
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}
.mvd-chat-msg { max-width: 88%; align-self: flex-start;
}
.mvd-chat-msg.is-mine { align-self: flex-end; text-align: right;
}
.mvd-chat-bubble {
  border: 2px solid var(--line);
  background: var(--cyan);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  word-break: break-word;
  white-space: pre-wrap;
}
.mvd-chat-msg.is-mine .mvd-chat-bubble { background: var(--yellow);
}
.mvd-chat-author {
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hint);
}
.mvd-chat-form {
  display: flex;
  gap: 8px;
  border-top: 2px solid var(--line);
  padding: 12px;
}
.mvd-chat-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--line);
  padding: 11px 12px;
  outline: none;
}
.mvd-chat-input:focus { border-color: var(--accent);
}
.mvd-chat-send {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--line);
  background: var(--yellow);
  color: var(--text);
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.mvd-chat-send:hover { background: var(--cyan);
}

/* Одна строка панели: фиксированная высота 68px (desktop) / 60px (mobile),
   полупрозрачная с размытием; новое сообщение заменяет предыдущее. */
.mvd-chat-panel {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(720px, calc(100vw - 24px));
  height: 68px;
  padding: 0 10px 0 18px;
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--line);
  border-bottom: none;
  box-shadow: 0 -4px 24px rgba(10, 10, 10, 0.12);
  cursor: pointer;
  animation: mvd-panel-in 0.3s ease-out;
  box-sizing: border-box;
}
@keyframes mvd-panel-in {
from { transform: translateY(100%);
}
to { transform: translateY(0);
}
}
.mvd-chat-panel-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}
.mvd-chat-panel-author {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.mvd-chat-panel-msg {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mvd-chat-panel-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.mvd-chat-panel-form .mvd-chat-input {
  width: 210px;
}
.mvd-chat-panel-open {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 15px;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--dark);
  color: var(--bg);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.mvd-chat-panel-open:hover { background: var(--cyan); color: var(--text);
}
.mvd-chat-toggle {
  pointer-events: auto;
  white-space: normal;
  max-width: min(280px, calc(100vw - 32px));
}

/* Отступ внизу страницы на высоту панели: подвал и кнопки не под ней. */
body.mvd-chat-panel-active {
  padding-bottom: 84px;
}
@media (max-width: 480px) {
.mvd-chat-window {
    width: min(calc(100vw - 16px), 720px);
    max-height: min(480px, calc(100dvh - 140px));
    margin-bottom: 4px;
}
.mvd-chat-msg { max-width: 92%;
}
.mvd-chat-bubble { font-size: 13px; padding: 9px 12px;
}
.mvd-chat-input { font-size: 16px; padding: 10px 12px;
}
.mvd-chat-panel {
    width: calc(100vw - 16px);
    height: 60px;
    padding: 0 8px 0 14px;
    gap: 8px;
    margin-bottom: env(safe-area-inset-bottom);
}
.mvd-chat-panel-form .mvd-chat-input { width: 128px; padding: 8px 10px;
}
.mvd-chat-panel-open { width: 36px; height: 36px;
}
.mvd-chat-toggle { font-size: 12px; padding: 12px 16px; max-width: calc(100vw - 32px);
}
body.mvd-chat-panel-active {
    padding-bottom: 72px;
}
}
@media (prefers-reduced-motion: reduce) {
.mvd-chat-window,
  .mvd-chat-panel { animation: none;
}
}

/* mozgivdengi/video-lessons/components/CookieConsent.vue */

/* Карточка-баннер внизу по центру (как на главной): рамка 2px + offset-тень.
   Слой z-50: ниже чата (60) и формы (70), выше плавающих элементов (45). */
.mvd-cookie[data-v-512ceb3b] {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: bottom 0.25s ease;
}
.mvd-cookie-inner[data-v-512ceb3b] {
  pointer-events: auto;
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  background: var(--bg);
  border: 2px solid var(--line);
  box-shadow: 8px 8px 0 var(--line);
  transition: padding 0.25s ease, max-width 0.25s ease, border-width 0.25s ease, box-shadow 0.25s ease;
}
.mvd-cookie-text[data-v-512ceb3b] {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  max-width: 760px;
  margin: 0;
}
.mvd-cookie-link[data-v-512ceb3b] {
  color: var(--text);
  background: var(--accent);
  text-decoration: none;
  padding: 0 4px;
  font-weight: 700;
}
.mvd-cookie-link[data-v-512ceb3b]:hover { color: var(--bg); background: var(--text);
}
.mvd-cookie .mvd-btn[data-v-512ceb3b] { flex-shrink: 0;
}

/* Открыт чат — баннер сворачивается в тонкую полоску внизу (не перекрывает окно) */
.mvd-cookie.is-compact[data-v-512ceb3b] { bottom: 6px;
}
.mvd-cookie.is-compact .mvd-cookie-inner[data-v-512ceb3b] {
  flex-direction: row;
  justify-content: center;
  max-width: 460px;
  padding: 8px 12px;
  border-width: 1px;
  box-shadow: none;
}
.mvd-cookie.is-compact .mvd-cookie-text[data-v-512ceb3b] { display: none;
}
.mvd-cookie.is-compact .mvd-btn[data-v-512ceb3b] { font-size: 12px; padding: 8px 14px; white-space: nowrap;
}
@media (max-width: 480px) {
.mvd-cookie-inner[data-v-512ceb3b] { flex-wrap: wrap; gap: 12px; padding: 12px 16px;
}
.mvd-cookie-text[data-v-512ceb3b] { font-size: 13px;
}
.mvd-cookie.is-compact .mvd-cookie-inner[data-v-512ceb3b] { flex-wrap: nowrap; padding: 8px 12px;
}
}

