/* Admin Menu Editor - Sidebar text headings (WordPress-like section labels) */

/* Make text headings non-clickable and visually like a label */
li.ame-heading-text > a,
li.ame-heading-text > a.nav-link {
    pointer-events: none;
    cursor: default;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    /* Better contrast (especially in light admin theme) */
    opacity: 1;
    padding-top: .9rem;
    padding-bottom: .35rem;
}

/* Improve default colors to better match Botble sidebar in both themes */
[data-bs-theme="dark"] li.ame-heading-text > a,
[data-bs-theme="dark"] li.ame-heading-text > a.nav-link {
    color: rgba(255,255,255,.72);
}

[data-bs-theme="light"] li.ame-heading-text > a,
[data-bs-theme="light"] li.ame-heading-text > a.nav-link {
    color: rgba(255,255,255,.78);
}

/* Allow optional icons for text headings (user may pick an icon). */
li.ame-heading-text > a .nav-link-icon,
li.ame-heading-text > a svg,
li.ame-heading-text > a i {
    display: inline-flex;
    opacity: .85;
}

/* Reduce spacing of the title to align like a label */
li.ame-heading-text > a .nav-link-title {
    letter-spacing: .04em;
}

/* Align icons of our synthetic headings with native sidebar icons */
li.ame-heading > a .nav-link-icon,
li.ame-heading-text > a .nav-link-icon,
li.ame-heading-dropdown > a .nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    width: 1.75rem;
}

li.ame-heading > a .nav-link-icon i,
li.ame-heading-text > a .nav-link-icon i,
li.ame-heading-dropdown > a .nav-link-icon i,
li.ame-heading > a i,
li.ame-heading-text > a i,
li.ame-heading-dropdown > a i {
    line-height: 1;
    font-size: 1.1rem;
}


/* Remove hover/active background for text headings (should be plain labels) */
li.ame-heading-text > a:hover,
li.ame-heading-text > a:focus,
li.ame-heading-text > a.nav-link:hover,
li.ame-heading-text > a.nav-link:focus,
li.ame-heading-text > a.nav-link.active,
li.ame-heading-text > a.active {
    background: transparent !important;
    box-shadow: none !important;
}
li.ame-heading-text:hover,
li.ame-heading-text.active {
    background: transparent !important;
}
