/* ASEMANEEHA 411C */

/* Hidden by user */
body .asem-search-410c
.asem-search-legend-item.asem-411b-off:not(.asem-411b-zero) {
    background: #ffffff !important;
    color: #536273 !important;
    border: 2px dashed #94a3b8 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

body .asem-search-410c
.asem-search-legend-item.asem-411b-off:not(.asem-411b-zero)::before {
    content: "◌";
    color: #64748b;
    margin-inline-end: 6px;
    font-weight: bold;
}

/* Zero results */
body .asem-search-410c
.asem-search-legend-item.asem-411b-zero {
    background: #eef0f2 !important;
    color: #929ba5 !important;
    border: 1px solid #d4d9df !important;
    opacity: .6 !important;
    cursor: not-allowed !important;
    text-decoration: none !important;
}

body .asem-search-410c
.asem-search-legend-item.asem-411b-zero::before {
    content: "⊘";
    margin-inline-end: 6px;
}

/* Enabled */
body .asem-search-410c
.asem-search-legend-item:not(.asem-411b-off):not(.asem-411b-zero) {
    opacity: 1 !important;
    border-style: solid !important;
}

body .asem-search-410c
.asem-search-legend-item:not(.asem-411b-off):not(.asem-411b-zero)::before {
    content: "✓";
    margin-inline-end: 6px;
    font-weight: 900;
}

/* Public menu grid only; no header/footer changes */
div.bg-darkblue-100 > div.grid.grid-cols-11 {
    direction: ltr !important;
}

div.bg-darkblue-100 > div.grid.grid-cols-11 > * {
    direction: rtl;
}

/* Search layout */
main:has(.asem-global-search-results) {
    scroll-margin-top: 100px;
}

@media(max-width:640px) {
    .asem-search-410c .asem-search-legend {
        gap: 8px;
    }
}