/* =========================================================
   PRIVBIN — Bootstrap 5 compatible CSS (точная копия PrivateBin)
   Только структурный CSS, без хардкодных цветов.
   Bootstrap 5.3+ сам управляет dark/light через data-bs-theme.
   ========================================================= */

/* ---- Шрифт — Bootstrap 5 system font stack ---- */
html, body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    "Noto Sans", "Liberation Sans", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* ---- Скрываем старые блоки старого дизайна ---- */
.content-block,
.navbar-custom,
.header,
.header-mob,
.content-footer,
#nfoot { display: none !important; }

/* ---- Flex layout (footer sticky bottom) ---- */
html { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }

/* ---- Textarea — точно как PrivateBin common.css ---- */
#note.form-control,
textarea.form-control.textarea {
  height: 70dvh;
  resize: vertical;
  font-family: monospace;
  font-size: 1rem;
}

@media ((max-width: 450px) and (max-height: 950px)) {
  #note.form-control,
  textarea.form-control.textarea {
    height: 55dvh;
  }
}

/* ---- Nav tabs ---- */
#pvb-editorTabs { margin-bottom: 0 !important; }
#pvb-editorTabs .nav-item.ms-auto { display: flex; align-items: center; }

/* ---- Result wrap ---- */
.pvb-result-wrap { display: none; }
.pvb-result { display: none; }

/* ---- Прогресс-бар анимация ---- */
@keyframes progress {
  0%   { width: 0%;   margin-left: 0;   }
  50%  { width: 60%;  margin-left: 20%; }
  100% { width: 0%;   margin-left: 100%;}
}

/* ---- Dropdown файлов ---- */
#pvb-attach .dropdown-menu { min-width: 20rem; }
