/* ======== ЗАМЕТКИ (NOTES) ======== */

/* Контент заметки */
.ql-editor, .ql-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.note-header {
    color: #4366a3 !important; 
    font-weight: 500;  
}

/* Список заметок (Sidebar) */
.note-list.list-group {
    margin-left: -12px !important;
    margin-right: -12px !important;
    border: none !important;
}

/* ПРИНУДИТЕЛЬНЫЙ СТИЛЬ ДЛЯ ПУНКТОВ СПИСКА */
.note-list .note-item.list-group-item {
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background-color: transparent !important;
    color: rgb(61, 90, 151);
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    
    
    /* Устанавливаем четкий вес 500, так как промежуточные значения могут игнорироваться */
    font-weight: 500 !important; 
    font-size: 15px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.note-list .note-item.list-group-item:not(.active):hover { 
    background-color: #f8f9fa !important; 
    color: #4a76a8 !important;
}

.note-list .note-item.list-group-item.active {
    background-color: #6e92d2c2 !important; 
    color: #ffffff !important;
    font-weight: 600 !important; /* Активная еще чуть жирнее для контраста */
}

/* ДАТА в списке заметок (точечно) */
.note-list .note-item small {
    font-weight: 500 !important;
    color: #8fa4c1 !important; /* Мягкий цвет для даты */
}

.note-list .note-item.active small {
    color: #e0e9f5 !important; /* Светлый цвет для даты в активной заметке */
}

/* Ссылки */
.ql-editor a {
    color: #4a76a8 !important;
    text-decoration: none !important;
    padding: 0 4px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.ql-editor a:hover {
    color: #2c5a8f !important;
    text-decoration: none !important;
}

body {
    padding-bottom: 50px;
}
