/* ТехКарта — кабинет: плашки внизу экрана: cookie, нулевой баланс (раздел 15). Порядок файлов — см. base.css. */

/* ============================================================ 15. Плашки внизу экрана */
/* Плашка нулевого остатка уходит в этапе 2 (её роль заберёт блок аккаунта в
   меню); пока — светлая, без своего зума. */
.zero-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-8);
  box-shadow: var(--shadow-dialog);
  font: var(--t-small);
}

.zero-bar__text {
  margin: 0;
}

.zero-bar__hint {
  color: var(--text-2);
}

.zero-bar__form {
  margin: 0;
}

.zero-bar__more {
  font-weight: 600;
}

.zero-bar__close {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-8);
  color: var(--text-2);
  font: 400 24px/1 var(--font-sans);
}

.zero-bar__close:hover {
  background: var(--surface-2);
  color: var(--ink);
}

/* Уведомление о cookie — небольшой блок в углу, не над кнопками действий */
.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 12px 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-8);
  box-shadow: var(--shadow-dialog);
  font: var(--t-small);
  color: var(--text-2);
}

.cookie p {
  margin: 0;
}

/* Кнопки старых партиалов (cookie, плашка нуля) — та же основная кнопка */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-8);
  border: 1px solid transparent;
  cursor: pointer;
  font: 600 16px/22px var(--font-sans);
  color: var(--on-primary);
  background: var(--primary);
  white-space: nowrap;
}

.btn:hover {
  color: var(--on-primary);
  background: var(--primary-hover);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 20px;
}
