﻿/* =========================
   TREE CONTAINER
========================= */
#tree {
    font-family: "Poppins", sans-serif;
}

/* =========================
   PARENT (DOCUMENT)
========================= */
.oli-tree-parent {
    font-weight: 700; /* bolder but cleaner */
    color: #212529;
}

/* =========================
   CHILD (FILE)
========================= */
.oli-tree-child {
    padding-left: 6px;
    font-weight: 500;
    color: #6c757d; /* gray */
}

/* =========================
   NODE LAYOUT (ICON RIGHT)
========================= */
.oli-tree-node {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Left side (icon + text) */
.node-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================
   VIEW (EYE ICON)
========================= */
.viewFile {
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    color: #6c757d;
    transition: all 0.15s ease-in-out;
}

    /* Hover effect */
    .viewFile:hover {
        background: rgba(50, 137, 59, 0.1); /* OLI green soft */
        color: #32893b;
    }

/* Optional: show icon only on hover */
.viewFile {
    opacity: 0;
}

.oli-tree-node:hover .viewFile {
    opacity: 1;
}


.oli-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    vertical-align: middle;
}

.oli-badge-updated {
    background: rgba(50, 137, 59, 0.15);
    color: #32893b;
}

.oli-badge-outdated {
    background: rgba(108, 117, 125, 0.15);
    color: #6c757d;
}
