body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.header-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #0f172a;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
}

.header-user-btn:hover,
.header-user-btn:focus,
.header-user-btn:active {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.header-user-btn::after {
    margin-left: 0.35rem;
}

.header-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background-color: #f1f5f9;
}

.header-user-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-menu {
    min-width: 180px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 0.5rem;
}

.header-user-menu .dropdown-item {
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-size: 0.92rem;
    color: #334155;
}

.header-user-menu .dropdown-item:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.header-user-menu svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 576px) {
    .header-user-name {
        max-width: 72px;
    }

    .header-user-btn {
        padding: 0.4rem 0.65rem;
    }

    .header-user-avatar {
        width: 30px;
        height: 30px;
    }
}


.tree-children.collapsed {
    display: none;
}

.toggle-icon {
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-block;
}

.toggle-icon.rotated {
    transform: rotate(-90deg);
}

.container {
    flex: 1;
}

.site-footer {
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.footer-line {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    padding: 5px 0;
}