* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 0px 5px;
    background-color: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 300px;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-word;
}

.alert-container .alert {
    white-space: normal; /* allow text to wrap */
}


.circle {
    border-radius: 50%;
    padding: 5px;
    border: 1px solid;
}

.side-nav {
    height: calc(100vh);
}

/* .main-content-wrapper {
    height: calc(100vh - 139px);
} */

.sidebar-item.accordion-body {
    position: relative;
    padding-left: 1.5rem;
}

.sidebar-item.accordion-body::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 5px;
    height: 100%;
    border-left: 2px solid #333;
}

.sidebar-item.accordion-body .nav-link {
    position: relative;
    padding-left: 1rem;
}

.sidebar-item.accordion-body .nav-link::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 42%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: #0d6efd;
    border-radius: 50%;
}

.comment {
    position: relative;
}

.like-btn {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.like-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.like-btn .bi {
    transition: all 0.2s;
}

.reply-form {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
}

.accordion-button:focus {
    box-shadow: none;
}

tr td{
    border: 1px solid;
    background-color: transparent !important;
}
/* Editor  */
  
.editor-container {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.toolbar {
    background-color: #f1f1f1;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.toolbar button {
    padding: 8px 12px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    min-width: 40px;
}

.toolbar button:hover {
    background-color: #e9e9e9;
}

.toolbar select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.editor-content {
    min-height: 300px;
    padding: 15px;
    outline: none;
}

.editor-content:focus {
    border: 1px solid #4CAF50;
}
.editor-container .toolbar button.active {
    background-color: #4CAF50 !important;
    color: white;
}

.spellcheck-enabled {
    background-color: #ffeb3b !important;
}

/* Style for lists in the editor */
#editor ul, #editor ol {
    padding-left: 20px;
    margin: 10px 0;
}

#editor ul {
    list-style-type: disc;
}

#editor ol {
    list-style-type: decimal;
}

/* Style for alignment buttons */
#align-left, #align-center, #align-right, #insert-table {
    padding: 5px 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    background: white;
    border-radius: 3px;
}

#align-left:hover, #align-center:hover, #align-right:hover, #insert-table:hover {
    background: #f0f0f0;
}

/* Active state for alignment buttons */
#align-left.active, #align-center.active, #align-right.active {
    background: #e0e0e0;
    border-color: #aaa;
}

/* Table styling */
#editor table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

#editor table, #editor th, #editor td {
    border: 1px solid #ddd;
}

#editor th, #editor td {
    padding: 8px;
    text-align: left;
}


#table-modal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

#table-modal.modal .modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 5px;
    position: relative;
}

#table-modal.modal  .modal-content .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 20px;
}
#table-modal.modal  .modal-content .close:hover {
    color: black;
}

#create-table {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

#create-table:hover {
    background-color: #45a049;
}

/* Table Options */
.table-options {
    display: inline-block;
    margin-left: 10px;
    border-left: 1px solid #ddd;
    padding-left: 10px;
}

.table-options button {
    margin-right: 5px;
    padding: 5px 8px;
}
.side-nav ul li.nav-item .nav-title {
    font-size: 14px;
}
@media (max-width:1300px) {
    .side-nav ul li.nav-item .nav-title {
        font-size: 12px;
    }

    .circle {
        padding: 3px;
        font-size: 12px;
    }
}

@media (max-width:986px) {
    .side-nav ul li.nav-item .nav-title {
        display: none;
    }

    .circle {
        padding: 5px;
        font-size: 15px;
    }

    .editor-content {
        min-height: 200px;
    }
}

@media (max-width:356px) {
    .main-content-wrapper {
        height: calc(100vh - 164px);
    }
}