/* .mm-theme-black #wrap, .mm-theme-black #menu{  
background: #212529;
}

.mm-theme-black .content{
    background: #343a40!important;
}

.mm-theme-black .card{
    background: rgb(48, 48, 50);
    color: #fff;
}

.mm-theme-black .mm-menu{
    background: rgb(48, 48, 50);
}

.mm-theme-black #menu .mmenu-user-icon{
    background-color: #ddcfcf85;
}

.mm-theme-black .col-12, .mm-theme-black .text-link-gray{
    
    color: rgb(191, 191, 191);
}

.mm-theme-black .col-12 a{
    color:#fff;
}

.mm-theme-black .list-group-item{
    background:#212529;
    color: transparent;
}

.mm-theme-black .anime-genre a, .mm-theme-black .anime-genre a, .mm-theme-black .anime-year a, .mm-theme-black .list-group-item-action{
    color: rgb(191, 191, 191)
}
.mm-theme-black .h1, .mm-theme-black .h2, .mm-theme-black .h3, .mm-theme-black .h4, .mm-theme-black .h5, .mm-theme-black .h6, .mm-theme-black{
    color: #fff;
}

.mm-theme-black #search-overlay{
    background: rgb(48, 48, 50);
}

.mm-theme-black .search-mobile .form-control, .mm-theme-black .search-mobile .form-control input{
    background: #14121205;
}



.mm-theme-black .text-content::after{
    background-image: linear-gradient(to bottom, rgba(247, 248, 250, 0), #232427);
}

.mm-theme-black .read-more, .mm-theme-black .btn-o-4{
    color: inherit;
}


.mm-theme-black .custom-select, .mm-theme-black .dropdown-menu, .mm-theme-black .selected-categories{
    background-color: rgb(48, 48, 50);;
}

.mm-theme-black .dropdown-item, .mm-theme-black .text-container{
    color: rgb(191, 191, 191);
}

.mm-theme-black .bg-white{
    background: inherit!important;
}

.mm-theme-black .anime-info{
    background: #2b2f337a;
    color: #fff;
}

.mm-theme-black .bb-editor textarea, .mm-theme-black .addcomment input, .mm-theme-black .commentsreplyname input, .mm-theme-black .sec-code {
    background: inherit;
    color: #fff;
}

.mm-theme-black .comment-actions a{
    color: #fff;
}

.mm-theme-black .ui-dialog{
    background: rgb(48, 48, 50);
    color: #fff;
}

.mm-theme-black .form-control {
    background: rgb(48, 48, 50);
    color: #fff;
}

.mm-theme-black .d-sm-flex select{
    background: rgb(48, 48, 50);
    color: #fff;
}

.mm-theme-black .btn-review{
    background:inherit;
    color: #fff;
}


.mm-theme-black .dropdown-item:focus, .mm-theme-black .dropdown-item:hover, .mm-theme-black .btn-review:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgb(24 24 24);
}

.mm-theme-black .pagi-nav a, .mm-theme-black .nav_angle, .mm-theme-black .pagi-nav .navigation span{
    background: rgb(36 36 37);
} */


/* Переменные для темной темы */
:root {
    --accent-color: #ff5c57; /* Акцентный красный */
    --yellow-highlight: #ffd400; /* Желтый акцент */
    --gold-highlight: #e4bb24; /* Золотой акцент */
}

body.mm-theme-black {
    --background-primary: #212529; /* Основной фон */
    --background-secondary: #343a40; /* Вторичный фон (content) */
    --background-tertiary: #303032; /* Третичный фон (карточки, меню) */
    --background-input: #303032; /* Фон для полей ввода */
    --background-overlay: rgba(43, 47, 51, 0.48); /* Полупрозрачный фон */
    --text-primary: #ffffff; /* Основной текст */
    --text-secondary: #bfbfbf; /* Вторичный текст (серый) */
    --text-muted: #8c8c8c; /* Приглушенный текст */
    --border-color: rgba(255, 255, 255, 0.15); /* Границы */
    --shadow-color: rgba(0, 0, 0, 0.3); /* Тени */
    --hover-background: #181818; /* Фон при наведении */

    background-color: var(--background-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Основные элементы */
.mm-theme-black #wrap,
.mm-theme-black #menu,
.mm-theme-black .list-group-item {
    background: var(--background-primary);
}

.mm-theme-black .content {
    background: var(--background-secondary);
}

.mm-theme-black .card,
.mm-theme-black .mm-menu,
.mm-theme-black #search-overlay,
.mm-theme-black .custom-select,
.mm-theme-black .rating-native-select,
.mm-theme-black .dropdown-menu,
.mm-theme-black .selected-categories,
.mm-theme-black .form-control,
.mm-theme-black .d-sm-flex select,
.mm-theme-black .ui-dialog {
    background: var(--background-tertiary);
    color: var(--text-primary);
}

.mm-theme-black .anime-info {
    background: var(--background-overlay);
    color: var(--text-primary);
}

/* Текстовые элементы */
.mm-theme-black .col-12,
.mm-theme-black .text-link-gray,
.mm-theme-black .anime-genre a,
.mm-theme-black .anime-year a,
.mm-theme-black .list-group-item-action,
.mm-theme-black .dropdown-item,
.mm-theme-black .text-container,
.mm-theme-black #search-texts,
.mm-theme-black .text-dark,
.mm-theme-black .text-gray-dark-6,
.mm-theme-black .text-gray-dark-4 {
    color: var(--text-secondary);
}

.mm-theme-black .col-12 a,
.mm-theme-black .h1,
.mm-theme-black .h2,
.mm-theme-black .h3,
.mm-theme-black .h4,
.mm-theme-black .h5,
.mm-theme-black .h6,
.mm-theme-black .comment-actions a,
.mm-theme-black .btn-comment {
    color: var(--text-primary);
}

/* Поля ввода */
.mm-theme-black .bb-editor-search input,
.mm-search-black .commentsreplyname input,
.mm-theme-black .sec-code,
.mm-theme-black .search-mobile .form-control.search input {
    background: var(--background-input);
    color: var(--text-primary);
}

/* Кнопки и интерактивные элементы */
.mm-theme-black .read-more,
.mm-theme-black .btn.o-4,
.mm-theme-black .btn-comment {
    background: transparent;
    color: var(--text-primary);
}

.mm-theme-black .dropdown-item:hover,
.mm-theme-black .dropdown-item:focus,
.mm-theme-black .btn-comment:hover {
    background: var(--hover-background);
    color: var(--text-primary);
}

.mm-theme-black  a.text-dark:focus,
.mm-theme-black  a.text-dark:hover{
    color: var(--text-primary);
}

.mm-theme-black .pagi-nav a,
.mm-theme-black .nav_angle,
.mm-theme-black .pagi-nav .navigation span {
    background: var(--background-tertiary-dark);
    border: 1px solid;
}

/* Специфические элементы */
.mm-theme-black #menu .menu-user-icon {
    background-color: rgba(221, 207, 207, 0.5); /* Полупрозрачный серый */
}

.mm-theme-black .text-content::after {
    background-image: linear-gradient(to bottom, transparent, var(--background-primary));
}

.mm-theme-black .bg-white {
    background: inherit!important;
}
.mm-theme-black .btn-review{
    background: var(--background-tertiary);
    color: var(--text-primary);
}

/* Упрощение для заголовков */
.mm-theme-black [class^='h-'] {
    color: var(--text-primary);
}
.mm-theme-black .search-mobile .form-control,
.mm-theme-black .search-mobile .form-control input,
.mm-theme-black .addcomment input,
.mm-theme-black input,
.mm-theme-black textarea
{
color: var(--text-primary);
background-color: inherit!important;
}


.mm-theme-black .ui-dialog-content{
    border: 0;
}

.mm-theme-black .selected-item{
background-color: var(--hover-background);
}

.mm-theme-black .comment-media-body span{
color: var(--text-secondary);
}

.mm-theme-black .text-dark, .mm-theme-black .text-gray-dark-6, .mm-theme-black .text-gray-dark-4{
    color: inherit!important;
}

.mm-theme-black #searchsuggestions{
    color: var(--text-secondary);
    background: transparent;
}

.mm-theme-black .search-form{
    color: var(--text-secondary);
    background: transparent;
    box-shadow: none;
}

.mm-theme-black #search_container .col-12{
    background: inherit;
}