html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.my-logo-bg {
    height: 5rem;
    width: auto;
    padding-top: 20px;
}

.nav-item.top > a .nav-link-title,
.nav-item.top > a .nav-link-icon svg {
    color: white;
}

.nav-item.top.dropdown > a {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

    .nav-item.top.dropdown > a:hover {
        background-color: #333;
    }

.dropdown-item {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

    .dropdown-item:hover {
        background-color: #444;
    }

.dropdown-menu.dropdown-menu-end.show .dropdown-item:hover {
    background-color: #eceeff;
}

.dt-search {
    text-align: right;
}

.dt-length {
    text-align: left;
}

.dropdown-item i {
    padding-right: 3px;
}

input.largerCheckbox {
    width: 60px;
    height: 30px;
}

.page-wrapper .page-header {
    margin: 5px;
}

div.scroll {
    margin: 20px auto;
    padding: 15px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    line-height: 1.6;
}

.tox-promotion {
    display: none;
}

.note-toolbar.my {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    width: 100%;
}

    .note-toolbar.my .note-btn-group {
        flex: 1 1 auto;
        min-width: 40px; /* Adjust as needed for minimum button width */
    }

.dropdown-item.show.active {
    color: white;
}

textarea.form-control.big {
    height: 500px;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.note-bg {
    height: 230px;
}

.note-lx {
    height: 460px;
}

.quill-bg {
    height: 230px;
}

.quill-lx {
    height: 460px;
}

/* keep cells on one line so columns don�t �wrap stack� */
table.dataTable.nowrap th,
table.dataTable.nowrap td {
    white-space: nowrap;
}

.text-truncate {
    max-width: 250px; /* adjust to your needs */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-column {
    width: 40px;
}

/* Statistics dashboard */
:root { --table-collapsed-height: 320px; }

#stats-summary .subheader { color: var(--tblr-primary); }
.card-header .card-title  { color: var(--tblr-primary); }

.clipper { position: relative; transition: max-height .35s ease; }
.clipper--collapsed { max-height: var(--table-collapsed-height); overflow: hidden; }
.clipper--expanded  { max-height: 1000vh; }

.clipper--collapsed::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.trending-item { padding: .9rem 1rem; border-bottom: 1px solid var(--tblr-border-color); }
.trending-item:last-child { border-bottom: none; }
.trending-badge { min-width: 2.5rem; text-align: right; font-weight: 600; }