/* 1. ГЛОБАЛЬНЫЕ ТЕМНЫЕ ФОНЫ */
body, .body, .container, #content, .item-page, .blog, .category-list, .well, .navigation, aside, .sidebar-nav {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
}

/* 2. ОТСТУПЫ ОТ КРАЕВ (Padding) */
/* Добавляем комфортное пространство для чтения */
.item-page, .category-desc, .content-category, .items-row, .blog-featured {
    padding: 25px !important; /* Отступ внутри основного контента */
    line-height: 1.6; /* Расстояние между строками для удобства чтения */
}

.well {
    padding: 15px !important; /* Отступы внутри блоков сайдбара */
    margin-bottom: 20px;
}

/* Основной контейнер сайта (белая часть в Protostar) */
.body .container {
    background-color: #1e293b !important;
    border: 1px solid #334155;
    padding: 10px 20px !important;
    border-radius: 8px;
}

/* 3. ЯДЕРНАЯ ОЧИСТКА БЕЛЫХ ФОНОВ */
* { background-color: transparent !important; }

/* Возвращаем темный фон только нужным блокам */
body, .body .container, .well, input, select, textarea, .nav-tabs > .active > a {
    background-color: #1e293b !important;
}
body { background-color: #0f172a !important; }

/* 5. ЦВЕТА ТЕКСТА И ССЫЛОК */
h1, h2, h3, .page-header h2, a {
    color: #818cf8 !important;
    text-shadow: none !important;
}
a:hover { color: #93c5fd !important; text-decoration: none; }

.nav-list > li > a, .nav-list .nav-header {
    color: #94a3b8 !important;
    text-shadow: none !important;
}

/* 6. УБИРАЕМ ЛИШНИЕ РАМКИ */
.thumbnail, img.img-polaroid {
    padding: 0 !important;
    border: 1px solid #334155 !important;
    background: none !important;
}

/* 1. ИСПРАВЛЕНИЕ СТРОКИ ПОИСКА */
/* Ограничиваем ширину, чтобы она не вылезала за края */
#search-form, .search-query, .input-append input {
    max-width: 100% !important;
    box-sizing: border-box !important; /* Учитывает отступы внутри ширины */
}

.search .input-append {
    display: flex !important;
    width: 100% !important;
}

/* 2. УМЕНЬШЕНИЕ ЗВЁЗДОЧЕК РЕЙТИНГА */
/* Обычно они используют классы .star-rating или иконки шрифтов */
.star-rating, .rating-star, .extra_vote {
    font-size: 14px !important; /* Уменьшаем размер шрифта иконок */
    line-height: 1 !important;
}

/* Если звёзды — это список иконок */
.star-rating li, .rating-star span {
    width: 16px !important;
    height: 16px !important;
    background-size: contain !important;
}

/* Конкретно для плагинов оценки в Protostar */
.voting-symbol {
    font-size: 16px !important;
    letter-spacing: 2px;
}

/* 3. ДОПОЛНИТЕЛЬНЫЕ ОТСТУПЫ (чтобы текст не лип к краям) */
.item-page {
    padding: 20px !important;
    background-color: #1e293b !important; /* Гарантируем темный фон контента */
    border-radius: 8px;
}

img.cover
{
  width:  100px;
  height: 150px;
  margin: 10px;
}

img.cover2
{
  width:  106px;
  height: 160px;
}

img.cover3
{
  width:  100px;
  height: 150px;
  margin: 0px;
}
