/* Poppins Font Family */
@font-face {
  font-family: 'Poppins';
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Poppins-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Poppins-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Poppins-Bold.woff2') format('woff2');
}

/* Tajawal Font Family (Arabic) */
@font-face {
  font-family: 'Tajawal';
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Tajawal-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Tajawal';
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Tajawal-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Tajawal';
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Tajawal-Bold.woff2') format('woff2');
}

/* Применяем шрифт Poppins ко всему сайту (БЕЗ !important) */
body {
  font-family: 'Poppins', sans-serif;
}

/* Жирные ники пользователей */
.name a, .user-name, .username, a.h6, .feeds-item .name a, .js_user-popover a {
  font-weight: 600;
}

/* Placeholder в обычных полях ввода */
textarea::placeholder, input::placeholder {
  color: #999;
  opacity: 1;
}

/* Стили для Quill редактора (поле создания поста) */
.ql-editor {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #333;
  min-height: 32px;
}

/* Placeholder для Quill редактора */
.ql-editor.ql-blank::before {
  color: #999;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  content: attr(data-placeholder);
}

/* Arabic text */
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: 'Tajawal', sans-serif;
}
/* ============================================
   ЖИРНЫЕ НИКИ ПОЛЬЗОВАТЕЛЕЙ
   ============================================ */
.post-author,
.post-meta .name,
.user-box .name,
.user-card-info a.name,
.profile-name-wrapper a,
.chat-user-card .name,
.comment-author,
.publisher-mention-item__name,
.mention-item-label,
.about-list li,
.feeling-item .data,
.album-title,
.movie-title,
.product-meta .title,
.blog-content h3,
.forum-thread .name,
.conversation-body .name {
  font-weight: 600 !important;
}

/* ============================================
   СТИЛИ ДЛЯ QUILL РЕДАКТОРА
   ============================================ */
/* Базовые стили для редактора */
.quill-editor {
  min-height: 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  outline: none;
}

/* Placeholder для пустого редактора */
.quill-editor:empty::before {
  content: attr(data-placeholder);
  color: #999;
  font-style: normal;
  font-family: 'Poppins', sans-serif;
  pointer-events: none;
}

/* Стили для цветных постов */
.publisher-message.colored .quill-editor {
  text-align: center;
  font-size: 25px;
  line-height: 30px;
  font-weight: 600;
  color: #fff;
}

/* Ночной режим */
body.night-mode .quill-editor {
  color: #fff;
}

body.night-mode .quill-editor:empty::before {
  color: #c0c0c0;
}
