/* Summernote Editor */
.note-editor { z-index: 1050 !important; }
.note-toolbar { z-index: 1051 !important; }

/* Fix Summernote Lite modal z-index */
.note-modal {
    z-index: 200000 !important;
    position: fixed !important;
    top: 50% !important; /* Center vertically */
    left: 50% !important; /* Center horizontally */
    transform: translate(-50%, -50%) !important; /* Adjust position */
}

/* Fix backdrop to cover the entire viewport */
.note-modal-backdrop {
    z-index: 199999 !important;
    position: fixed !important;
    top: 0; /* Cover the entire height */
    left: 0; /* Cover the entire width */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
}

/* Toolbar cleanup */
.note-editor select,
.note-toolbar select,
.note-btn.dropdown-toggle,
.dropdown-toggle {
    background-image: none !important;
    background: none !important;
    border-radius: 0 !important;
}

.dropdown-toggle::after { display: none !important; }

.note-dropdown-item h1, 
.note-dropdown-item h2, 
.note-dropdown-item h3, 
.note-dropdown-item h4, 
.note-dropdown-item h5, 
.note-dropdown-item h6 {
    font-size: 20px !important;
}

.note-modal-footer{
    height: 55px !important;
}