/* Bloom Editor Content Styles */

.bloom-content,
.editor-content,
.dynamic-content {
    color: #4B5563;
    /* Slate Gray */
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Custom UL List Styles */
.bloom-content ul,
.editor-content ul,
.dynamic-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 1.5rem;
}

.bloom-content ul li,
.editor-content ul li,
.dynamic-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.bloom-content ul li::before,
.editor-content ul li::before,
.dynamic-content ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: #0B5ED7;
    /* Government Blue */
    font-size: 0.8rem;
}

/* Custom Table Styles */
.bloom-content table,
.editor-content table,
.dynamic-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #D1D5DB;
    /* Light Gray */
}

.bloom-content table thead,
.editor-content table thead,
.dynamic-content table thead {
    background: linear-gradient(to right, #0B5ED7, #0A2540);
    /* Blue to Navy */
    color: white;
}

.bloom-content table th,
.editor-content table th,
.dynamic-content table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    border-bottom: 3px solid #0A2540;
}

.bloom-content table td,
.editor-content table td,
.dynamic-content table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

.bloom-content table tr:last-child td,
.editor-content table tr:last-child td,
.dynamic-content table tr:last-child td {
    border-bottom: none;
}

.bloom-content table tr:hover td,
.editor-content table tr:hover td,
.dynamic-content table tr:hover td {
    background-color: #E7F1FF;
    /* Soft Light Blue */
}

/* Bloom Editor UI Customization */
.bloom-ui.bloom-toolbar {
    border-bottom: 2px solid #0B5ED7 !important;
    background-color: #f9fafb !important;
}

.bloom-ui.bloom-btn:hover {
    color: #0B5ED7 !important;
    background-color: #E7F1FF !important;
}

.bloom-ui.bloom-btn.bloom-active {
    color: #0B5ED7 !important;
    background-color: #E7F1FF !important;
}

.bloom-ui.bloom-editable {
    border: 1px solid #D1D5DB !important;
    border-top: none !important;
}

.bloom-ui.bloom-editable:focus-within {
    border-color: #0B5ED7 !important;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1) !important;
}

/* Responsive Table */
@media (max-width: 768px) {

    .bloom-content table,
    .editor-content table,
    .dynamic-content table {
        display: block;
        overflow-x: auto;
    }
}