/* ============================================
   FictionX Sitemap - Metronic 8 Style
   ============================================ */

/* ---------- Row Hover ---------- */
.fx-smap-row {
    transition: background .15s ease;
}
.fx-smap-row:hover {
    background: var(--bs-gray-100);
}
.fx-smap-row:hover .fx-smap-row-title {
    color: var(--bs-primary) !important;
}
.fx-smap-row-arrow {
    opacity: 0;
    transition: all .15s ease;
}
.fx-smap-row:hover .fx-smap-row-arrow {
    opacity: 1;
    color: var(--bs-primary) !important;
}

/* ---------- Sub Items ---------- */
.fx-smap-sub {
    border-right: 2px solid var(--bs-gray-200);
    margin-right: 20px;
}
[dir="ltr"] .fx-smap-sub {
    border-right: none;
    border-left: 2px solid var(--bs-gray-200);
    margin-right: 0;
    margin-left: 20px;
}
.fx-smap-sub-row {
    transition: background .15s ease;
}
.fx-smap-sub-row:hover {
    background: var(--bs-gray-100);
}
.fx-smap-sub-row:hover span:last-child {
    color: var(--bs-primary) !important;
}

/* ---------- Static Links ---------- */
.fx-smap-static {
    transition: all .2s ease;
}
.fx-smap-static:hover {
    border-color: var(--bs-primary) !important;
    background: var(--bs-light-primary);
}
.fx-smap-static:hover span {
    color: var(--bs-primary) !important;
}

/* ---------- Dark Mode ---------- */
[data-bs-theme="dark"] .fx-smap-row:hover {
    background: var(--bs-gray-200);
}
[data-bs-theme="dark"] .fx-smap-sub-row:hover {
    background: var(--bs-gray-200);
}
[data-bs-theme="dark"] .fx-smap-sub {
    border-color: var(--bs-gray-300);
}
