body {
  min-height: 100vh;

  background:
    linear-gradient(
      90deg,
      #232323 0%,
      #262a28 40%,
      #242f29 60%,
      #232323 100%
    );

  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;

  background-attachment: fixed; /* идеально для параллакса */
}

.header {
    padding: 50px 0;
    text-align: center;
    background: #333;
}

.title {
    font-size: 2.5em;
}

.parallax {
    padding: 100px 0;
    background-attachment: fixed;
    background-size: cover;
}

.card {
    background-color: #444;
    border: none;
    margin-bottom: 30px;
}

.card-title {
    color: #f0f0f0;
}

.card-text {
    color: #d0d0d0;
}


.card-text-body {
color: #d0d0d0;
background: #333;

}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

/* Контент растягивается, футер уходит вниз */
.page-wrap {
  flex: 1 0 auto;
}

/* =========================
   FOOTER (GLASS)
   ========================= */

.footer-glass {
  flex-shrink: 0;

  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 14px 0;
}

.footer-glass p {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.navbar-glass {
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.navbar-glass .navbar-brand {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(40, 167, 69, 0.95);
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.15);
}

.nav-modern .nav-link {
  color: rgba(255, 255, 255, 0.78) !important;
  border-radius: 999px;
  padding: 8px 12px;
  margin: 2px 4px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-modern .nav-link:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-modern .nav-pill {
  background: rgba(40, 167, 69, 0.14);
  border: 1px solid rgba(40, 167, 69, 0.22);
  color: rgba(255, 255, 255, 0.92) !important;
}

.nav-modern .nav-pill:hover {
  background: rgba(40, 167, 69, 0.18);
  border-color: rgba(40, 167, 69, 0.32);
}

.nav-modern .nav-danger {
  color: rgba(255, 255, 255, 0.82) !important;
}

.nav-modern .nav-danger:hover {
  background: rgba(220, 53, 69, 0.14);
  border: 1px solid rgba(220, 53, 69, 0.22);
}

/* =========================
   DROPDOWN (GLASS)
   ========================= */

.dropdown-glass {
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  overflow: hidden;
}

.dropdown-glass .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
}

.dropdown-glass .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.98);
}

.dropdown-glass .dropdown-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* =========================
   SEARCH (NAV)
   ========================= */

.nav-search {
  margin-left: 10px;
}

.search-wrap {
  display: flex;
  gap: 10px;
  align-items: center;

  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
}

.search-input {
  background: transparent !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  width: 240px;
  padding-left: 10px;
  padding-right: 10px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-input:focus {
  box-shadow: none !important;
  outline: none !important;
}

.search-btn {
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(40, 167, 69, 0.22);
  background: rgba(40, 167, 69, 0.14);
  color: rgba(255, 255, 255, 0.92);
}

.search-btn:hover {
  background: rgba(40, 167, 69, 0.18);
  border-color: rgba(40, 167, 69, 0.32);
}

/* make search fit on mobile */
@media (max-width: 991px) {
  .search-input { width: 100%; }
  .search-wrap { width: 100%; }
  .nav-search { margin: 10px 0 0; }
}




:root {
  --animate-duration: 800ms;
  --animate-delay: 0.2s;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.pagination li {
    margin: 0 5px;
}
.pagination li a {
    color: #fff;
    background-color: #6c757d;
    border: 1px solid #6c757d;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    display: block;
}
.pagination li a:hover {
    background-color: #5a6268;
}
.pagination li.active a {
    font-weight: bold;
    background-color: #495057;
    border-color: #495057;
}
.pagination li.disabled a {
    color: #6c757d;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.bg-dark-custom {
    background-color: #343a40 !important;
}

.custom-btn {
    background-color: #343a40;
    color: #f8f9fa;
    border-color: #343a40;
}

.form-control {
    background-color: #555 !important;;
    color: #fff;
    border: none;
    will-change: transform;

}

.form-control:focus {
    background-color: #555 !important;
    color: #fff;
    border: none;
    outline: none; /* Убирает стандартное выделение */
}


.carousel-item .col-4 {
    padding: 0 5px;
}

.carousel-inner {
    padding: 10px 0;
}

.carousel-item {
    transition: transform 0.5s ease-in-out;
}

.formatted-text {
    white-space: pre-wrap; /* Сохраняет пробелы и переносы строк */
    word-wrap: break-word; /* Предотвращает выход текста за пределы контейнера */
}

.formatted-text pre {
    white-space: pre; /* Сохраняет форматирование в тегах <pre> */
    overflow-x: auto; /* Добавляет горизонтальную прокрутку для длинного содержимого */
}


pre[class*="language-"] code[class*="language-"],
pre[class*="language-"],
code[class*="language-"] {
    text-shadow: none !important; /* Убираем тень текста */
}

/* =========================================================
   LINK WRAPPER
   ========================================================= */

.note-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   BASE CARD
   ========================================================= */

.note-card {
  position: relative;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;

  /* glass background */
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

/* =========================================================
   HOVER (COMMON)
   ========================================================= */

.note-card-link:hover .note-card {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   MEDIA (PREVIEW)
   ========================================================= */

.note-card__media {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
}

.note-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 260ms ease;
}

.note-card-link:hover .note-card__media img {
  transform: scale(1.06);
}

/* empty preview */
.note-card__media--empty {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
}

.note-card__placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
}

/* =========================================================
   BODY
   ========================================================= */

.note-card__body {
  padding: 16px 16px 14px;
  display: grid;
  gap: 10px;
}

/* title */
.note-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.98);
}

/* description */
.note-card__desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   META
   ========================================================= */

.note-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

/* chip */
.note-card__chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid currentColor;
  opacity: 0.85;
}

/* arrow */
.note-card__arrow {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  transform: translateX(0);
  transition: transform 180ms ease, color 220ms ease;
}

.note-card-link:hover .note-card__arrow {
  transform: translateX(3px);
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   PRIMARY (GREEN)
   ========================================================= */

.note-card--primary {
  border-color: rgba(40, 167, 69, 0.35);
}

.note-card--primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  pointer-events: none;

  background: radial-gradient(
    800px circle at 20% 10%,
    rgba(40, 167, 69, 0.18),
    transparent 55%
  );
}

.note-card-link:hover .note-card--primary {
  border-color: rgba(40, 167, 69, 0.55);
}

/* =========================================================
   PUBLIC (YELLOW)
   ========================================================= */

.note-card--public {
  border-color: rgba(255, 193, 7, 0.40);
}

.note-card--public::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  pointer-events: none;

  background: radial-gradient(
    800px circle at 20% 10%,
    rgba(255, 193, 7, 0.22),
    transparent 55%
  );
}

.note-card-link:hover .note-card--public {
  border-color: rgba(255, 193, 7, 0.60);
}

/* =========================================================
   COMPACT (RIGHT COLUMN)
   ========================================================= */

.note-card--compact .note-card__body {
  padding: 14px 14px 12px;
  gap: 8px;
}

.note-card__media--compact {
  height: 160px;
}


/* =========================
   PAGINATION (GLASS)
   ========================= */

.pagination-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 10px;
}

.pagination-modern {
  gap: 8px;
  padding: 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* base button */
.pagination-modern .page-link {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  min-width: 40px;
  text-align: center;

  background: transparent;
  color: rgba(255, 255, 255, 0.78);

  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

/* hover */
.pagination-modern .page-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

/* active page (зелёный, как primary) */
.pagination-modern .page-item.active .page-link {
  background: rgba(40, 167, 69, 0.18);
  border: 1px solid rgba(40, 167, 69, 0.26);
  color: rgba(255, 255, 255, 0.95);
}

/* disabled */
.pagination-modern .page-item.disabled .page-link,
.pagination-modern .page-item.disabled span.page-link {
  opacity: 0.35;
  pointer-events: none;
}

/* ellipsis */
.pagination-modern .page-ellipsis {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

/* remove default bootstrap shadows/focus */
.pagination-modern .page-link:focus {
  box-shadow: none;
  outline: none;
}

/* make prev/next look a bit more "buttony" */
.pagination-modern .page-item:first-child .page-link,
.pagination-modern .page-item:last-child .page-link {
  padding: 8px 14px;
}

/* =========================
   POST DETAIL PAGE
   ========================= */

.post-page {
  padding-top: 14px;
  padding-bottom: 18px;
}

.post-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0; /* можно даже 0 */
}

.post-date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.post-topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* action buttons (glass pills) */
.action-btn {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);

  border-radius: 999px;
  padding: 8px 12px;
  line-height: 1;

  transition: transform 160ms ease, background 180ms ease, border-color 180ms ease;
}

.action-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
}

.action-btn--neutral { }
.action-btn--good {
  border-color: rgba(40, 167, 69, 0.22);
  background: rgba(40, 167, 69, 0.10);
}
.action-btn--good:hover {
  border-color: rgba(40, 167, 69, 0.32);
  background: rgba(40, 167, 69, 0.14);
}
.action-btn--danger {
  border-color: rgba(220, 53, 69, 0.22);
  background: rgba(220, 53, 69, 0.10);
}
.action-btn--danger:hover {
  border-color: rgba(220, 53, 69, 0.32);
  background: rgba(220, 53, 69, 0.14);
}

/* tiny toast */
.mini-toast {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;

  background: rgba(40, 167, 69, 0.14);
  border: 1px solid rgba(40, 167, 69, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

/* hero */
.post-hero {
  margin-top: 14px;
  margin-bottom: 10px;
}

.post-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
}

/* media frame */
.post-media {
  margin-top: 10px;

  border-radius: 18px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.post-media .carousel-inner {
  background: transparent;
}

.post-thumb {
  width: 100%;
  max-width: 640px;
  height: 180px;
  object-fit: cover;

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
  .post-thumb { height: 200px; }
}

/* video */
.video-frame {
  width: 100%;
  max-width: 860px;
  padding: 10px;
}

.video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.35);
}

/* post body */
.post-body {
  margin-top: 14px;
}

.post-content {
  padding: 16px 16px 18px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

/* if your post.body contains <pre> or code blocks */
.post-content pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 12px;
}

/* chips */
.post-meta {
  margin-top: 14px;
}

.chips,
.file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip,
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.78);

  transition: background 180ms ease, transform 160ms ease, border-color 180ms ease, color 180ms ease;
}

.chip:hover,
.file-chip:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

/* files чуть с зелёным акцентом */
.file-chip {
  border-color: rgba(40, 167, 69, 0.18);
  background: rgba(40, 167, 69, 0.08);
}
.file-chip:hover {
  border-color: rgba(40, 167, 69, 0.28);
  background: rgba(40, 167, 69, 0.12);
}

/* carousel arrows a bit softer on dark */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35));
}

/* =========================
   AUTH (LOGIN) PAGE
   ========================= */

.auth-card {
  padding: 18px 18px 16px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.auth-head {
  margin-bottom: 14px;
}

.auth-title {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
}

.auth-subtitle {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.95rem;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-field {}

/* inputs */
.auth-input {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.92) !important;

  border-radius: 14px !important;
  padding: 10px 12px !important;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.auth-input:focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: rgba(40, 167, 69, 0.35) !important;
}

/* actions */
.auth-actions {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.auth-btn {
  border-radius: 999px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.88) !important;

  transition: transform 160ms ease, background 180ms ease, border-color 180ms ease;
}

.auth-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* primary */
.auth-btn--primary {
  border-color: rgba(40, 167, 69, 0.26) !important;
  background: rgba(40, 167, 69, 0.14) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.auth-btn--primary:hover {
  border-color: rgba(40, 167, 69, 0.36) !important;
  background: rgba(40, 167, 69, 0.18) !important;
}

/* ghost secondary */
.auth-btn--ghost {
  background: transparent !important;
}

/* alert */
.auth-alert {
  padding: 12px 14px;
  border-radius: 16px;

  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.18);
  color: rgba(255, 255, 255, 0.86);
}
.editor-page {
  padding-top: 14px;
  padding-bottom: 18px;
}

.editor-head {
  margin-top: 10px;
  margin-bottom: 12px;
}

.editor-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
}

.editor-subtitle {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.95rem;
}

.editor-alerts {
  margin-bottom: 10px;
  display: grid;
  gap: 10px;
}

/* card */
.editor-card {
  padding: 18px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.editor-label {
  display: inline-block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* inputs */
.editor-input {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.92) !important;

  border-radius: 14px !important;
  padding: 10px 12px !important;
}

.editor-input:focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: rgba(40, 167, 69, 0.35) !important;
}

.editor-input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* textarea */
.editor-textarea {
  min-height: 360px;
  resize: vertical;

  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.92) !important;

  border-radius: 16px !important;
  padding: 12px !important;
}

.editor-textarea:focus {
  box-shadow: none !important;
  outline: none !important;
  border-color: rgba(40, 167, 69, 0.35) !important;
}

/* toolbar */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.85rem;

  padding: 10px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.tool-btn {
  border-radius: 999px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1;
  transition: transform 160ms ease, background 180ms ease, border-color 180ms ease;
  font-size: 0.85rem;
}

.tool-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
}

.tool-sep {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
}

/* upload notifications */
.upload-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.upload-note--ok {
  background: rgba(40, 167, 69, 0.12);
  border-color: rgba(40, 167, 69, 0.18);
  color: rgba(255, 255, 255, 0.90);
}

.upload-note--info {
  background: rgba(13, 110, 253, 0.12);
  border-color: rgba(13, 110, 253, 0.18);
  color: rgba(255, 255, 255, 0.90);
}

.editor-input.form-select {
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

/* Выпадающие option */
.editor-input.form-select option {
  background-color: #1e1e1e;   /* тёмный фон */
  color: #ffffff;             /* белый текст */
}

/* Safari / Firefox fix */
.editor-input.form-select:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.fs-wrap:fullscreen {
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-wrap:fullscreen img {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* Safari (старые версии) */
.fs-wrap:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-wrap:-webkit-full-screen img {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}
  