.quotes-blok {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0; 
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.quote-text {
    display: flex;
    height: 80%;
    margin: 5px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 14px;
}

.quote-author {
    height: 10%;
    text-align: center;
    align-items: center;
    color: var(--success-light);
    font-size: 11px;
}

.quote-settings {
    height: 5%;
    text-align: center;
    align-items: center;
    color: var(--text-color);
}

.ball-qoute-1 {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-color-back), 0.5);
    filter: blur(50px);
    top: 10%;
    left: 20%;
}

.ball-qoute-2 {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-color-back), 0.5);
    filter: blur(50px);
    top: 30%;
    left: 50%;
}

.quote-settings-btn {
    padding: 8px;
    border: 1px solid rgba(var(--accent-color), 0.3);
    border-radius: 6px;
    background: rgba(var(--accent-color), 0.1);
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    line-height: 1;
    font-family: Arial, sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
   
    position: absolute; 
    bottom: 10px;    
    z-index: 10;   
}

.center-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px -1px rgba(09, 36, 3, 0.2);
    overflow: hidden;
}

.box.left-quotes:hover .quote-settings-btn {
    opacity: 1;
}

/* Модальное окно */
.quote-container {
    display: flex;
    width: 95%;
    height: 90%;
}

.quote-first-container {
    margin: 5px;
    width: 50%;
    /* border: 1px solid green; */
}

.quote-second-container {
    margin: 5px;
    width: 50%;
    /* border: 1px solid green; */
}

.quote-form {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.quote-text-div {
    width: 40%;
}

.quote-text-input {
    padding: 8px 12px;
    border: 1px solid rgba(var(--accent-color), 0.3);
    border-radius: 6px;
    background: transparent;
    color: var(--text-color);
    font-size: 12px;
    width: 90%;
}

.quote-text-input:focus {
    outline: none;
    /* Убирает стандартную браузерную обводку */
}

.quote-author-div {
    width: 35%;
}

.quote-author-input {
    padding: 8px 12px;
    border: 1px solid rgba(var(--accent-color), 0.3);
    border-radius: 6px;
    background: transparent;
    color: var(--text-color);
    font-size: 12px;
    width: 90%;
}

.quote-author-input:focus {
    outline: none;
    /* Убирает стандартную браузерную обводку */
}

.quote-add-div {
    width: 20%;
}

.quote-add-btn {
    padding: 8px 12px;
    border: 1px solid rgba(var(--accent-color), 0.3);
    border-radius: 6px;
    background: rgba(var(--accent-color), 0.1);
    color: var(--text-color);
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.list-group-quotes {
    max-height: 45vh;
    width: 100%;
    padding: 0px;
    overflow-y: hidden;
    scrollbar-gutter: stable;
}

.list-group-quotes:hover {
    overflow-y: auto;
}

.list-group-quotes::-webkit-scrollbar {
    width: 2px;
}

.list-group-quotes::-webkit-scrollbar-track {
    background: rgba(var(--text-color), 0.1);
    border-radius: 3px;
}

.list-group-quotes::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 3px;
}

.list-group-quote {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(var(--text-color), 0.03);
    border: 1px solid rgba(var(--accent-color), 0.1);
    margin-top: 8px;
    border-radius: 8px;
    width: 92%;
}

.list-quote-text {
    color: var(--text-color);
    width: 60%;
    font-size: 10px;
    font-weight: 700;
    overflow: hidden;
}

.list-quote-author {
    color: rgba(var(--accent-color));
    /* color: var(--text-color); */
    width: 20%;
    font-size: 12px;
}

.quote-delete-btn {
    padding: 8px 12px;
    border: 1px solid rgba(var(--accent-color), 0.3);
    border-radius: 6px;
    background: rgba(var(--accent-color), 0.1);
    color: var(--text-color);
    cursor: pointer;
    height: 100%;
}

/* .trash-icon {
    width: 16px;
    height: 16px;
    filter: invert(0.8);
    transition: all 0.3s ease;
} */

/* Новости цитат */

/* Общие стили блока */
.quote-news {
    /* border: 1px solid white; */
    margin-left: 40px;
    margin-top: 0px;
    padding: 15px;
    height: 100%;
    width: 100%;
}

/* Шапка блока */
.quote-header {
    /* position: relative; */
    margin-bottom: 20px;
    margin-top: 0px;
    color: var(--text-color);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.quote-decor-line {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(var(--accent-color), 0.4) 50%, 
        transparent 100%);
    margin: 10px 0;
}

/* Список советов */
.quote-list {
    overflow-y: hidden;
    scrollbar-gutter: stable;
    width: 100%;
    height: 41vh;
}

.quote-list:hover {
    overflow-y: auto;
}

/* Кастомизация скролла */
.quote-list::-webkit-scrollbar {
    width: 2px;
}

.quote-list::-webkit-scrollbar-thumb {
    background: rgba(var(--accent-color), 0.5);
    border-radius: 3px;
}

.quote-list::-webkit-scrollbar-track {
    background: rgba(var(--text-color), 0.05);
}

/* Карточка совета */
.quote-card {
    background: rgba(var(--primary-color), 0.1);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.quote-card:hover {
    background: rgba(var(--primary-color), 0.15);
}

.quote-icon {
    font-size: 1.6em;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-content h4 {
    color: var(--success-light);
    margin: 0 0 5px 0;
    font-size: 12px;
}

.quote-content p {
    color: var(--text-color);
    /* color: rgba(var(--text-color), 0.8); */
    margin: 0;
    font-size: 10px;
    line-height: 1.4;
}

/* Чекбокс */
/* Скрываем нативный чекбокс */
.quote-check {
    width: 18px;
    height: 18px;
    accent-color: var(--success-light);
    cursor: pointer;
}

/* Мобильные стили для цитат */
@media (max-width: 768px) {
    #quoteModal .modal-content {
        width: 95vw !important;
        max-width: 100vw;
        height: 90vh !important;
        margin: 5vh auto !important;
        padding: 10px;
        box-sizing: border-box;
    }

    .quote-container {
        flex-direction: column;
        width: 100%;
        height: auto;
    }

    .quote-first-container,
    .quote-second-container {
        width: 100% !important;
        margin: 5px 0 !important;
    }

    /* Адаптация формы добавления цитат */
    .quote-form {
        flex-direction: column;
        gap: 10px;
    }

    .quote-text-div,
    .quote-author-div,
    .quote-add-div {
        width: 100% !important;
    }

    .quote-text-input,
    .quote-author-input {
        width: 100% !important;
        box-sizing: border-box;
        font-size: 14px;
        padding: 10px 15px;
    }

    .quote-add-btn {
        width: 100%;
        padding: 12px;
        min-height: 44px; /* Для удобного нажатия */
    }

    /* Стили для списка цитат */
    .list-group-quotes {
        max-height: 30vh;
        width: 100%;
    }

    .list-group-quote {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        width: 93%;
    }

    .list-quote-text,
    .list-quote-author {
        width: 100% !important;
        margin-bottom: 5px;
        font-size: 12px;
    }

    /* Стили для рекомендаций */
    .quote-news {
        margin-left: 0;
        padding: 10px;
    }

    .quote-list {
        height: 30vh;
    }

    .quote-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
    }

    .quote-icon {
        margin-bottom: 8px;
    }

    /* Улучшение заголовка */
    .quote-header {
        font-size: 16px;
        padding-bottom: 15px;
    }

    .quote-decor-line {
        width: 100%;
        margin: 8px auto;
    }

    /* Увеличение шрифтов в карточках */
    .quote-content h4 {
        font-size: 14px;
    }

    .quote-content p {
        font-size: 12px;
    }
}