/* Основной контейнер модального окна */
.ui-dialog {
    background-color: #121212; /* Темный фон */
    border: 1px solid #333; /* Тонкая граница */
    border-radius: 10px; /* Скругленные углы */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Тень для эффекта всплывающего окна */
    padding: 0; /* Убираем внутренние отступы */
    width: 500px; /* Ширина окна */
    max-width: 500px; /* Максимальная ширина */
    color: #fff; /* Белый текст */
    font-family: 'Inter', sans-serif; /* Шрифт */
    position: fixed; /* Фиксированное положение */
    z-index: 9999; /* Впереди всех элементов */
}

/* Заголовок модального окна */
.ui-dialog-titlebar {
    background-color: #121212; /* Темно-серый фон для заголовка */
    color: #ffffff; /* Белый текст */
    padding: 10px 15px; /* Отступы */
    border-bottom: 1px solid #333; /* Нижняя граница */
    border-top-left-radius: 10px; /* Скругление углов сверху */
    border-top-right-radius: 10px;
    position: relative; /* Для абсолютного позиционирования кнопки "Close" */
}

/* Текст заголовка */
.ui-dialog-title {
    font-size: 16px; /* Размер заголовка */
    font-weight: 600; /* Полужирный текст */
    margin: 0; /* Убираем отступы */
}

/* Кнопка закрытия окна (крестик) */
.ui-dialog-titlebar-close {
    background: transparent; /* Без фона */
    border: none; /* Без границ */
    color: #ff5c5c; /* Красный цвет для иконки крестика */
    position: absolute;
    top: 50%; /* Центрируем по вертикали */
    right: 15px; /* Позиция от правого края */
    transform: translateY(-50%); /* Точное центрирование по вертикали */
    font-size: 0px; /* Размер крестика */
    cursor: pointer;
    transition: color 0.3s;

}

/* Скрываем текст внутри кнопки */
.ui-dialog-titlebar-close .ui-button-text {
    display: none; /* Прячем текст "Close" */
}

/* Используем символ крестика для кнопки закрытия */
.ui-dialog-titlebar-close::before {
    content: "\2715";
    font-size: 18px; 
    color: #f0f0f0; 
}

/* Кнопка закрытия при наведении */
.ui-dialog-titlebar-close:hover::before {
    color: #d3d3d3; 
}

/* Контейнер для текста внутри модального окна */
.dle-confirm {
    padding: 20px; /* Внутренние отступы */
    font-size: 14px; /* Размер текста */
    color: #cccccc; /* Светлый текст */
    line-height: 1.5; /* Межстрочный интервал для удобства чтения */
}

/* Панель кнопок внизу окна */
.ui-dialog-buttonpane {
    background-color: #121212; /* Темный фон для панели кнопок */
    padding: 10px; /* Внутренние отступы */
    border-top: 1px solid #333; /* Верхняя граница */
    border-bottom-left-radius: 10px; /* Скругленные углы снизу */
    border-bottom-right-radius: 10px;
    text-align: right; /* Кнопки выровнены по правому краю */
}

/* Кнопки "Да" и "Нет" */
.ui-dialog-buttonset button {
    background-color: #f0f0f0; /* Светло-серый фон */
    color: #333; /* Темный текст */
    border: none; /* Без границ */
    border-radius: 5px; /* Скругленные углы */
    padding: 8px 20px; /* Внутренние отступы */
    margin-left: 10px; /* Расстояние между кнопками */
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

/* Кнопка при наведении */
.ui-dialog-buttonset button:hover {
    background-color: #e0e0e0; /* Чуть темнее при наведении */
}

/* Основной контейнер для уведомления */
#DLEPush {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 316px;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
}

/* Обертка для одного уведомления */
.DLEPush-notification {
    background-color: #1c1c1e; /* Темный фон */
    color: #fff; /* Белый текст */
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Разделение элементов */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Легкая тень */
    border-left: 5px solid #007bff; /* Синяя полоса для акцента */
    position: relative;
}

/* Ошибочное уведомление */
.push-error {
    border-left-color: #ff5c5c; /* Красная полоса для ошибки */
}

/* Иконка уведомления */
.DLEPush-icon {
    margin-right: 20px; /* Увеличиваем отступ между иконкой и текстом */
    display: flex;
    align-items: center;
}

.DLEPush-icon svg {
    width: 24px;
    height: 24px;
    fill: #007bff; /* Синяя иконка для информации */
}

/* Иконка для ошибки */
.push-error .DLEPush-icon svg {
    fill: #ff5c5c; /* Красная иконка для ошибки */
}

/* Текст сообщения */
.DLEPush-message {
    font-size: 14px;
    line-height: 1.4;
    color: #cccccc;
    flex-grow: 1; /* Текст занимает оставшееся пространство */
    padding-right: 10px; /* Немного отступа перед правой границей */
}

.DLEPush-notification .DLEPush-close {
    position: absolute;
    right: 10px;
    font-weight: 300;
    background: none;
    border: 0;
    font-size: 1.15rem;
    cursor: pointer;
    line-height: 1;
    color: inherit;
    outline: 0;
    opacity: 0.75;
}

/* Скрываем блок DLEPush-notification, если он пустой */
.DLEPush-notification:empty {
    display: none;
}

input[type="text"].comments_author_field {
	width: 100%;
	margin-bottom: 10px;
}
 
/* 
textarea {
    background-color: rgb(18, 18, 18)!important;
    color: rgb(192, 192, 199)!important;
    border: 2px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    width: 0% !important;
    height: 0px !important;
    display: none !important;
}
*/

.tox .tox-edit-area__iframe {
    background-color: #121212 !important;
}


.save-buttons {
   text-align: right !important;
    margin-top: 10px !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

.bbcodes {
    width: auto;
    height: 54px;
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    color: rgb(18, 18, 18);
    cursor: pointer;
    border: none;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: #9ac0ff;
}

.withouttext {
    display: none !important;
}

input#newlogin {
    width: 100%;
    background-color: rgb(18, 18, 18) !important;
    color: #fff !important;
    border: 2px solid rgb(41, 41, 41);
    border-radius: 12px;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    box-sizing: border-box;
    height: 51px;
    padding: 14px 24px 16px 24px;
    -webkit-appearance: none;
    caret-color: #fff;
}

.berrors {
    position: relative;
    display: flex;
    color: #fff;
    margin: 0 0 20px 0;
    padding: 80px 20px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.berrors .s__sub-title{font-size:20px;display:block}
.berrors a{color:#2a2d34;text-decoration:underline}


.tox .tox-tbtn svg {
    fill: #e3e3e3 !important;
}

.tox .tox-tbtn:hover svg {
    fill: #ffffff !important;
}
